A SetFloatSpeed

From ZDoom Wiki
Jump to: navigation, search

A_SetFloatSpeed (float speed [, int pointer])

Usage

Changes the calling actor's pointer's FloatSpeed property, which is the speed of an actor's ascending and descending speed while floating and chasing an enemy.

Parameters

  • speed: The value to set the actor's float 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.