Background for Skyrim SE
Member of the Actor script
voidfunctionSetAllowFlyingEx(boolabAllowed=true, boolabAllowCrash=true, boolabAllowSearch=false)Native

Description

Wiki Description

Sets whether this actor is allowed to fly or not. If not, and they are flying, will land the actor. This is an extended version of Actor.SetAllowFlying(...).

Documentation Comment

Sets whether this actor is allowed to fly or not - if not, will land the actor


Caveats


Parameters

boolabAllowed=true

CK Wiki Description

Whether to allow the actor to fly or not.

  • Default:True

boolabAllowCrash=true

CK Wiki Description

Whether to allow the use of crash landing markers.

  • Default:True

boolabAllowSearch=false

CK Wiki Description

Whether to allow for a procedural search for a landing spot.

  • Default:False

Examples

; Set Dragon to be allowed to fly, and allow a search
Dragon.SetAllowFlyingEx(abAllowSearch = true)
; Set Emu to not be allowed to fly
Emu.SetAllowFlyingEx(false)

Auto-Generated Example

bool myBool__abAllowed
bool myBool__abAllowCrash
bool myBool__abAllowSearch

myActor__toCallFunctionOn.SetAllowFlyingEx(myBool__abAllowed, myBool__abAllowCrash, myBool__abAllowSearch)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.