Home   Help Search Login Register  

Author Topic: road checkpoints (guarding soldiers)  (Read 1019 times)

0 Members and 1 Guest are viewing this topic.

vectordude

  • Guest
road checkpoints (guarding soldiers)
« on: 29 Sep 2002, 08:51:42 »
how do i get a car to stop at a checkpoint on the road where soldiers check the car and then let them through?

i tried doin something like dostop.........but they sit there forever

then put this domove[1,1,1] after that and they go on after sitting for a few minutes.

maybe a radio of some sort?

seanver

  • Guest
Re:road checkpoints (guarding soldiers)
« Reply #1 on: 29 Sep 2002, 12:44:43 »
Create a waypoint at the checkpoint with a condition that will be 'activated' (condition=true) when you want the car to continue.

Besides you can try to put unit stop true and unt stop false

Bronski

  • Guest
Re:road checkpoints (guarding soldiers)
« Reply #2 on: 29 Sep 2002, 19:03:18 »
One way to get the car to stop would be to lock the waypoint after the roadblock, i am assuming that there would be a waypoint at the roadblock.

You could then lock the waypoint after the one at the roadblock.  Then have it time out so after a few seconds or however long the waypoint would unlock.

I'm not sure how to exactly do that but that is what i would try and do.

Kaliyuga

  • Guest
Re:road checkpoints (guarding soldiers)
« Reply #3 on: 29 Sep 2002, 19:46:46 »
 Yeah make them have a waypoint that is right where you want them to stop for the checkpoint.. then in the min/mid/max  fields for the countdown/timeout function add a few seconds.. this will make them hold there for the given amount of time before moving on to the next waypoint ;)
:toocool:

Bronski

  • Guest
Re:road checkpoints (guarding soldiers)
« Reply #4 on: 29 Sep 2002, 20:07:30 »
I forgot you could do the min/max/mid thing.  Makes things even more simple.