PDA

View Full Version : How to fetch unit's param?


pcbun
06-01-2009, 03:52 AM
I want to show up unit's param in the chat box(for example Peasant's Attack/denfense....etc) how can I fetch these value from the game data? Any API to access them? I find function like AU.attack(), but as it is in the chat box, I just find no AU to use.
Thx in advance

pcbun
06-01-2009, 07:35 AM
I find a function Attack.atom_getpar(), it can fetch the value, however everytime it run, it will display a error message......