I put a sniper on the top of a tower.
But when the fight begin and sniper started sneak for godd position or what, he fall from the towe and injury/die.
I tried write a script/trigger...
The tower is 15m high.
I inserted a trigger - condition: (getPos sniper select 2) < 15
activation: sniper setPos (snipposx, snipposy,15)
of course, the trigger is repeating. And snipposx, y was detected in the begining of the mission.
But doesn't work.
I printed the (getPos sniper select 2) value to the screen and I found, this value is 0.0002356 and not 15.
Ok I undersand the basic level is the top of the tower and the sniper are on basic level, but the trigger also doesn't triggered, but 0.00023 < 15.
Right! Can you help me? Any other idea, how can I stay the sniper in the tower?