IsFlying - Actor

From the Fallout4 CreationKit Wiki
Revision as of 15:27, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: Actor Script

Returns if this actor is currently flying or not.

Syntax[edit | edit source]

bool Function IsFlying() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is flying or not.

Examples[edit | edit source]

; 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[edit | edit source]