Creature invisible/visible at accepting Quest

So I want to make a Creature invisible and another creature visible after taking a quest. Can anyone tell me how?

btw. am working on master build.

Be aware this may can be confusing for other players if a creature isn’t available.

And looking to the smartscript wiki page the event On Target Quest Accepted isn’t implemented yet.

So the event “On Target Quest Accepted” is implemented. It’s the SMART_EVENT_ACCEPTED_QUEST (Value: 19), but this isn’t really interesting me. I just want to know how you make a creature in-/visible when you have a quest.

Just some ideas:

[li]Change phase mask[/li]
[li]Change the the type_flags and make him a ghost.[/li]