wolfGameSetAbility
Wolf Territoriesinteger wolfGameSetAbility(string avatar, string id, list rules)
Add or change a button on the player's action bar: label, icon, cooldown (s), cast (s), cost (a stat) and amount, key (hint), enabled, group (shared cooldown), weapon (a slot whose ammo it uses), ammo (rounds per use), target (1 = refused with "No target" when the player has none), order, channel. A press is checked by the region (cooldown, cast, ammo; the cost is TAKEN when the game's own script set it and it is a stat of the game - never down to the minimum of a stat whose emptiness does something, such as health) and comes back on the channel from the avatar's key under the name "#wolfgame" (listen with llListen(channel, "#wolfgame", avatar, "") - no viewer can chat under that name): cast|id|target, use|id|target, interrupted|id. At most 12.
Parameters
| Type | Name |
|---|---|
| string | avatar |
| string | id |
| list | rules |
How players use it, and more examples: the Wolf Roleplay guide.
Ours alone. Grid features you will not find on any other OpenSimulator grid.