According to the lexicon the routine ActionCastSpellAtObject is bugged.
void ActionCastSpellAtObject(
int nSpell,
object oTarget,
int nMetaMagic = METAMAGIC_ANY,
int bCheat = FALSE,
int nDomainLevel = 0,
int nProjectilePathType = PROJECTILE_PATH_TYPE_DEFAULT,
int bInstantSpell = FALSE
);
While nDomainLevel is supposed to set the equivalent caster level that the spell is cast at, according to the lexicon this parameter is ignored by the routine. As I need to cast a number of spells with a number of different caster levels I need to know if this is true? If so is there a routine that can be used to replace it? Is there a workaround that doesn't involve the unofficial patch (I need what I am working on to be independent of external scripting routines). Or will I have to write my own spell routines?
Thanks in advance
TR