mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-02 19:42:05 -04:00
- 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.
24 lines
348 B
Lua
24 lines
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 |