Hi! I am just starting to learn AGS. My game doesn't have a main character that is being displayed and I am having a hard time figuring out how I can trigger events without the character crossing edges etc.
I wrote the following line of code, hoping that once the player clicks a certain hotspot, the function would get called and the game would move on to the next room. Sadly it's not working and I don't understand why.
Code: ags
I'd appreciate your help!
I wrote the following line of code, hoping that once the player clicks a certain hotspot, the function would get called and the game would move on to the next room. Sadly it's not working and I don't understand why.
function pcScreenSelect_AnyClick()
{
player.ChangeRoom(3);
}
I'd appreciate your help!