Difference between revisions of "ScriptEvent:getXP"
From Mod Wiki
(No difference)
|
Latest revision as of 17:03, 5 November 2007
Parameters
integer index -- Index of the proficiencyType, or -1. boolean fromBase -- If set, only the XP from this map will be returned.
Result
Supported By
idPlayer
Comments
- If the index is -1, the overall total XP will be returned.
- If the index is otherwise out of range, the game will likely crash or return garbage data.
- The fromBase setting only matters in campaign mode, and does not apply when the index is -1.
Functionality
Returns the amount of XP the player has been awarded in the specified proficiencyType.