Home   Help Search Login Register  

Author Topic: Conditions  (Read 591 times)

0 Members and 2 Guests are viewing this topic.

Offline Mikeyfish90210

  • Members
  • *
  • HEY STOP TAKING SO LONG TO ANSWER SIMPLE THREADS
Conditions
« on: 02 Mar 2005, 17:03:36 »
Ok i have one unit with a load of move waypoints. So basically this unit is patroling a wall then i want the player to be able to do something i.e. blow a car up that will cause the unit to give up doing his normal waypoint and move to the car for investigation, any ideas????
MIkEy FIshY BoyY YabDAO

Offline Blanco

  • Former Staff
  • ****
Re:Conditions
« Reply #1 on: 02 Mar 2005, 17:31:37 »
He is patrolling, you say?
So a bunch of move wp and 1 Cycle wp.
After that cycle wp place a move wp on top of the car.


Now use a bolean like blowncar when set to true when the car is destroyed.

Now place a trigger, type SWITCH and syncronise it with that Cycle wp.
in the condition of the trigger :  blowncar

That's all.
Also read about SWITCH triggers, they are very usefull  :)
http://www.ofpec.com/editors/resource_view.php?id=475




« Last Edit: 02 Mar 2005, 17:34:22 by Blanco »
Search or search or search before you ask.

Offline Mikeyfish90210

  • Members
  • *
  • HEY STOP TAKING SO LONG TO ANSWER SIMPLE THREADS
Re:Conditions
« Reply #2 on: 04 Mar 2005, 17:16:24 »
ah cheers that works, thankyou :)
MIkEy FIshY BoyY YabDAO