Delete usr tanks on logout? in Developer Help
|
|
ok,...
I have not made this code yet, but... i try to explain..
I am working on a Command and Conquer game. The game allows you to build your base and build tanks, different tanks and lots of tanks...
now, i am making it so when you logout your tanks go into your inventory, So you can deploy them at your next login.
problem is if they own alot of tanks and there all over the map how do i delete them at logout.
there is a owner var for all there tanks
my game
http://games.byond.com/hub/Kylemark/cnc
thanks
|
Either way, you will need to loop through either the list or the world (depending on the method you have chosen) and delete the tanks.