myspace / Lua /SetpiecePrg /CirclesChickenMove3_Schliemann.generated.lua
sirnii's picture
Upload 1816 files
b6a38d7 verified
raw
history blame
960 Bytes
-- ========== GENERATED BY SetpiecePrg Editor (Ctrl-Alt-S) DO NOT EDIT MANUALLY! ==========
rawset(_G, 'SetpiecePrgs', rawget(_G, 'SetpiecePrgs') or {})
SetpiecePrgs.CirclesChickenMove3_Schliemann = function(seed, state, TriggerUnits)
local li = { id = "CirclesChickenMove3_Schliemann" }
local rand = BraidRandomCreate(seed or AsyncRand())
local _, Schliemann
prgdbg(li, 1, 1) _, Schliemann = sprocall(SetpieceAssignFromGroup.Exec, SetpieceAssignFromGroup, state, rand, Schliemann, "", "chicken", "Object", false)
prgdbg(li, 1, 2) sprocall(SetpieceSleep.Exec, SetpieceSleep, state, rand, true, "", 500)
prgdbg(li, 1, 3) sprocall(PrgPlayEffect.Exec, PrgPlayEffect, state, rand, true, "", {PlaceObj('QuestSetVariableBool', {Prop = "circlestreasure",QuestId = "TreasureHunting",}),})
prgdbg(li, 1, 4) sprocall(SetpieceGotoPosition.Exec, SetpieceGotoPosition, state, rand, true, "", Schliemann, "chicken3", true, true, false, "", false, true, "", 1000)
end