mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-21 20:27:47 +00:00
13 lines
No EOL
382 B
Lua
13 lines
No EOL
382 B
Lua
require("global")
|
|
|
|
function onEventStarted(player, command, triggerName, arg1, arg2, arg3, arg4, targetActor, arg5, arg6, arg7, arg8)
|
|
|
|
local worldManager = GetWorldManager();
|
|
local shortCommandId = bit32.bxor(command, 2700083200);
|
|
local ability = worldManager:GetAbility(shortCommandId);
|
|
|
|
--player:PlayAnimation(ability.modelAnimation);
|
|
|
|
|
|
player:endEvent();
|
|
end |