Stop: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Undo revision 2182 by Printz (Talk) Why the hell did I do that?)
No edit summary
 
Line 1: Line 1:
'''Stop''' (void)
{{codepointer|description=Causes an object to completely stop all movement by setting velocity to 0.
|usage='''Stop'''
|notes=This zeroes the velocity (as it's used by projectiles and thrusted objects or actors). It won't stop a monster's [[Chase]] movement.


==Usage==
Under the Decorate-style syntax, you must use its complete name ('''A_Stop'''). Otherwise it will be interpreted as the '''stop''' keyword.}}
Stop is a codepointer which causes an object to completely stop all movement by setting all three of its momentum values to 0.
 
[[Category:Codepointers]]

Latest revision as of 04:57, 14 June 2020

Description

Causes an object to completely stop all movement by setting velocity to 0.

Usage

Stop

Parameters

No parameters.

Examples

No examples given.

Notes

This zeroes the velocity (as it's used by projectiles and thrusted objects or actors). It won't stop a monster's Chase movement.

Under the Decorate-style syntax, you must use its complete name (A_Stop). Otherwise it will be interpreted as the stop keyword.

See also