1
Fork 0
mirror of https://bitbucket.org/Ioncannon/project-meteor-server.git synced 2025-04-21 20:27:47 +00:00
project-meteor-server/Data/scripts/commands/EmoteSitCommand.lua
CuriousJorge 08557f41fb Minor fixes
- InstanceRaid Guide : Added DefaultTalk handling for the npcs we have currently.  Included a couple commented-out client functions for two of the raids.
- EmoteSitCommand : Added eventType to the function so sitting on environment objects works again.
- Man0u0 : SourceTree added hunk-change garbage during a conflict resolving during the last merge. I just replaced it with the raw of that commit so it matches what it should have been.
- DftFst : Added the Gridania InstanceRaidGuide NPCs to the list for documentation sake, even though it'd never be called from that script with how things are currently set up.
2022-03-04 23:12:28 -05:00

24 lines
No EOL
348 B
Lua

--[[
EmoteSitCommand Script
--]]
function onEventStarted(player, actor, eventType, eventName, 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