Smart AI Questing help

So I’ve been creating a quest that will change your phase on accept. So I have…

SMART_EVENT_ACCEPTED_QUEST

SMART_ACTION_SET_EVENT_PHASE

SMART_TARGET_ACTION_INVOKER

Then I have ACTION_PARAM_1 set to PHASE_4_BIT which is 8

Also EVENT_PARAM_1 set to the questID

Yet It still wont work, I’m still new to SmartAI so exuse me for any mistakes I may have made.

I also know I could use spell_area however I can’t find any spells that will change phaes.

There is a difference between the player’s (or NPC’s) phase in the world, and the phase of an event.

So what your saying is that I should not use SMART_ACTION_SET_EVENT_PHASE? since it is an event?

There’s a topic for SAI related questions: http://www.trinitycore.org/f/topic/1210-sai-scripting-questions/