X2GetSpellCastOnSequencerItem(object)

Sequencer item property handling.

int X2GetSpellCastOnSequencerItem(
    object oItem
);

Parameters

oItem

Spell target.


Description

This is just a subroutine function for X2PreSpellCastCode, which handles the whole process of storing spells into a sequencer item.



Remarks

To make an sequencer item, just give it cast spell item property with one of three sequencer's spells.


If you change it, such as to allow hostile spells, you will need to recompile all default spellscripts to see changes.


Requirements

#include "x2_inc_spellhook"


Version

???

See Also

functions:  X2PreSpellCastCode
categories:  Spells Functions


author: ShaDoOoW, editor: Mistress, Kookoo