Hi guys.
I have got four Planets (spheres), they are listed in a TopGUI-Window with guiLabels. I want to highlight them by Increasing their Size.
But of course do i have to decrease it again when i switch to the next Planet.
That is only possible when i store the Last Selected Planet..
How do i store that?
for TextButtonID=1 to PlanetCount(SelectedSystem) //Amount of Planets
if guiTextButton(textbuttonid,WindowW2/2-70,50+25*textbuttonid,100,50,Planet(textbuttonid,SelectedSystem).Name)
SelectedObject=TextButtonID
endif
next TextButtonID
Thats the current code for selecting a planet.
the selected planet is currently cartoonshaded in the mainloop.
thanks in advance.