Difference between revisions of "IsTurning"
Jump to navigation
Jump to search
imported>SaidenStorm |
imported>Ez0n3 |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | {{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. | |||
}} | |||
==Notes== | |||
== | |||
*Return Values: | *Return Values: | ||
**0 - not turning | **0 - not turning | ||
**1 - | **1 - left | ||
**2 - | **2 - right | ||
== | ==See Also== | ||
*[[IsMoving]] | |||
[[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
(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