I have a set of variables set up to govern the different planets in my space game, each planet has two variables at the moment, it's atmosphere, and it's structural stability. I want to display these variables, whenever the player puts the mouseobject near the planet in question, for example, the player moves the mouse over the planet earth, well earth's variables should be displayed, this is why I came up with the following code...
`planet stats
if object collision(8000,earth)>0
set cursor 500,500: print earthair(0),earthground(0)
endif
if object collision(8000,mars)>0
set cursor 500,500: print marsair(0),marsground(0)
endif
as you can see, I have two planets in that code snippet that I am trying to display text for, yet the lines of text for the planet mars, appear when the mouseobject(8000) is colliding with earth! To make matters work, the text doesn't even show up when moving the mouse object onto mars, so to sum it up, both the text for earth, and mars are appearing when the mouse is near earth, this shouldn't happen, only earths variables should appear when the mouse object is colliding with earth, and only mars's variables should show when the mouse object is colliding with mars!
Guns arn't the problem, people are the problem, shoot all the people and guns arn't a problem anymore.