Make AI Commander Stronger
Posted: Sun Apr 17, 2016 7:45 am
Hello Community,
I'm working on a mod where you can play as a clone or droid Commander and everytime I play CIS, a clone commander e.g. Commander Appo on Coruscant runs around.
That's great, but when it comes to combat or health, the Commander doesn't differ from other troopers when it comes to AI.
So the question is: Is it possible (in the lua maybe) to make a single UnitType stronger in combat and give it more HP?
I know that you can call the event SetClassProperty("blablabla", "MaxHealth", "x"). But can you also call that event for AI units only?
Because if I select the commanders unit the health and stuff should be back to normal again.
Can you check with some specific function in the lua if the current user of the unit is AI?
it would be so cool to make special AI units stronger.
Thank you in advance,
The66Order66
I'm working on a mod where you can play as a clone or droid Commander and everytime I play CIS, a clone commander e.g. Commander Appo on Coruscant runs around.
That's great, but when it comes to combat or health, the Commander doesn't differ from other troopers when it comes to AI.
So the question is: Is it possible (in the lua maybe) to make a single UnitType stronger in combat and give it more HP?
I know that you can call the event SetClassProperty("blablabla", "MaxHealth", "x"). But can you also call that event for AI units only?
Because if I select the commanders unit the health and stuff should be back to normal again.
Can you check with some specific function in the lua if the current user of the unit is AI?
it would be so cool to make special AI units stronger.
Thank you in advance,
The66Order66