Hi i have a little problem with one of my systems.
If i activate the funktion Starting Funktion appears a error if i start/save the map, but i cannot find what cause this error.
Please tell me how i can fix this error and please tell me how to avoid it :)
I believe the problem is inside your function. You try to set a unit's custom value(0) to a value. I think that the custom value of a unit behaves in generally the same way as arrays do. The first index is 1.
The unit still doesn't attack, but that might be planned. In any rate, the error doesn't pop up anymore when I try to attack with Zeratul.
First off, 8192 is way too many. Set the max to something like 500 for each of them.
Second, these will not work:
Unit - Create Projektilnumber Dummesviech for player (Owner of (Triggering unit)) at (Position of Shooter) facing ((Facing of Shooter) + Starting Dagrees) degrees (No Options)
Unit - Set (Last created unit) custom value 0 to (Real(Count))
Unit Group - Add (Last created unit) to ProjektileGroup
Enum, Trigger, all do not work within a function.
Fix those and see if it works.
i changed the max index to 500 the custom value to 3 and i removed the trigger stuff (all the convert part too) so i got a funktion without anything in it and the error still appears i think its realy a problem with my comp or aggain a editor bug
First off, 8192 is way too many. Set the max to something like 500 for each of them.
Second, these will not work:
Unit - Create Projektilnumber Dummesviech for player (Owner of (Triggering unit)) at (Position of Shooter) facing ((Facing of Shooter) + Starting Dagrees) degrees (No Options)
Unit - Set (Last created unit) custom value 0 to (Real(Count))
Unit Group - Add (Last created unit) to ProjektileGroup
Enum, Trigger, all do not work within a function.
Fix those and see if it works.
so which trigger should i use? or which one are useable?
Hi i have a little problem with one of my systems. If i activate the funktion Starting Funktion appears a error if i start/save the map, but i cannot find what cause this error. Please tell me how i can fix this error and please tell me how to avoid it :)
@xSteamGearx: Go
The link goes to a page that says:
Not sure what to make of that. Try uploading your map as an attachment instead of linking to external file shares.
"Well, theres ye'r problem!"
ah yeah sry now i attached the right map. I hope someone know how to fix this error/bug
I believe the problem is inside your function. You try to set a unit's custom value(0) to a value. I think that the custom value of a unit behaves in generally the same way as arrays do. The first index is 1.
The unit still doesn't attack, but that might be planned. In any rate, the error doesn't pop up anymore when I try to attack with Zeratul.
but if i change the custom value to 1 the error still apears :(
@Abion47: Go
First index for arrays is 0, by the way ;)
so noone knows why i get this error?!
sucks >.<
blub
@Kueken531: Go
I dunno, I've seen it work both ways. I use an array of size 8, for example, and both indeces 0 and 8 work.
But yeah, it stopped showing the error for me. I'll take another look at it later, but maybe it's your comp?
i changed the max index to 500 the custom value to 3 and i removed the trigger stuff (all the convert part too) so i got a funktion without anything in it and the error still appears i think its realy a problem with my comp or aggain a editor bug
so which trigger should i use? or which one are useable?
blub
i need the answer ._.
k. I don't even know what you wane use this for but hey.. that's your problem.
anyway your error is because you trying to use the "new function" for something its not made for. (you have no return value.) about "New Function" read this: http://forums.sc2mapster.com/resources/tutorials/1076-trigger-utilizing-the-power-of-functions-with-gui/
anyway think your better off using "new action definition" for what your trying to do.