Difference between revisions of "AddPerk"
Jump to navigation
Jump to search
Updated to use function template
imported>Cipscis (Undo revision 13439 by Pshieldsy19 (Talk)) |
imported>Cipscis (Updated to use function template) |
||
Line 1: | Line 1: | ||
= | {{Function | ||
|origin = GECK1 | |||
|summary = 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. | |||
|referenceType = Actor | |||
|arguments = {{FunctionArgument | |||
|Name = PerkID | |||
|Type = ref | |||
}} | |||
|example = BuddyRef.AddPerk LittleSlugger | |||
Buddy now has the benefits of the little slugger perk. | Buddy now has the benefits of the little slugger perk. | ||
}} | |||
=='''See Also'''== | =='''See Also'''== | ||
[[RemovePerk]] | [[RemovePerk]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
[[Category:Player Functions]] | [[Category:Player Functions]] | ||
[[Category:Perk]] | [[Category:Perk]] |