View Single Post
Old 05-04-2003, 11:30 PM   #10
Obsidian-Jovani
 
Obsidian-Jovani's Avatar
 
Join Date: Apr 2003
Location: Onderon
Posts: 223
Quote:
My problem is that it is not recognizing the value as "0" (not running the scripts). Is this a syntax issue (I notice the use of "$$" to define numbers in other scripts. Do I need those?
From looking at the SP scripts I think you do need to use the $. Try this out.

if ( $get( FLOAT, "03gamestate") = 0$ )
{
run ( "colo/L03/fight_brothers" );
}

else ( )
{

if ( $get( FLOAT, "03gamestate") = 1$ )
{
run ( "colo/L03/fight_soldiers" );
}

else ( )
{
rem ( "do nothing" );
}
}


Binary Sunset Studios

WIP: A SP Project entitled "Resurgence"
Obsidian-Jovani is offline   you may: quote & reply,