i mentioned it, i call Set() when i click the mouse to signal that i want the unit to move to a new location
it's obviously not called every loop
still, i don't see why i would willingly let the thread keep looping for no reason, isn't it just a waste?
/agdg/ Amature Game Dev General /agdg/
Hunter Barnes
Easton Mitchell
is the resetevent the same event in both cases?
Gavin Long
should be, i only do resetevent=new ManualResetEvent(false) once in the script
Cooper Long
ok heres what you do
put an else after the if (TriggerPathFunction)
And put in a short sleep like a 100 ms or something should be more than enough to make the function almost nothing
It's workaround really but I can't see anything else wrong with the code
David Hughes
You could just turn that ENTER THE COMMAND… window into a small text editor, or make a list of commands underneath the Command button, maybe adding some branching to that, so you get something similar to Game Maker's drag n drop.
Luke Collins
Psst
Easton Harris
Why do you only keep going untill 300 posts or so ?