IsFlying - Actor

From the Fallout4 CreationKit Wiki
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]