Difference between revisions of "AddPerk"

84 bytes added ,  01:09, 13 January 2011
no edit summary
imported>Artisten
(→‎Notes: Perk issue fixed in v1.5 of FO3)
imported>Ez0n3
Line 1: Line 1:
=='''Description'''==
{{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
=='''Syntax'''==
|returnType = void
 
  |referenceType = [ActorRefID]
  ''[ActorID.]''AddPerk ''PerkID''
|arguments =
 
  {{FunctionArgument
=='''Examples'''==
  |Name = PerkID
 
  }}
  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 25:


==See Also==
==See Also==
[[RemovePerk]]
*[[RemovePerk]]


[[Category:Functions]]
[[Category:Functions]]
Anonymous user