SetPlayerExpelled - Faction

Member of: Faction Script

Sets or clears the expelled flag from this faction for the player.

SyntaxEdit

Function SetPlayerExpelled(bool abIsExpelled = true) native

ParametersEdit

  • abIsExpelled: True if the player should be expelled, false if the player should be let back in.
    • Default: True

Return ValueEdit

None.

ExamplesEdit

; Expell the player from the cool kids faction
CoolKidsProperty.SetPlayerExpelled()


; Let the player back in to the cool kids faction
CoolKidsProperty.SetPlayerExpelled(false)

See AlsoEdit