Now that I've got your attention(hopefully) I'm kinda putting this here to see if people will actually look at this. Well anyway, does anyone know of a way to have two objects keep track of one variable (like ammo for a left and right object)?
Now that I've got your attention(hopefully) I'm kinda putting this here to see if people will actually look at this. Well anyway, does anyone know of a way to have two objects keep track of one variable (like ammo for a left and right object)?
Heh, just make one of them make the variable, and the other reference it with objectname.variable.
Unlike luda, I'm less forgiving.
No front page for you!dont worry bout jakex use a global variable to do that all you gotta do is put global.(variable name) eg global.ammo
but when refering to it in another object you still gotta say global. ok hope you get this and it helps