Thread: Screen mover
View Single Post
Old 08-16-2008, 08:14 PM   #7 (permalink)
Jetfusion
BattleForums Junior Member
 
Jetfusion's Avatar
 
Join Date: Aug 2007
Location: NY/HI
Posts: 44
Re: Screen mover

What do you mean like how it follows the observer that is done by a series of triggers like this

(all the trigger)

Code:
Trigger("Player 8"){
Conditions:
    Always();

Actions:
    Move Location("Player 8", "Protoss Observer", "Anywhere", "Observer");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
    Switch("Switch1", set);

Actions:
    Center View("Observer");
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
    Command("Player 1", "Zerg Zergling", Exactly, 1);

Actions:
    Set Switch("Switch1", set);
}

//-----------------------------------------------------------------//

Trigger("Player 1"){
Conditions:
    Deaths("Player 1", "Zerg Zergling", Exactly, 1);

Actions:
    Set Switch("Switch1", clear);
}

//-----------------------------------------------------------------//
__________________


Jetfusion is offline   Reply With Quote