consider this: i only criticize because i see so much potential in what you already have, and really want to see it come to fruition to the best possible degree. if you had a shitty mod going on here, i wouldn't even comment. but you got 2 walls of text from me, so that should give you an idea of how much i want this to succeed. : )
(07-23-2014, 09:35 AM)victorkim890(KimmyChimmy) Wrote: cant find a loop script on engine page?
also i dont get how to use variable
here is an example of a for loop:
for(int i=1;i<=159;i++)FadeLightTo("PointLight_"+i, 0, 0, 0, 0, -1, 0);
it finds every pointlight between "PointLight_1" and "PointLight_159" and it fades their light to black. this is only one example. you can apply it to absolutely anything. in order to use it, you put for(int i=[your first number in the set];i<=[end of the set];i++) before whatever function you want it to play. and within that function, erase the number in the name of the entity you want to affect and add +i after the quotes. for example, "PointLight_1" becomes "PointLight+"+i. understand?