GetActorSkill
The level SetActorSkill gave one of an actor’s skills.
Syntax
Section titled “Syntax”GetActorSkill(id, skill)| Parameter | Type | |
|---|---|---|
id |
number | the actor |
skill |
string | the skill’s name |
Returns
Section titled “Returns”number | nil - the level; nil when the mode never set it
Example
Section titled “Example”local level = GetActorSkill(id, "defense") or 0See also
Section titled “See also”SetActorSkill · the NPC actors group of the index
