Hello people, so I'm using AGS for the first time in my life to do a game for a jam. So, after saying this I'll also say that I've read all the tutorials/documentation and watch all the videos available out there but I can't find a solution to my problem.
So:
In room1 you can select two options, after selection one from a dialog, you go to room 2. The problem is that room 2 has a hotspot and I can't interect in any form with it, look, interact, grab, it doesn't matter. I can't log a Display(), nothing.
My dialog used in room 1 looks like this:
// Dialog script file
@S // Dialog startup entry point
return
1
cMimi: Debería apurarme
cMimi: Debo ir a la casa de quien pidio esto
StopDialog();
player.ChangeRoom(2, 336, 500);
player.ManualScaling = true;
player.Scaling = 20;
return
2
cMimi: No tengo prisa, creo que antes de ir iré a hacer las compras
stop
Hostpost from room 2 is:
function hHouse_Interact(Hotspot *theHotspot, CursorMode mode)
{
cMimi.Walk(343, 104, eBlock, eWalkableAreas);
}
Names are correct. I really don't understand what I'm missing. Thanks in advanced.
-----
Solution: I'm dumb. I was adding a Gui to the first room and changed its transparency to 100 to hide it. The problem is that it was still there when I changed it to room 2, so when I clicked on my hotspost I was clicking on the gui, I just couldn't see it.
So:
In room1 you can select two options, after selection one from a dialog, you go to room 2. The problem is that room 2 has a hotspot and I can't interect in any form with it, look, interact, grab, it doesn't matter. I can't log a Display(), nothing.
My dialog used in room 1 looks like this:
// Dialog script file
@S // Dialog startup entry point
return
1
cMimi: Debería apurarme
cMimi: Debo ir a la casa de quien pidio esto
StopDialog();
player.ChangeRoom(2, 336, 500);
player.ManualScaling = true;
player.Scaling = 20;
return
2
cMimi: No tengo prisa, creo que antes de ir iré a hacer las compras
stop
Hostpost from room 2 is:
function hHouse_Interact(Hotspot *theHotspot, CursorMode mode)
{
cMimi.Walk(343, 104, eBlock, eWalkableAreas);
}
Names are correct. I really don't understand what I'm missing. Thanks in advanced.
-----
Solution: I'm dumb. I was adding a Gui to the first room and changed its transparency to 100 to hide it. The problem is that it was still there when I changed it to room 2, so when I clicked on my hotspost I was clicking on the gui, I just couldn't see it.