diff --git a/Tools/SQF/scratch.sqf b/Tools/SQF/scratch.sqf new file mode 100644 index 00000000..126289ff --- /dev/null +++ b/Tools/SQF/scratch.sqf @@ -0,0 +1,22 @@ +_dynamicEvents = _missionNamespace getVariable ["EPOCH_dynamicEvents", []]; +missionNamespace setVariable ["EPOCH_dynamicEvents", _dynamicEvents + [ + [ + 2700, // SECOND + [[123,"mockpayload"] "call", "EPOCH_mockServerFunction"], // EVENT for execVM or [ payload, ("call" or "spawn"), name of already compiled missionNamespace function] + 0, // INIT 1 = run script at startup or 0 normal delay + 1, // PREPOSTFIX 1 = use pre/postfix path (inside epoch settings pbo) 0 = use full file path (Ignored if not using execVM) + -1, // RUNNUMTIMES -1 infinite + [], // execVM payload (Ignored if not using execVM) + [] // disallowed worlds + ], + [ + 300, + [[456,"mockpayload2"] "spawn", "EPOCH_mockServerFunction2"], + 0, + 1, + -1, + [], + [] + ], + +]];