04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
In fact, DefineAiHelper is just used for 'equivalent type' (paladin is a sort of knight).
Build/train/repair/upgrade/research are automatically filled with 'buttons' (as human does normally to do the action).
I will fix comment and some game data scripts soon.
Last edited by jarod42 on Wed Jan 23, 2013 9:51 pm, edited 1 time in total.
Reason:Fix typo
I have unit-caanoo-pioneer which can build a unit-caanoo-townhall on a unit-buildpoint-townhall, but the AI never builds it (AiNeed("unit-caanoo-townhall"), AiSet("unit-caanoo-townhall", 1)).
The player can build it no problem. There must be something I'm missing.
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me
I worked it out. It seems the buttons must be defined along with the rest of the buttons, rather then just slapped on at the end of the lua scripts.
04:27 jim4 why haven't you added wc1 support? this project sucks. i'm only going to use freecraft
05:06 jim4 finished wc1 support yet? i've been waiting for 6 years
05:10 jim4 new things scare me