01-04-2012, 14:23
Basically, i have an effect I only want to play for a certain amount of time. But, the effect I am using plays infinitely.
for the script I am using, I have this:
but the effect does not stop :/
any ideas as to how I can stop the effect? or is there a different effect I can use?
the map is overgrown
thanks
for the script I am using, I have this:
Code:
emissionEnt = getEntArray("mp_global_intermission", "classname");
up = anglestoup(emissionEnt[0].angles);
right = anglestoright(emissionEnt[0].angles);
earthquake(0.25, 10, emissionEnt[0].origin, 100000);
wait 3;
PlayFX(level._effect["nuke_aftermath"], emissionEnt[0].origin, up, right);
wait 5;
level._effect["nuke_aftermath"] destroy();
but the effect does not stop :/
any ideas as to how I can stop the effect? or is there a different effect I can use?
the map is overgrown
thanks