Difference between revisions of "IsMoving"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>Ez0n3
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
 
|origin = GECK1
'''IsMoving''' is a script function and condition used to determine if an Actor is currently requesting to move.
|summary = A script function and condition used to determine if an Actor is currently requesting to move.
 
|name = IsMoving
=='''Syntax'''==
  |referenceType = [ActorRefID]
 
|returnType = int
  [''ActorREF''.]IsMoving
  |example = if BuddyRef.IsMoving == 4
 
=='''Examples'''==
 
  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'''==
==Notes==
*Return Values:
*Return Values:
**0 - not moving
**0 - not moving
Line 20: Line 17:
**4 - right
**4 - right


 
==See Also==
=='''See Also'''==
*[[IsTurning]]
[[IsTurning]]
 
=='''Reference'''==
None provided.
<!-- [[IsMoving_Reference|List of functions that use IsMoving]]  (wiki) -->


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.1)]]
[[Category:Condition Functions]]
[[Category:Condition Functions]]
[[Category:Condition Functions (GECK 1.1)]]

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

[help]
(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

See Also