A_SetSpeed

From ZDoom Wiki
Jump to: navigation, search

A_SetSpeed (float speed [, int pointer])

Usage

Changes the calling actor's or the pointed to actor's speed to speed. It can be used with the speed DECORATE variable to modify the actor's current speed. Note that changing a projectile's speed will not affect it's velocity unless it is a seeker missile.

Parameters

  • speed: The value to set the actor's speed to.
  • pointer: The actor to change its speed. This is an actor pointer. Default is AAPTR_DEFAULT, which corresponds to the calling actor.

Examples

Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.