Game Development Community

Unit help in RTS

by Shon Gale · in RTS Starter Kit · 09/20/2005 (11:05 am) · 2 replies

I have noticed the code %client.unit and %this.unit.add(). Can I get more info on the methods used in the unit value or a list of the methods available to %client
I don't know how to proceed on the research on this and appreciate help in decoding this as it seems to hold the player unit info I need to manage said units.

#1
09/21/2005 (5:07 am)
Sure, call dump() on the object in question.
#2
09/21/2005 (5:26 am)
Thank you very much! Added an echo to my createPlayer function and got a list of object and called dump();
Great feature!
Once again thanks!