Page 1 of 1
[<1551-4343]'wait' doesn't work in console [long title]
Posted: Tue Jun 18, 2013 2:47 pm
by Edward-san
[<1551-4343]'wait' doesn't work in console when there's intermission or just after the program is loaded
Original report from zandronum.
Try this in console in these situations:
Code: Select all
say blablabla;wait 35;say still blablabla
It'll display "blablabla" message but won't display "still blablabla" like in the game. It happens with the other commands, too. I tried to change mouse_sensitivity after 'wait' but didn't work.
Re: [<1551-4343]'wait' doesn't work in console [long title]
Posted: Tue Jun 18, 2013 3:17 pm
by Graf Zahl
I'm not surprised. Since the playsim isn't running, neither is the game ticker.
Re: [<1551-4343]'wait' doesn't work in console [long title]
Posted: Mon Jul 01, 2013 8:54 pm
by randi
Waiting commands are stored in regular thinkers, so if the game isn't thinking, they can't do anything. And like regular thinkers, they also get destroyed when you move to a new map.
Re: [<1551-4343]'wait' doesn't work in console [long title]
Posted: Fri Jul 10, 2015 8:35 am
by Leonard2
Was there any specific reason for DWaitingCommand to be a DThinker?
The waiting commands could be stored in something like a TArray that would be iterated through in C_Ticker instead, that would solve the problem described here.
Sorry for the huge bump but I didn't know where else to ask.
Re: [<1551-4343]'wait' doesn't work in console [long title]
Posted: Fri Jul 10, 2015 8:50 am
by Edward-san
Leonard2 wrote:Sorry for the huge bump but I didn't know where else to ask.
You could open a new thread in 'Generals', I guess, by linking this thread.
Any moderator, can you split and move this away?