killzone_kid 1329 Posted May 26, 2013 Here is a ticket explaining the issue: http://feedback.arma3.com/view.php?id=8740 In short, if you introduce sleep while in any other namespace but missionNamespace, your namespace becomes default missionNamespace! Share this post Link to post Share on other sites
gossamersolid 155 Posted May 26, 2013 sleep .00000000001 I'm pretty sure you cannot have that quick of an iteration. Isn't the fastest 3ms? (Somebody please clarify). Share this post Link to post Share on other sites
kremator 1065 Posted May 26, 2013 I do seem to remember a 3ms hardcoded limit from somewhere GS. Share this post Link to post Share on other sites
dmarkwick 261 Posted May 26, 2013 I don't think it matters how short the sleep command is, it has the effect of waiting 1 frame minimum. Share this post Link to post Share on other sites
killzone_kid 1329 Posted May 26, 2013 sleep .00000000001 I'm pretty sure you cannot have that quick of an iteration. Isn't the fastest 3ms? (Somebody please clarify). There is no iteration, just straight forward script execution. Sleep is used as delay before executing the next statement, and why can't it be as little as .00000000001? It is still > than no delay at all. Share this post Link to post Share on other sites
.kju 3244 Posted May 26, 2013 Quickest is perFrame I think. Only engine events can happen multiple times per frame. Aka 60 FPS = 60 executions per second, or one frame lasts 1/60s. 3ms is script delay. Read 3ms break here: https://dev-heaven.net/projects/cmb/wiki#RTE-Developer-Blog Share this post Link to post Share on other sites
NeMeSiS 11 Posted May 27, 2013 It is 0.3ms according to the wiki. Share this post Link to post Share on other sites
killzone_kid 1329 Posted May 28, 2013 ;2402172']Quickest is perFrame I think. Only engine events can happen multiple times per frame.Aka 60 FPS = 60 executions per second' date=' or one frame lasts 1/60s. 3ms is script delay. Read 3ms break here: [url']https://dev-heaven.net/projects/cmb/wiki#RTE-Developer-Blog[/url] Looking through some of the posts I think this bug is related https://dev-heaven.net/issues/show/2077 Share this post Link to post Share on other sites