Quote: "i want after completing the 1st level i want to the game to randomly choose a level.
how do i go about do that? "
Referring to the Script Syntax, you could use the following commands...
random
3.1.1.25 RANDOM=X
Description: Is true when a random number between 0 and X equals 0. I.e. random=1 gives a 50% chance of being true, whereas random=100 gives a 1% chance of being true.
Range: X = 1 to anything, although setting above 1,000 will make this conditions very unlikely to be true.
Example: :random=1:incstate
nextlevel
3.14.2.8 NEXTLEVEL=X
Description: This defines which level will be the next when the win zone is triggered. In order to make the action work, it may be necessary to use the “suspend” action after the “nextlevel=” action.
Range: X = 0 to highest level.
Example: :state=1:nextlevel=4,suspend
You would need to create a script that uses these commands and controls where the player goes. There are endless methods to place this script, but the easiest is to assign to the main of a win zone trigger. You won't be able to test from the editor (test game) as you can only test one level, which means you would need to build the levels and test within the build game.
There's no problem that can't be solved without applying a little scripting.