mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 05:54:50 +02:00
Required scripts to make it work.
This commit is contained in:
parent
5d494255ad
commit
8a0ebe7ec4
3 changed files with 41 additions and 20 deletions
18
data/scripts/commands/ConfirmGroupCommand.lua
Normal file
18
data/scripts/commands/ConfirmGroupCommand.lua
Normal file
|
@ -0,0 +1,18 @@
|
|||
--[[
|
||||
|
||||
ConfirmGroupCommand Script
|
||||
|
||||
Handles what happens when you resolve an invite to a group
|
||||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, actor, triggerName, groupType, result)
|
||||
|
||||
--Accept/Refuse happened, else just close the window
|
||||
if (result == 1 or result == 2) then
|
||||
GetWorldManager():GroupInviteResult(player, groupType, result);
|
||||
end
|
||||
|
||||
player:EndEvent();
|
||||
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue