OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: dmakatra on 23 Jan 2003, 16:29:12

Title: He´s on our land! Kick his ass!
Post by: dmakatra on 23 Jan 2003, 16:29:12
Hi! Can you help me with this 1, plz?

On a radio command, some AT soldiers launch an attack. I want the attack to be like this:

A tank enters a trigger, a message appears and the player sends a radio code. Now, I want the AT soldiers to hunt down and kill all the tanks who are in the area of another trigger. I donÂ't want em to attack the soldiers if not neccesary, just the tanks. After all of the tanks are dead I want another trigger to be activated.

how do you do the hunt-em-down-and-when-all-tanks-in-that-area-are-dead-activate-a-trigger?
Title: Re:His on our land! Kick his ass!
Post by: Artak on 23 Jan 2003, 16:50:30
You think a 'destroy' waypoint/s would help if you made it right on top of the tank/s?

select your at guy and select waypoint. then double click on top of the tank and the waypoint should become 'sticky' or more like attach with the tank.

you can get the trigger activated by a) naming all the tanks and b) putting this into the condition field of the trigger:

not (alive tank1) and not (alive tank2) ... continuing till you run out of tanks.
Title: Re:His on our land! Kick his ass!
Post by: dmakatra on 23 Jan 2003, 17:12:12
I knew that, the tanks will drive in randomly, on their way through your lines. You donÂ't know wich tanks that will reach the trigger.

If youÂ're good enough, none ;D.
Title: Re:He´s on our land! Kick his ass!
Post by: LCD on 23 Jan 2003, 18:05:03
dofire and dotarget commands r ur way :P

LCD OUT
Title: Re:He´s on our land! Kick his ass!
Post by: dmakatra on 23 Jan 2003, 19:02:04
perhaps, but how? I donÂ't know what tanks that are in the trigger.