Hello,
Basically I want to create an NPC that casts an endless stream of Rays of Frost as her 'all out of spells' behavior instead of a melee attack. I'm pretty sure I know what line to use:
ActionCastSpellAtObject(int nSpell=Ray_of_Frost, object oTarget, int nMetaMagic=METAMAGIC_ANY, int bCheat=TRUE, int nDomainLevel=0, int nProjectilePathType=PROJECTILE_PATH_TYPE_DEFAULT, int bInstantSpell=TRUE)
I just don't know where I should put it in the AI's combat script to give me the desired behavior.





Retour en haut







