Difference between revisions of "AddPerk"
no edit summary
imported>Artisten (→Notes: Perk issue fixed in v1.5 of FO3) |
imported>JT |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
== | {{Function | ||
|origin = GECK1 | |||
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. | |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. | ||
|name = AddPerk | |||
= | |returnType = void | ||
|referenceType = [ActorRefID] | |||
|arguments = | |||
{{FunctionArgument | |||
== | |Name = PerkID | ||
|Type = ref | |||
BuddyRef.AddPerk LittleSlugger | }} | ||
|example = BuddyRef.AddPerk LittleSlugger | |||
Buddy now has the benefits of the little slugger perk. | Buddy now has the benefits of the little slugger perk. | ||
}} | |||
==Notes== | ==Notes== | ||
Line 25: | Line 26: | ||
==See Also== | ==See Also== | ||
[[RemovePerk]] | *[[RemovePerk]] | ||
*[[HasPerk]] | |||
[[Category:Functions]] | [[Category:Functions]] |