AddPerk

From the Fallout3 GECK Wiki
Revision as of 17:54, 8 March 2009 by imported>Cipscis (Updated to use function template)
Jump to navigation Jump to search
< [[::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

[help]
Actor.AddPerk PerkID:ref

Example

BuddyRef.AddPerk LittleSlugger

Buddy now has the benefits of the little slugger perk.

See Also

RemovePerk