But I'M the one causing the event in the first time, as in clicking attack ground and then clicking the ground. I'm pretty sure the trigger will still fire I click it and then the ground the second and third time and all that, but I don't want to manually micromanage the firing of single shots from a cannon.
I don't see where it is looping do this and then stop. I see at the end of the trigger it is ordered to stop, and that there is nothing else is any of the triggers that make that event occur again save for me manually clicking to fire again.
I think I am starting to understand a little bit what you mean by local variables, but I still have no idea why it works, just that you say that it does, and it probably does. I know that local is not global in that global is effected by everything and local is unique to that unit somehow, not sure where or how it is storing this data but okay. I'll make the changes you've highlighted but I still don't see where in the trigger it is making it fire repeatedly. If you could highlight the specific line that makes it shoot more then once it would be very illuminating.
EDIT: Saving bombs on this line: "
Custom script: call IssuePointOrder(GetTriggerUnit(), "attackground", GetSpellTargetX()+GetRandomReal(-256,256),GetSpellTargetY()+GetRandomReal(-256,256))" I think its because the Pos isn't mentioned in it anywhere or something? Attack ground but where is it attacking ground?
Also why is it only the first trigger that has "Custom script: call IssueImmediateOrder(u,"stop")" while the other two use just "Unit - Order (Triggering unit) to Stop" ?