Home   Help Search Login Register  

Author Topic: Get back in the car!  (Read 450 times)

0 Members and 1 Guest are viewing this topic.

Offline ZeekLTK

  • Members
  • *
  • I'm a llama!
Get back in the car!
« on: 31 Mar 2003, 00:15:14 »
I have a mission where there is a group of soldiers driving around the country side to random waypoints looking for you. When they spot you they stop the car, get out (all except for the driver), and attack you.

That all works fine, but, if you happen to get away and run into the woods or something, they don't get back in the car. I lost them and then a couple minutes later I saw them again and the guy was still driving the car... but the 3 guys that got out were running behind chasing him! How do I make them get back in when they lose the player and start to drive around again?

Cap

  • Guest
Re:Get back in the car!
« Reply #1 on: 31 Mar 2003, 00:31:01 »
I have a sugestion but there is probably an easier way but....

Have a trigger with.

Condition: (enemy1 distance you > 100) AND (enemy2 distance you > 100) AND (enemy3 distance you > 100)

OnActivation: enemy1 moveincargo enemycar; enemy2 moveincargo enemycar; enemy3 moveincargo enemycar

Just a sugestion hope it helps. Actually i hope it works first. ;D

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Get back in the car!
« Reply #2 on: 31 Mar 2003, 10:48:15 »
Investigate the mysteries of the command knowsabout.

? hunter knowsabout target < 0.5:get back in the car

syntax not guaranteed .... in particular I don't know the range, it could be 0-1 or 1-5, I have no idea.   You'll need to find out.  

Anyway, the point is that once the hunting group don't know about you any more, they get back in the car.
Plenty of reviewed ArmA missions for you to play