G
gray007nl
Guest
So I read on the help page that ds_queue's can contain scripts, so I decided to test it out. I put a laughably simple script of
name = "hello";
return name;
into the queue, but when I dequeue it onto a different valuable and print it as text, it for some reason prints 10? (as in the number, not 10 times). Even when I change the script so it should theoretically return a number rather than a string it returns 10.return name;
global.test = ds_queue_dequeue(queue_testy);
^ how I attempt to use the script from the queue, nothing else should affect the global.test value outside of it being set once when the game boots (and even then it's set to 7 not 10)