Difference between revisions of "IsTurning"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Ez0n3
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
 
|origin = GECK1
'''IsTurning''' - Script function and condition used to determine if an Actor is currently turning.
|summary = A function and condition used to determine if an Actor is currently turning.
 
|name = IsTurning
=='''Syntax'''==
|returnVal = 0, 1, 2
 
|returnType = int
  [''ActorREF''.]IsTurning
  |referenceType = [ActorRefID]
 
|example = if BuddyRef.IsTurning == 2
=='''Examples'''==
 
if BuddyRef.IsTurning == 2
Returns true if Buddy is currently turning to the right.
Returns true if Buddy is currently turning to the right.
}}


=='''Notes'''==
==Notes==
*Return Values:
*Return Values:
**0 - not turning
**0 - not turning
Line 18: Line 16:
**2 - right  
**2 - right  


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


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

Latest revision as of 06:46, 12 January 2011

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

A function and condition used to determine if an Actor is currently turning.

Syntax

[help]
(0, 1, 2:int) [ActorRefID].IsTurning

Example

if BuddyRef.IsTurning == 2

Returns true if Buddy is currently turning to the right.

Notes

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

See Also