OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: xero on 27 Mar 2003, 21:07:21

Title: Gunners
Post by: xero on 27 Mar 2003, 21:07:21
Hi all,
I have a quick question...

I have two soldiers standing guard on a road, and I'd like one of them to get in an empty M2 machine gun when a helicopter flies overhead and engage it (The two soldiers are in a group - 'grp2').

I set up a trigger so the soldier seperates from the group, but I can't make him move to the machine gun and get in, without him automatically starting in there.

Can anyone gimme a hint on what to do, I searched the command ref and the FAQ.

On the same topic, is there a way to give him a waypoint that wont activate until he leaves the group (he's not the leader by the way)?

Thanks in advance :)
Title: Re:Gunners
Post by: Jester on 27 Mar 2003, 21:37:30
*HINT*

Place a waypoint VERY close to the gun and the in the act field put getin, or, movein

You must name the 2 soldiers.

On the "Same Topic"


Yes
Title: Re:Gunners
Post by: dmakatra on 28 Mar 2003, 08:20:54
The easiest way to deal with the other Q is to put this in a cond field:

!(alive NameOfLeader)
Title: Re:Gunners
Post by: xero on 28 Mar 2003, 19:38:35
On the "Same Topic"


Yes

Would you be kind enough to let me in on the secret?   :-*