A_ScaleVelocity
From ZDoom Wiki
A_ScaleVelocity (float scale)
- scale: Amount to scale the actor's current velocity by.
A_ScaleVelocity multiplies the calling actor's velocity on each axis by the value of the first parameter. It can be used to "speed up" or "slow down" an actor.
Examples
This lazy rocket slows down and eventually stops.
actor LazyRocket : Rocket
{
States
{
Spawn:
MISL A 1 bright A_ScaleVelocity(0.95)
Loop
}
}