Hi there,
An issue came up when I was testing a game I'm creating. I have 10 buttons on the left of my screen. Each is an independant "path" that the players can take. Anyway, when a button is pushed, the player is prompted with their name, which is stored in a variable. Their name is displayed on the right of the (main) screen. If you click on their name, the game goes to that players current position. I wish I could figure out how to link an image because I have screenshots. LOL.
It's difficult to explain really, but here's the main problem: If only one player (Player 1) is playing, the code works perfectly. However, if more than one player is playing, the hotspots on their name will NOT respond. Here is the code for the player names:
if P1_1 = 1 then Action.GoToFrame "ID-1", 1, 1
if P1_2 = 1 then Action.GoToFrame "ID-1_2", 1, 1
if P1_3 = 1 then Action.GoToFrame "ID-1_3", 1, 1
This would be for player 1. Player 2's hotspot would be "P2_1 and ID-2", and player 3 "P3_1, ID-3" etc.
Individually they work perfectly. But if more than 1 player is "active", only the current player will work. All other hotspots seem like they are disabled and won't respond.
This doesn't make sense because EVERY player's variable is different. Is this a bug in AM?
Thanks in advance.