Background for Fallout 4
Member of the Actor script
intfunctionGetFlyingState()Native

Description

Wiki Description

Gets the current flying state of this actor, or, if they are riding a flying mount, the fly state of the mount.

Documentation Comment

Obtains this actor's current flight state
0 - Not flying
1 - Taking off
2 - Cruising
3 - Hovering
4 - Landing


Caveats


Examples

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

Auto-Generated Example

int returnedValue = myActor__toCallFunctionOn.GetFlyingState()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.