Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - herecomesfran

#1
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

function pcScreenSelect_AnyClick()
{
player.ChangeRoom(3);
}


I'd appreciate your help!
SMF spam blocked by CleanTalk