The Dink Network

Re: Script won't spawn

September 28th 2007, 09:06 PM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
In start-1.c I have the line (above kill_this_task(); ) spawn("intro");. But the script won't spawn. What's wrong?
September 28th 2007, 09:51 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
Try putting a wait(1); command at the beginning of the spawned script.
September 29th 2007, 01:30 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
I'll try that, thanks.
September 29th 2007, 09:43 PM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
Thanks, it worked!

Oh, and, don't you know that you don't need a semicolon ( ; ) after the wait(#) command?
September 30th 2007, 09:39 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
It's bad practice not to have them. At least from what I remember, the Dink Engine is a bit fuzzy about stuff. It may be legal not to have semicolons some places, but on the other hand, it's always legal to have them there.
September 30th 2007, 08:26 PM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
Oh, okay. Well, as always, it's better to be safe than sorry!