GetFlyingState - Actor

From the CreationKit Wiki
Revision as of 15:26, 18 October 2011 by imported>Rhavlovick (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

Gets the current flying state of this actor.

Syntax[edit | edit source]

int Function GetFlyingState() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

The current flying state of the actor, which may be one of the following:

  • 0: Not flying
  • 1: Taking off
  • 2: Cruising
  • 3: Hovering
  • 4: Landing

Examples[edit | edit source]

; Is the dragon hovering?
if (Dragon.GetFlyingState() == 3)
  Debug.Trace("The dragon is currently hovering")
endIf

See Also[edit | edit source]