Difference between revisions of "IsTurning"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Kkuhlmann
 
imported>SaidenStorm
Line 10: Line 10:


  if BuddyRef.IsTurning == 2
  if BuddyRef.IsTurning == 2
Returns true if Buddy is currently turning to the right.
Returns true if Buddy is currently turning to the left.


=='''Notes'''==
=='''Notes'''==
*Return Values:
*Return Values:
**0 - not turning
**0 - not turning
**1 - left
**1 - right
**2 - right
**2 - left





Revision as of 19:41, 12 December 2008

Description

IsTurning - Script function and condition used to determine if an Actor is currently turning.

Syntax

[ActorREF.]IsTurning

Examples

if BuddyRef.IsTurning == 2

Returns true if Buddy is currently turning to the left.

Notes

  • Return Values:
    • 0 - not turning
    • 1 - right
    • 2 - left


See Also

IsMoving

Reference

None provided.