voidfunctionSetAllowFlying(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.
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
Dragon.SetAllowFlying(); Set Emu to not be allowed to fly, and will search for a landing spot
Emu.SetAllowFlying(false, abAllowSearch = true)Auto-Generated Example
bool myBool__abAllowed
bool myBool__abAllowCrash
bool myBool__abAllowSearch
myActor__toCallFunctionOn.SetAllowFlying(myBool__abAllowed, myBool__abAllowCrash, myBool__abAllowSearch)Related Pages
Additional References
View this function’s page on the Fallout 4 Creation Kit Wiki
