ScriptEvent:giveProficiency

From Mod Wiki

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.