Mod:Creation Kit/SetAllowFlying - Actor

Member of: Mod:Creation Kit/Actor Script

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

Syntax
Function SetAllowFlying(bool abAllowed = true, bool abAllowCrash = true, bool abAllowSearch = false) native

Parameters

 * abAllowed: Whether to allow the actor to fly or not.
 * Default: True
 * abAllowCrash : Whether to allow the use of crash landing markers.
 * Default: True
 * abAllowSearch : Whether to allow for a procedural search for a landing spot.
 * Default: False

Return Value
None.

Examples
Dragon.SetAllowFlying Emu.SetAllowFlying(false, abAllowSearch = true)
 * Set Dragon to be allowed to fly
 * Set Emu to not be allowed to fly, and will search for a landing spot