Dr_Nomz
Member
I was trying to have an object that I could collide with to go to a different room, where each one could be given a variable in the room's creation to change what room that object takes you to.
However, I got a malformed assignment error instead.
Why isn't it working? Is there a better way to do this? Or do I need to say it differently?
However, I got a malformed assignment error instead.
Code:
//Create:
room_name=lvl_Small_Town;
//Collision with player:
///Moves player to another area.
room_goto(room_name);