Reply to Re: what is wrong with this script
If you don't have an account, just leave the password field blank.
You can just attach a script to the map with:
void main( void )
{
if (&story == cutscene_worty)
{
//cutscene stuff here
}
}
If en-phoenix is the cutscene then I would advise not using this name. Otherwise:
void main( void )
{
if (&story == cutscene_worthy)
{
spawn("cutscene");
//nothing here! spawn() won't stop this script!
}
}
Then in cutscene.c:
void main( void )
{
//cutscene stuff here
kill_this_task();
}
Alternatively, this should also work:
void main( void )
{
if (&story == cutscene_worthy)
{
external("cutscene","phoenix");
//maybe something here, external() stops this script.
}
}
Then in cutscene.c:
void phoenix( void )
{
//cutscene stuff here
}
void main( void )
{
if (&story == cutscene_worty)
{
//cutscene stuff here
}
}
If en-phoenix is the cutscene then I would advise not using this name. Otherwise:
void main( void )
{
if (&story == cutscene_worthy)
{
spawn("cutscene");
//nothing here! spawn() won't stop this script!
}
}
Then in cutscene.c:
void main( void )
{
//cutscene stuff here
kill_this_task();
}
Alternatively, this should also work:
void main( void )
{
if (&story == cutscene_worthy)
{
external("cutscene","phoenix");
//maybe something here, external() stops this script.
}
}
Then in cutscene.c:
void phoenix( void )
{
//cutscene stuff here
}







