Background for Skyrim SE
Member of the Actor script
voidfunctionSetAllowFlying(boolabAllowed=true)Native

Description

Wiki Description

Sets whether this actor is allowed to fly or not. If not, and they are flying, will land the actor.

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

Examples

; Set Dragon to be allowed to fly
Dragon.SetAllowFlying()
; Set Emu to not be allowed to fly
Emu.SetAllowFlying(false)

Auto-Generated Example

bool myBool__abAllowed

myActor__toCallFunctionOn.SetAllowFlying(myBool__abAllowed)

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.