IsFlying - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Returns if this actor is currently flying or not.

Syntax

bool Function IsFlying() native

Parameters

None.

Return Value

Whether this actor is flying or not.

Examples

; Is the pig flying?
Actor Pig = Pig_Alias.GetReference() as Actor
if (Pig.IsFlying())
  Debug.Trace("Pigs are flying! Better check your stocks...")
endIf

See Also