SetAllowFlying - Actor

Revision as of 15:27, 18 October 2011 by imported>Rhavlovick (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Member of: Actor Script

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

SyntaxEdit

Function SetAllowFlying(bool abAllowed = true) native

ParametersEdit

  • abAllowed: Whether to allow the actor to fly or not.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Set Dragon to be allowed to fly
Dragon.SetAllowFlying()


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

See AlsoEdit