†ALPHA†
New Member
- Reaction score
- 3
I'm working on a fairly basic campaign and am using custom models. I tried writing a trigger that would train and "group" a custom unit for the computer opponent. The trigger fails to train the custom unit, however. I've read that the AI editor (which I've never used) is the only way to use custom races, but I want to highly control who and when the computer trains and attacks - I don't want it "doing its own thing".
This is my code:
Coincidentally, when the event was a periodic time it wouldn't work at all - even with a standard unit (footman). Your help on both my issues would be greatly appreciated!
This is my code:
Code:
Training
Events
Time - Elapsed game time is 5.00 seconds
Conditions
Actions
Unit - Order Barracks 0012 <gen> to train/upgrade to a Man-at-Arms
Unit Group - Add (Trained unit) to StormwindAttackers
Coincidentally, when the event was a periodic time it wouldn't work at all - even with a standard unit (footman). Your help on both my issues would be greatly appreciated!