Thanks for all of your replies. Foxhound you are closer to the solution to my problem. I've tried to create a script seperate from my main level. These included all the actions and functions than I would need for the second level of the game. (Where the player goes after stepping through the teleporter in level 1)
the script looks like this:
Code:
action level_change
{
my.event = impact;
my.function = Load_level;
}
function load_level
{
if blah blah blah
{
load_level (levelname.wmb)
/*The tutorial i used said to place any actions for the next level after that level's loading function... which would be here
*/
other stuff
}
But the problem is when I do that, the engine says: action Change_level is an unkown parameter.
i hope this is clearer.