AddPerk

Revision as of 12:06, 13 April 2009 by imported>DewiMorgan (→‎Notes: +note it's not in the TES4 wiki; debolding titles)
< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

Increments the rank of the specified perk on an Actor. If the specified Actor doesn't already have the perk, then it will be added with rank 1.

Syntax

Actor.AddPerk PerkID:ref

Example

BuddyRef.AddPerk LittleSlugger

Buddy now has the benefits of the little slugger perk.

Notes

  • This function is new in the GECK, and was not available in the TES4 Construction Set.

See Also

RemovePerk