The Dink Network

Push

March 3rd 2007, 10:46 PM
boncag.gif
Znex
Peasant He/Him Australia
Oh hey. 
Hi there, it's me again. I've noticed, while I've been doing my D-mod, that when I load a game(takes quicker than having to go through the intro), I can push, but I turn into Dink(BTW, my character's a bonca). I've put push_active(0); in both the start-1 and start-2 scripts yet I can still push after I loaded a game(this doesn't happen when I first start it)! Am I doing something wrong?
March 4th 2007, 12:30 AM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
Where exactly did you put the push_active(0) command in start-2.c ?
March 4th 2007, 01:47 AM
boncag.gif
Znex
Peasant He/Him Australia
Oh hey. 
Just between the load_game command and the kill_this_task command. But don't I think that's it, it wasn't working even before I put the push_active command in start-2.c.
March 4th 2007, 04:05 AM
spike.gif
The game doesn't remember it so you have to repeat the command when loading a game. push_active(); doesn't work that well with load_game(); though. If you're using save bots you could put the command in the main procedure there.
March 4th 2007, 04:57 AM
boncag.gif
Znex
Peasant He/Him Australia
Oh hey. 
Where should I put it then?
March 4th 2007, 08:49 AM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
I think scratcher means that you should put it in savebot.c, in void main(void). That should work.
March 5th 2007, 01:36 AM
boncag.gif
Znex
Peasant He/Him Australia
Oh hey. 
I knew that, but where?