I have tried this thread and it works.
However it only gives an example of how to do only one spawn location.
So here is the breck down of my help quary....
in the .sqf of cust_markers_chernarus.sqf I made one and it worked, but when I made the second one did not.
Please what have I done wrong?
_this = createTrigger ["EmptyDetector", [13379.6,3467.14,0.0017457]]; _this setTriggerArea [600, 600, 0, false]; _this setTriggerActivation ["ANY", "PRESENT", true]; _this setTriggerTimeout [10, 15, 20, true]; _this setTriggerText "SkalistyNE"; _this setTriggerStatements ["{isPlayer _x} count thisList > 0;", "0 = [4,1,20,thisTrigger,['SkalistyNE'],3] call fnc_spawnBandits;", "0 = [thisTrigger] spawn fnc_despawnBandits;"]; _trigger_500 = _this; _this = createTrigger ["EmptyDetector", [13204.7,3322.42,0.000764847]]; _this setTriggerArea [600, 600, 0, false]; _this setTriggerActivation ["ANY", "PRESENT", true]; _this setTriggerTimeout [10, 15, 20, true]; _this setTriggerText "SkalistyN"; _this setTriggerStatements ["{isPlayer _x} count thisList > 0;", "0 = [3,1,20,thisTrigger,['SkalistyN],3] call fnc_spawnBandits;", "0 = [thisTrigger] spawn fnc_despawnBandits;"]; _trigger_501 = _this;
In this .sqf cust_spawns_chernarus.sqf I did like this:
_this = createMarker ["SkalistyNE", [13379.6,3467.14,0.0017457]]; _this setMarkerType "Empty"; _this setMarkerBrush "Solid"; _marker_320 = _this; _this = createMarker ["SkalistyN", [13204.7,3322.42,0.000764847]]; _this setMarkerType "Empty"; _this setMarkerBrush "Solid"; _marker_321 = _this;
The first sets worked fine 4 AI appeared and one backup was random.
My server report file indicates this error:
Error in expression <0 = [3,1,20,thisTrigger,['SkalistyN],3] call fnc_spa>
15:31:05 Error position: <thisTrigger,['SkalistyN],3] call fnc_spa>
15:31:05 Error Generic error in expression
The second set of AI DO NOT appear, but the first appear fine.
What did I do wrong?
Can't I add multiple custom spawn locations?
"Little help Mr. Wizzard"
Thank you for any help.
Error in expression <0 = [3,1,20,thError in expression <0 = [3,1,20,thisTrigger,['SkalistyN],3] call fnc_spa>
15:31:05 Error position: <thisTrigger,['SkalistyN],3] call fnc_spa>isTrigger,['SkalistyN],3] call fnc_spa>
15:31:05 Error position: <thisTrigger,['SkalistyN],3] call fnc_spa>
Error in expression <0 = [3,1,20,thisTrigger,['SkalistyN],3] call fnc_spa>
15:31:05 Error position: <thisTrigger,['SkalistyN],3] call fnc_spa>