Posts
143
Respect
46Add +1
Forum Rank
Pack-a-Puncher
Primary Group
Member
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!Are you sure about this? I want the variable activator to go up while I am firing, and then have juggernog turn on when activator = 200 (10 seconds), so I put the level notify outside the while loop so that once it breaks (activator is greater than or equal to 200) then juggernog will turn on.
He said that he wanted the code to init while he was fireing, so...
unless thats not what he meant.
To jj:
Unfortunately, it still doesn't work, which means that the problem stems from the variable activator increasing when it is not supposed to. Thanks for your advice, though!
To daedra:
What I meant is that the variable activator will be increasing while firing the turret by waiting 0.05 seconds and then adding one to activator. Once activator is equal to or greater than 200, the while loop will break as its condition is no longer met, and the script will proceed to the next line, which turns on jug.
Post Merge: April 15, 2014, 07:15:02 pm
To jei:
Yeah, I think that's it. I'll test it out now. Thanks!
jei, I took out the firing variable and replaced the if statement's code with what you posted. Unfortunately, it still doesn't work.