1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 19:57:46 +00:00
project-meteor-server/scripts/commands/EmoteSitCommand.lua

24 lines
No EOL
339 B
Lua

--[[
EmoteSitCommand Script
--]]
function onEventStarted(player, actor, triggerName, emoteId)
if (player:getState() == 0) then
if (emoteId == 0x2712) then
player:changeState(11);
else
player:changeState(13);
end
else
player:changeState(0);
end
player:endEvent();
end
function onEventUpdate(player, npc)
end