Delivery Posted September 10, 2023 Share Posted September 10, 2023 Method does not work? I am using stealth & I call this function 100x, I thought it would wait 100 game ticks and I have it log each time the function is called, all 100x are called immediately. Is there a way to wait until the next game tick (e.g 1 tick ags switch will be successful every time then) Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted September 10, 2023 Share Posted September 10, 2023 3 hours ago, xcx said: Method does not work? I am using stealth & I call this function 100x, I thought it would wait 100 game ticks and I have it log each time the function is called, all 100x are called immediately. Is there a way to wait until the next game tick (e.g 1 tick ags switch will be successful every time then) Works fine for me, gets called everytime a new tick starts @Override public void onGameTick() { log("test"); } 1 Quote Link to comment Share on other sites More sharing options...