OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting Multiplayer => Topic started by: ICMTRIGGER on 04 Oct 2003, 19:02:39

Title: How would i make and enemy come to me
Post by: ICMTRIGGER on 04 Oct 2003, 19:02:39
if i have a group of west soilder coming in on a boat how would i make the east soilder wait till the west soilders hit the trigger. if you could help i'd appreciate it  ;D thank you
Title: Re:How would i make and enemy come to me
Post by: -Omega- on 04 Oct 2003, 19:36:29
Hmmm....

What is the East soldier waiting to do?

Are you meaning that the West soldiers are landing on the shore from a boat, and after they activate a trigger the East attacks them?...

If that's the case, you need to give the East soldiers a waypoint away from where the boat lands, and in the Condition field replace "true" with "wp1==1" without the quotes. That will make the group stop at that waypoint.
Then, in the On Activation field of your trigger, put "wp1=1" without the quotes, and the East will continue on their waypoint path to attack the boat.

Hope that's what you're asking for...
Title: Re:How would i make and enemy come to me
Post by: Harkonin on 06 Oct 2003, 07:56:05
Or if thats too complicated for you symply Synch their waypoint with a trigger activated by theboat landing.
Title: Re:How would i make and enemy come to me
Post by: Hawkins on 06 Oct 2003, 12:41:30
OR ;D

Place a gamelogic and name it beach
Then just place a group of east soldiers and name the leader off1
And on the triggers on activation: off1 move getpos beach
With a few adjustments you could make the east men get down when the player spots them and so on. ;)

Hawkins