(09-13-2012, 12:11 AM)candlejack131 Wrote: Ok one of my scripts of for ender isnt working. Not crashing but my map change scripted area isnt bringing me to my next map
////////////////////////////
// Run when entering map
void OnEnter()
{
}
////////////////////////////
// Run when leaving map
void OnLeave()
{
}
any one know why it won't bring me to my next map?
You didn't make a collide callback for the script area you want the player to touch so he can load the next map. You have three callbacks but they both go to monsterfunction, change one of them to changemap.
If that doesnt work change your void function from changemap to something else, because sometimes amnesia is weird and will only work if every function and void callbacks have different names.
Were do i put that?
What do you mean? Look under the void Onstart (first brackets) and you will notice that you have two collide callback functions under the same name, they both have monsterfunction, change one to ChangeMap