Ellimistrox
New Member
- Reaction score
- 10
I'm currently remaking my old Cast Bar system purely in JASS2 (Yes I know vJASS is better etc etc but just bare with me)
As I understand it, the texttag limit is 100.
In the following code, would return skip ALL the other actions, including the loop which its in?
Please don't ask for full trigger. Its an abomination. Ish.
If this is really really obvious, I blame my year long absence from WC3 in general. -.-
+rep for help
As I understand it, the texttag limit is 100.
In the following code, would return skip ALL the other actions, including the loop which its in?
Please don't ask for full trigger. Its an abomination. Ish.
JASS:
function CBars takes unit caster, real length, string colour, string name returns nothing
loop
//lots of code here
if udg_CBars_Max == 100 then //udg_CBars_Max is just tracking how many cast bars there have ever been at one point in time
//At this point I've checked if every space is being used, and its come up true
//So we have a problem as 100 is maximum number of texttags?
call BJDebugMsg("Cast Bar System *ERROR*: Too many bars") //I don't have to anti-BJ this do I?
return //Would this return skip everything, even if the loop hasnt reached its exitwhen?
endif
//a little bit more over here
endloop
endfunction
If this is really really obvious, I blame my year long absence from WC3 in general. -.-
+rep for help