1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-20 11:47:48 +00:00
project-meteor-server/Data/scripts/commands/EmoteSitCommand.lua

24 lines
339 B
Lua
Raw Normal View History

--[[
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