Difference between revisions of "IsTurning"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>SaidenStorm
imported>Ez0n3
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=='''Description'''==
{{Function
|origin = GECK1
|summary = A function and condition used to determine if an Actor is currently turning.
|name = IsTurning
|returnVal = 0, 1, 2
|returnType = int
|referenceType = [ActorRefID]
|example = if BuddyRef.IsTurning == 2
Returns true if Buddy is currently turning to the right.
}}


'''IsTurning''' - Script function and condition used to determine if an Actor is currently turning.
==Notes==
 
=='''Syntax'''==
 
[''ActorREF''.]IsTurning
 
=='''Examples'''==
 
if BuddyRef.IsTurning == 2
Returns true if Buddy is currently turning to the left.
 
=='''Notes'''==
*Return Values:
*Return Values:
**0 - not turning
**0 - not turning
**1 - right
**1 - left
**2 - left
**2 - right
 
 
=='''See Also'''==
[[IsMoving]]


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