|
|
|
|
|
rawset(_G, 'SetpiecePrgs', rawget(_G, 'SetpiecePrgs') or {}) |
|
SetpiecePrgs.ChickenMove1_Veinard = function(seed, state, TriggerUnits) |
|
local li = { id = "ChickenMove1_Veinard" } |
|
local rand = BraidRandomCreate(seed or AsyncRand()) |
|
local _, LuckyVeinard |
|
prgdbg(li, 1, 1) _, LuckyVeinard = sprocall(SetpieceAssignFromGroup.Exec, SetpieceAssignFromGroup, state, rand, LuckyVeinard, "", "Veinard", "Object", false) |
|
prgdbg(li, 1, 2) sprocall(SetpieceSleep.Exec, SetpieceSleep, state, rand, true, "", 3000) |
|
prgdbg(li, 1, 3) sprocall(SetpieceGotoPosition.Exec, SetpieceGotoPosition, state, rand, false, "", LuckyVeinard, "Waypoint1_01", true, true, false, "", false, true, "", 1000) |
|
end |