Hi guys
My idea is to have two potions, and if the player picks up the right one you get teleported to the next map (Room6.map).
So, I have made this script:
void Teleportpotion(string &in nextlevel_potion, string &in OnPickup)
{
TeleportPlayer("Room6.map");
FadeOut(0);
FadeIn(20);
}
My potions name is "nextlevel_potion" and I have gave it a CallbackFunc in the level editor "Teleportpotion".
Now, my problem is, when I pickup the potion, nothing happens, and that's where you guys come in. I need your help with this, what did I do wrong?
Thanks