|
Members in Shoutbox
None.
Shoutbox Search
Shoutbox Commands
/w [name] > Whisper
/r > Reply to last whisper /me > Marks as action Shoutbox Information
Moderators may delete any and all shouts at will.
|
Global Shoutbox
Please log in to shout.
[2016-2-24. : 11:14 pm] jjf28 -- store the current time when it starts, don't run again unless the time is greater than x (kinda a poor hack)[2016-2-24. : 11:12 pm] Corbo -- Hey, do you know if there's a way to "wait" like, I could easily get around this if I could let the overlay animation play and then repeat it...[2016-2-24. : 11:09 pm] jjf28 -- if it's already cloaked the first time you hit the function then it'll never fire tho[2016-2-24. : 11:05 pm] jjf28 -- and if there's not a nice way of doing that, just modify something unused within the unit and check that the next time[2016-2-24. : 11:03 pm] jjf28 -- it seems like you'd be able to check if that overlay exists for that unit, somehow[2016-2-24. : 11:01 pm] Moose -- CorboCorbo shouted: I get a complete black screen CorboCorbo shouted: Cant even get out if it. Cannot run the task manager either CorboCorbo shouted: Cannot terminate the program xD CorboCorbo shouted: Like, it wont maximize the task manager. ;o CorboCorbo shouted: Time to hard shut down i guess I just want to say I'm impressed.[2016-2-24. : 10:51 pm] jjf28 -- the code just barely fit on my screen with the error/output windows closed[2016-2-24. : 10:50 pm] Corbo -- is it just a regular screenshot cropped or does VS have some sort of code to clipboard function?[2016-2-24. : 10:44 pm] jjf28 -- additionally if there's something changed about the unit or whatever the function uses you can check for that rather than making extra bools[2016-2-24. : 10:43 pm] jjf28 -- well I don't know what all the function does, as far as the "runOnce" problem goes I can give some solutions for that: http://puu.sh/nkdRC/3b58586481.png[2016-2-24. : 10:27 pm] jjf28 -- spam windows key, alt tab, alt-ctrl-delete, and try to click the show desktop button/right click close sc on taskbar -.. till something works[2016-2-24. : 10:23 pm] jjf28 -- prolly shouldn't work, needs =='s and you're re-declaring (by putting the bool before it) alreadyPlayed towards the bottom[2016-2-24. : 10:09 pm] Dem0n -- Then set it to false when the unit leaves the area? I don't really understand the context.[2016-2-24. : 10:07 pm] Corbo -- Dem0nDem0n shouted: idk, set a flag to true after the thing has been called, and then don't call it again if that flag is true I want to be able to call it again (create overlay)if a unit leaves and reenters[2016-2-24. : 10:06 pm] Corbo -- I could easily make a flag set to tru when it enters but it will remain true while the unit is in range[2016-2-24. : 10:05 pm] Dem0n -- idk, set a flag to true after the thing has been called, and then don't call it again if that flag is true[2016-2-24. : 10:04 pm] Moose -- boolean ranThisShitAlready = false; returnType someFunction() { if (ranThisShitAlready) { return } ranThisAlready = true; doShit(); } |