Yeah I know, just wanted you to understand the situation ^^'
How do you mean "spawn the door (as an actual world gameobject)"? I've already spawned it?
I get i to work animate by altering my code. The problem is now that I have to be GM and click on it, I still can't activate it remotely...
How it looks now https://i.gyazo.com/aec6c800ac037cb5...2a2f51e769.gif
I got the code from here. http://emudevs.com/showthread.php/54...highlight=door
function handleLockedGuildDoor(event, player, go ,quest)
if(isGM() == true) then
RegisterGameObjectEvent(Object.CellGate, 4, handleLockedGuildDoor)
I also tried checking for a quest I had a quest on me, cause I could easly add a quest after a dialog. But it didn't work either...
--GAMEOBJECT_EVENT_ON_QUEST_ACCEPT = 4, // (event, player, go, quest)
function QuestAdd(event, player, creature, quest)
if (quest:GetId() == 27002) then
RegisterGameObjectEvent(Object.CellGate, 4, QuestAdd)