jay8454 Posted March 10, 2014 Report Share Posted March 10, 2014 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> Link to comment Share on other sites More sharing options...
0 Glenn Posted March 11, 2014 Report Share Posted March 11, 2014 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> jay8454 1 Link to comment Share on other sites More sharing options...
0 jay8454 Posted March 11, 2014 Author Report Share Posted March 11, 2014 OMG THANK YOU!!!!! I DIDN"T SEE THAT!!!!!! THANK YOU! SO MUCH! Link to comment Share on other sites More sharing options...
0 Glenn Posted March 11, 2014 Report Share Posted March 11, 2014 At first I missed it too, but when I looked closely at the error message, my Google-Fu found: https://community.bistudio.com/wiki/Category:Common_Scripting_Errors While some of the error messages are not exactly spelled out with heaps of details, it pointed me to the fact that a data type was not as expected, which made me look again at all the data you had. Server report file for the win. I strongly advice that you use Notepad++ with SQF highlighting, as it makes simple mistakes like the above one much more visible. Links to it can be found in various places in the forum - I'm sure someone has the link handy. Link to comment Share on other sites More sharing options...
Question
jay8454
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?
In this .sqf cust_spawns_chernarus.sqf I did like 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>
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now