======Skill Slot====== ---- A **skill slot** is a [[widget]] element for assigning a [[skill]] to (for example, a healing spell or physical ability). =====Element Properties===== ^Icon^Property^Description^ |{{:wiki:tag_id.png?nolink|}}|Element ID|ID for the skill slot. This ID must be unique amongst other elements within the same [[widget]]. It is currently auto-generated but will be editable in a future update.| =====Scripting===== You can access certain properties of a skill slot from a [[script]] by simply referencing the parent [[widget]] and the element by their unique IDs. See below for examples of assigning a [[skill]] to the built-in skill bar. In this case, we are assuming that "SKILL_0001" is defined in the [[Stats Editor]], the [[skill]] has been given to the player via the [[Give Skill]] function, and the skill slot has an ID of "0001". **Assigning a skill to a skill slot:** widget["skill_bar"].element["0001"].skill = "SKILL_0001"; ~~NOTOC~~