- Joined
- Jun 27, 2010
- Messages
- 2,707
hi, this is how they told me to check player difficulty, but when I try to save with newgen it results it error 'unexpected then'
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
- (Players[(Integer A)] controller) Equal to Computer
-
Then - Actions
- Custom script: if GetAIDifficulty(udg_Players[GetForLoopIndexA()] == AI_DIFFICULTY_NEWBIE then
- Player - Set name of Players[(Integer A)] to (Computer + ((String((Player number of Players[(Integer A)]))) + (Easy)))
- Custom script: endif
- Custom script: if GetAIDifficulty(udg_Players[GetForLoopIndexA()] == AI_DIFFICULTY_NORMAL then
- Player - Set name of Players[(Integer A)] to (Computer + ((String((Player number of Players[(Integer A)]))) + (Normal)))
- Custom script: endif
- Custom script: if GetAIDifficulty(udg_Players[GetForLoopIndexA()] == AI_DIFFICULTY_INSANE then
- Player - Set name of Players[(Integer A)] to (Computer + ((String((Player number of Players[(Integer A)]))) + (Insane)))
- Custom script: endif
- Else - Actions
-
If - Conditions