Stop: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(3 intermediate revisions by 2 users 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.}}
Stop is a miscellaneous codepointer. This codepointer causes an object to completely stop all movement.
 
[[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