Stop: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
 
(One intermediate revision by the same user not shown)
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.}}
Sets the object's momentum 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