Home   Help Search Login Register  

Author Topic: triggered way point  (Read 965 times)

0 Members and 1 Guest are viewing this topic.

loki00000

  • Guest
triggered way point
« on: 02 Feb 2004, 03:11:21 »
i know this is probably a dumb q, but its been drivin me nuts, i need to have a m60 make a counter attack on a town as soon as the russians move in, if yall could send me a quick reply as to how to triger this, thanx.

Kilo11

  • Guest
Re:triggered way point
« Reply #1 on: 02 Feb 2004, 03:29:29 »
Well I have a simple solution:

Name the M60 "tank1".  In the M60's Initiization Field put the following:

this setFuel 0

Give it the EXACT waypoint you want it to have for the counter attack and give it nothign mroe then that.

Make a trigger now and put all the Axis to 0.  Fill in the rest of the trigger as follows:

Condition Field: What ever you want to activate  the tank to move (i.e. - if a specific unit dies you woudl use "not alive xxx" but just fill in the "xxx" with the name of the unit.)

On Activation: tank1 setFuel 1

There you have it.  Hope this helps.

-=Kilo=-

Offline Captain Crunch

  • Members
  • *
Re:triggered way point
« Reply #2 on: 02 Feb 2004, 03:35:25 »
I like dumb questions!! Cos at least "I" can answer those!! Hehe!!

   I'm not quiet sure how You exactly want it but here is an idea!

In the russian group's waypoint, the one where they are holding the area, in the "On Activation" field, type:

Code: [Select]
CounterAttack = True
Now put a waypoint for Your M-60 straight in front of him (almost over him) and in the "Condition" field type:

Code: [Select]
CounterAttack
Then add to Your M-60 a second waypoint where You want him to counter attack.

That should work!

 :)
« Last Edit: 02 Feb 2004, 03:38:35 by Captain Crunch »
Back to the forest!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:triggered way point
« Reply #3 on: 02 Feb 2004, 11:40:16 »
Give the tank a HOLD waypoint at his forming up point.   Give him whatever waypoints you want around the town.

Create a trigger over the town, activated by East present.   Make the trigger type switch.  Synchro the trigger to the tank's hold waypoint.

This is a classic trigger question.    Head over to the Editors Depot and read some of the tutes that cover triggers.  (Which is not to say that the solutions already suggested won't work, because they will.  But I always say, why write lines of code when you don't have to?)
Plenty of reviewed ArmA missions for you to play