Author Topic: Zombies go crazy if I set a delay.  (Read 290 times)

I made an evelnt like this:

3000  OnActivate->Self->SetVehicle->Standard Bot

     0   OnBotTouch ->Bot->AddVelocity [5]

Now, I think that's how its supposed to be. Now when I activate it, the bot spawns three seconds after, as planned, but he gets about 500 velocity, and not 5, as it is supposed to do.

? Theres 3 Slots.

[   ] [   ] [   ]
 ^1  ^2  ^3

You, put it in the 3rd slot. Correct?


? Theres 3 Slots.

[   ] [   ] [   ]
 ^1  ^2  ^3

You, put it in the 3rd slot. Correct?

No...he put it like

[ 5 ] [ 0 ] [ 0 ]
 ^1  ^2  ^3

I presume.


Your problem is the 'addvelocity' bit.
As long as the zombie touches the spawn, it will add new velocity, increasing until it no longer touches.
The solution is to use 'setvelocity' which sets it to an amount straight away and will maintain that value.