function
spellCastQueued (client-side)
Available since version: 0.3.2
Note
Required equiped and setup magic.
This function pushes spell cast action on hero/npc action queue.
Declaration
void spellCastQueued(int attacker_id, int enemy_id, bool turn = false)
Parameters
int
attacker_id: the remote npc id.int
enemy_id: the remote npc or player id.bool
turn: passtrue
to turn the attacker toward the enemy, otherwisefalse
.