Error message;
Script 'View_Statuses_Important' Line 4: SyntaxError occured. unexpected word_not, expecting keyword_then or ';' or '\n'if $game_variables[2] not > $game_variables[3]
Variables I have in game are:
0001😛layer_X 0002😛layer_Y 0003:Sixth_Bottom_Most_Tile_Y0004:Eighth_Right_Most_Tile_X0005:Eighth_Left_Most_Tile_X0006:Sixth_Top_Most_Tile_Y0007:This_Room_Height0008:This_Room_Width0009:South_View_Distance_Of_Player0010:Regular_South_View_Goes_Here_When_Done0011:Regular_North_View_Goes_Here_When_Done0012:North_View_Distance_Of_Player0013:West_View_Distance_Of_Player0014:Regular_West_View_Goes_Here_When_Finished0015:Regular_East_View_Goes_Here_When_Finishef0016:East_View_Distance_Of_Player
What my script View_Important_Statuses has:
if $game_variables[2] > $game_variables[3] $game_variables[10] = $game_variables[7]$endif $game_variables[2] not > $game_variables[3] $game_variables[10] = $game_variables[2]+6$endif $game_variables[2] < $game_variables[6] $game_variables[11] = 0$endif $game_variables[2] not < $game_variables[6] $game_variables[11] = $game_variables[2]-6$endif $game_variables[1] < game_variables[5] $game_variables[14] = 0$endif $game_variables[1] not < gamve_variables[5] $game_variables[14] = $game_variables[1]-8$endif $game_variables[1] > $game_variables[4] $game_variables[15] = $game_variables[8]$endif $game_variable[1] not > $game_variables[4] $game_variables[15] = $game_variables[2]+8$end
How do I change my script to work completely properly with no errors nor error nor both please? Thank you 🙂 : ) ; ) 😉
Script 'View_Statuses_Important' Line 4: SyntaxError occured. unexpected word_not, expecting keyword_then or ';' or '\n'if $game_variables[2] not > $game_variables[3]
Variables I have in game are:
0001😛layer_X 0002😛layer_Y 0003:Sixth_Bottom_Most_Tile_Y0004:Eighth_Right_Most_Tile_X0005:Eighth_Left_Most_Tile_X0006:Sixth_Top_Most_Tile_Y0007:This_Room_Height0008:This_Room_Width0009:South_View_Distance_Of_Player0010:Regular_South_View_Goes_Here_When_Done0011:Regular_North_View_Goes_Here_When_Done0012:North_View_Distance_Of_Player0013:West_View_Distance_Of_Player0014:Regular_West_View_Goes_Here_When_Finished0015:Regular_East_View_Goes_Here_When_Finishef0016:East_View_Distance_Of_Player
What my script View_Important_Statuses has:
if $game_variables[2] > $game_variables[3] $game_variables[10] = $game_variables[7]$endif $game_variables[2] not > $game_variables[3] $game_variables[10] = $game_variables[2]+6$endif $game_variables[2] < $game_variables[6] $game_variables[11] = 0$endif $game_variables[2] not < $game_variables[6] $game_variables[11] = $game_variables[2]-6$endif $game_variables[1] < game_variables[5] $game_variables[14] = 0$endif $game_variables[1] not < gamve_variables[5] $game_variables[14] = $game_variables[1]-8$endif $game_variables[1] > $game_variables[4] $game_variables[15] = $game_variables[8]$endif $game_variable[1] not > $game_variables[4] $game_variables[15] = $game_variables[2]+8$end
How do I change my script to work completely properly with no errors nor error nor both please? Thank you 🙂 : ) ; ) 😉