The Dink Network

Game freezes when using get_next_sprite_with_this_brain command.

December 6th 2006, 01:34 PM
peasantmb.gif
Lunacre
Peasant He/Him Finland
 
When ever I try to use that command, the game suddendly freezes up. Even the example in DinkC Reference file doesn't work. So what is the problem?
December 6th 2006, 03:22 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Are you using it in a loop? Does your loop have a wait(1); command at the beginning? That could be a problem.
December 6th 2006, 03:51 PM
peasantmb.gif
Lunacre
Peasant He/Him Finland
 
Yep, that was the problem. I forgot to add the wait statement, because there wasn't one in DinkC Reference