Use Skill
Use Skill¶
Activates a skill from a hero's skill slot, targeting either a specific hero or the entire party.
Properties¶
System¶
| Name | Explanation | Type |
|---|---|---|
| Hero | The hero to target with the skill. | Character |
| Hero | When enabled, the skill targets a specific hero. When disabled, the skill targets all party members. | Toggle |
| Result | The switch to store whether the skill use succeeded. | Switch or Value |
| Skill | The skill slot to use. | Skill |
| Store Results | When enabled, the result of using the skill is stored in a switch. | Toggle |
Examples¶
Use a Skill Slot on Hero 0¶
This activates skill slot 0 targeting hero 0.
{"Data":{"Result":{"IsGlobalSwitch":true,"IsLocalSwitch":false,"IsValue":false,"Value":false,"SwitchIndex":0,"Metadata":null},"SkillSlot":{"ReferenceType":0,"Index":0,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"StoreResults":false,"Target":{"ReferenceType":0,"Index":0,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"UseOnHero":true,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Skill.UseSkillCommand"}
Use a Skill Slot on the Entire Party¶
This activates skill slot 0 targeting all members of the active party.
{"Data":{"Result":{"IsGlobalSwitch":true,"IsLocalSwitch":false,"IsValue":false,"Value":false,"SwitchIndex":0,"Metadata":null},"SkillSlot":{"ReferenceType":0,"Index":0,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"StoreResults":false,"Target":{"ReferenceType":0,"Index":0,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"0","VariableIndex":0,"Metadata":null},"Metadata":null},"UseOnHero":false,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Skill.UseSkillCommand"}
Use a Skill Slot on Hero 2 and Store the Result¶
This activates skill slot 1 targeting hero 2 and stores whether the skill use succeeded in Global Switch 0.
{"Data":{"Result":{"IsGlobalSwitch":true,"IsLocalSwitch":false,"IsValue":false,"Value":false,"SwitchIndex":0,"Metadata":null},"SkillSlot":{"ReferenceType":0,"Index":1,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"1","VariableIndex":0,"Metadata":null},"Metadata":null},"StoreResults":true,"Target":{"ReferenceType":0,"Index":2,"IsUniqueID":true,"Identifier":{"IsGlobalVariable":false,"IsLocalVariable":false,"IsValue":true,"Value":"2","VariableIndex":0,"Metadata":null},"Metadata":null},"UseOnHero":true,"Metadata":null},"TypeName":"MAR.Game.RPGCore.Models.Scripts.Commands.Skill.UseSkillCommand"}