Difference between revisions of "IsMoving"
Jump to navigation
Jump to search
imported>Geckbot m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1))) |
imported>Ez0n3 |
||
Line 1: | Line 1: | ||
== | {{Function | ||
|origin = GECK1 | |||
|summary = A script function and condition used to determine if an Actor is currently requesting to move. | |||
|name = IsMoving | |||
= | |referenceType = [ActorRefID] | ||
|returnType = int | |||
[ | |example = if BuddyRef.IsMoving == 4 | ||
if BuddyRef.IsMoving == 4 | |||
Returns true if Buddy is currently requesting to move to the right. | Returns true if Buddy is currently requesting to move to the right. | ||
}} | |||
== | ==Notes== | ||
*Return Values: | *Return Values: | ||
**0 - not moving | **0 - not moving | ||
Line 20: | Line 17: | ||
**4 - right | **4 - right | ||
==See Also== | |||
== | *[[IsTurning]] | ||
[[IsTurning]] | |||
[[Category:Functions]] | [[Category:Functions]] |
Latest revision as of 10:05, 11 January 2011
< [[::Category:Functions|Category:Functions]]
A function included in the GECK version 1.1.0.36.
Description
A script function and condition used to determine if an Actor is currently requesting to move.
Syntax
(int) [ActorRefID].IsMoving
Example
if BuddyRef.IsMoving == 4
Returns true if Buddy is currently requesting to move to the right.
Notes
- Return Values:
- 0 - not moving
- 1 - forward
- 2 - backward
- 3 - left
- 4 - right