ScriptEvent:giveProficiency

From Mod Wiki
Revision as of 17:04, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

integer type -- Index of the proficiencyType.
float scale -- Multiplier on the XP count.
object task -- Task that the XP is being given for, if any.
string reason -- Reason to store in log.

Result

None.

Supported By

idPlayer

Comments

  • If a task is supplied, XP will also be awarded to other players on that task.

Functionality

Gives XP to the player in the specified category.