Hi, sorry for my english in advance:
I am making a game in which you buy ships to play with. I want to use a array to make the changes in the ships that are equipped, this is my solution in theory:
this is an example of the array:
ship1---Equipped
Ship2---NotEquipped
Ship3---NotEquipped ... and so on
So, when the player equips "ship 3", for example, I want all the other ships to change to NotEquipped, this will make easier to add ships in the future. I don�t know if there is a way to make a simple programming for this or a bunch of conditionals like:
IF click on "ship2 equipButton"------ set Ship1 to NotEquipped
set Ship2 to Equipped
set Ship3 to NotEquipped...
hope it was clear and someone can help.
thank you.