I'm not quite sure what you're asking, but I'll try to help you...
Quote:
Originally Posted by jukeey
Ok, this cosmetic a unit.
But what can i do, if i want to walk around my army with a for cycle?
I think something like this: for i=1 to 5 do writeln army[1].name
|
I don't understand what you mean here - "walk around my army with a for cycle". I'm not sure what the rest of it means either - are you talking about a specific section of code?
By the way, is English your first language? If not, then we may be running into an issue where you have a slightly different vocabulary than mine - you'll probably have to get me up to speed on what you mean...
By the way, if you speak Russion, the Russian developers frequent the Russian forums and they answer questions directly...
Quote:
Originally Posted by jukeey
name, buffs, defences, etcetera
Ok, Au.name(unit); but where the hell specify the "unit"
|
Are you referring to a specific file and section of code? If you give me the file name and the line numbers I may be able to help you decipher what is going on...
Quote:
Originally Posted by jukeey
Or what can i do, if i want to show a multitext on screen, with the return values of my function?
Pls, if its possible, and you know, help me at least with a small suggestion, or some lines code.
|
What do you want to show? Do you have a picture or something to communicate your idea? You can certainly use a return value (or values) in text display functions - I worked with that quite a bit in my mod.
By the way, are you intested in modding The Legend (TL), Armored Princess (AP), Crossworlds (CW), Warriors of the North (WotN), or all of them? Do you understand LUA? By the way, the
WotN Bug Fixes Thread serves as a mini-tutorial on changing sections of the LUA code to fix problems - that is a great start to get small bits of code to study...
If you can cite some specific code examples in specific files that you don't understand, I (or others) may be able to help you.
Also let me know what your goals are (i.e. add new features, change units, make a campaign, etc.).
If you have patience and time, you should be able to understand how the code works and start making changes...
/C\/C\