The Dink Network

Reply to Re: help plz

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
November 25th 2009, 09:15 AM
custom_iplaydink.gif
iplaydink
Peasant He/Him Sweden
Hmm.. 
Marpro said: You need to use variables, for example... Create a global variable in the "Main.c" script, named intro or whatever, then you set "make_global_int("&intro",0);". When the intro is done finish the script with a &into += 1; or &intro = 1;... It will cause the intro to play once.

But you also have to edit your intro with a If.
like this:
If(&intro ==  0)
{
//put the rest of the script here and then set &intro to anything but 0.
&intro = 1;
} 



You could also call the intro script in main.c instead of attaching it to a screen... look in metatarasal's tutorial, it has a chapter about how to make a intro (and how to call it from another script)