RemoveAllPerks

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Removes all perks from the calling actor.

  • When called on the player character, this function will remove all perks from the player, unless the optional argument forTeammates is non-zero, in which case it will remove all perks added for teammates.
  • When called on any actor other than the player, this function will only work if the uNPCPerks optional JIP LN feature is toggled in Data\NVSE\plugins\jip_nvse.ini, otherwise it will have no effect. forTeammates will have no effect.

Syntax

[help]
reference.RemoveAllPerks forTeammates:1/0

Example

actorRef.RemoveAllPerks
player.RemoveAllPerks 1