I lost all the day in trying to make a gate. Help me, please?!?
#2

You need to check if IsPlayerInRangeOfPoint of the barrier object and if the player is a cop, then Move(Dynamic)Object in a Timer.

Timers can cause bugs though, say 2 cops enter the area, so you should add a variable that sets to one if the gate is already opening, and set it back to zero when it closes.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)