Trying to get a spell to fire on a waypoint from a conversation and I can’t seem to get it to work.
Anyone know how to get this working?
oTarget = GetWaypointByTag("waypoint_tag");
ActionCastSpellAtLocation(SPELL_ACID_FOG, GetLocation(oTarget), METAMAGIC_ANY, TRUE, PROJECTILE_PATH_TYPE_DEFAULT, TRUE);
Got it to work! The conversation was on a container, I had another script that would close and then destroy the container at the end of the convo. I just put a delay on that and it’s working.
Now however, how do I set the spell’s level and lengthen it’s time (rounds)?
Setting the METAMAGIC_ from ANY to MAXIMIZE did the trick! not sure if there’s another way, but this is working good so far.