What is the device order when they run ?

rokkouBaby
Thu, 09 May 2024 22:39:06 +0000
Programming & Scripting

I am coding a custom device and i am granting a weapon given the score of my tracker (which is updated with the player elimination for instance). But, whenever my function to grant a player a weapon is ran (with the elimination result), i’m printing the score of my tracker and its not updated yet, so i guess my function is ran too early ? I’d like to know is there an order between devices ? If so how can i change them and would code a latency before running my function help ? (so the tracker can update by the mean time)

Thanks !

2 posts - 2 participants