Talk:HasPerk

From the Fallout3 GECK Wiki
Jump to navigation Jump to search

Return Value[edit source]

It seems as though HasPerk doesn't actually return the player's rank in the specified perk, it only ever returns 1 (if player's rank in perk is greater than 0) and 0 (player doesn't have the perk). Here's a link to my post on the Bethesda Fallout forums and a link to Kelenius's Post for a workaround.
-cscottydont- 27 February 2009

Sorry about the confusion, I just tested HasPerk in the console and in a script and it looks like it correctly returns the rank when used in the console, but only returns 0 or 1 when used in a script.
Oh, and in future please sign your posts with ~~~~
-- Cipscis 03:55, 28 February 2009 (UTC)