Forum Jump :

Author Message

Posts: 76

Level: Member

Country: au
Occupation: Student/DIY minor scripter
Age: 25
In-game name: Drew

#1 Posted at 2012-09-14 08:08        
Hi, I am currently doing a part to a mission where 3 groups of enemy infantry and then three tanks go to a friendly base and try to take it over. I want to make it so that after the tanks are all dead, your group changes it's HOLD waypoint to a MOVE waypoint. I have used the !alive function before but don't know how to apply it in relation to this scenario.

=Foxhound]You can add 250.004 smileys to your post but not a proper title and proper info?[/quote]

Author Message


Posts: 1547

Level: Member

Country: us
Location: Atlanta, GA
Occupation: IT
Age: 46
In-game name: kylania

#2 Posted at 2012-09-14 14:32        
Have a trigger with condition of:

!alive tank1 && !alive tank2 && !alive tank3

Set it's Type to Switch and synch the trigger to the HOLD waypoint. When all three tanks are dead it'll release the hold waypoint. You can't change it from HOLD to MOVE though, you'd have the MOVE already plotted.

Also, this is another example of why waypoints for players are silly because a HOLD waypoint won't do anything for a player and I'm fairly certain any AI with the player will follow the player instead of the waypoint.