I'm converting the code for the Maniac Miner game from AUM3, and in this function
if (event_type == EVENT_ENTITY || event_type == EVENT_PUSH || event_type == EVENT_IMPACT)
if (you.skill9 == 1) // collision with a rock or a monster
player.x = start_coords.x; // go to starting point
player.y = start_coords.y;
player.z = start_coords.z;
I get the error message "'x'; is not a member of 'function'"
I've been trying to figure out what that could mean, and how to fix it, but I have no idea.