mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-07-27 12:56:07 +02:00
More documentation on gathering
This commit is contained in:
parent
e030b14bf4
commit
7c144bd05a
2 changed files with 233 additions and 39 deletions
|
@ -11,13 +11,13 @@ require("global")
|
|||
function onEventStarted(player, actor, triggerName, pushCommand, unk1, unk2, unk3, ownerActorId, unk4, unk5, unk6, unk7)
|
||||
|
||||
actor = player:GetActorInInstance(ownerActorId);
|
||||
|
||||
print("TESSSSSSSSSSSSSST");
|
||||
harvestCommand = GetStaticActorById(0xA0F055F7);
|
||||
if (actor != nil) then
|
||||
if (actor:GetActorClassId() == 1200052) then
|
||||
player:kickEvent(actor, "commandJudgeMode", "commandJudgeMode");
|
||||
player:KickEventSpecial(harvestCommand, 0, "commandJudgeMode", 0, 0, 0, 0, 0x4E26, 0, nil, 0xF, actor, nil, nil, nil, nil);
|
||||
else
|
||||
printf("TEST");
|
||||
player:kickEvent(actor, "pushCommand", "pushCommand");
|
||||
--player:kickEvent(actor, "pushCommand", false);
|
||||
end
|
||||
else
|
||||
player:endEvent();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue