cast_function
Table of Contents
Scripting - Cast function
Here can find some information about Enhanced Scripting function about cast spell and ability. Note that the optional targeted form is not available on all servers. If the optional targeted form DOES work on your server, you still have to wait after casting with Misc.Pause(…) for whatever the cast time should be. The server wont accept other commands until the cast time has completed.
Magery
Cast Spell | |
Syntax | Spells.Cast(string SpellName [,item or int target]) |
Description: | |
Cast the spell specified, the spellname doesn't have to be spelled exactly. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. Note that this form can cast any of the classes of spell (Necro Mage…). | |
Returns | none |
In Object: | Items |
Parameters: | String SpellName, optionally Item or Int for a target |
Player Cast Magery Spell | |
Syntax | Spells.CastMagery(string SpellName [,item or int target]) |
Description: | |
Player cast a magery spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Necro
Player Cast Necro Spell | |
Syntax | Spells.CastNecro(string SpellName [,item or int target]) |
Description: | |
Player cast a necro spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Chivalry
Player Cast Chivalry Spell | |
Syntax | Spells.CastChivalry(string SpellName [,item or int target]) |
Description: | |
Player cast a chivalry spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Bushido
Player Cast Bushido Spell | |
Syntax | Spells.CastBushido(string SpellName [,item or int target]) |
Description: | |
Player cast a bushido spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Ninjitsu
Player Cast Ninjitsu Spell | |
Syntax | Spells.CastNinjitsu(string SpellName [,item or int target]) |
Description: | |
Player cast a ninjitsu spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Spellweaving
Player Cast Spellweaving Spell | |
Syntax | Spells.CastSpellweaving(string SpellName [,item or int target]) |
Description: | |
Player cast a spellweaving spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Mysticism
Player Cast Mysticism Spell | |
Syntax | Spells.CastMysticism(string SpellName [,item or int target]) |
Description: | |
Player cast a mysticism spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Mastery
Player Cast Mastery Spell | |
Syntax | Spells.CastMastery(string SpellName [,item or int target]) |
Description: | |
Player cast a mastery spell by spellname. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Druid
Player Cast Druid Spell | |
Syntax | Spells.CastDruid(string SpellName [,item or int target]) |
Description: | |
Player cast a druid spell by spellname. Few servers support this and it must be enabled in options panel. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
Cleric
Player Cast Cleric Spell | |
Syntax | Spells.CastCleric(string SpellName [,item or int target]) |
Description: | |
Player cast a cleric spell by spellname. Few servers support this, and it must be enabled in options panel. The target is optional and not available on all servers, but if specified the cast spell will be applied to the specified target. | |
Returns | void |
In Object: | Spells |
Parameters: | String Spellname |
Parameters list: |
|
cast_function.txt · Last modified: 2022/09/03 23:25 by 127.0.0.1