Posted by: slird - Saturday, June 13, 2015 7:11:35 PM
In my Zero Hour Mission map, I have the early stage AI building two different attack teams; one infantry and one vehicle. Ive been messing around with the scripting but cannot get the AI to delay building the vehicle attack team. The teams are being built by running a subroutine "player is able to build units" via the "condition" in the team identity tab. I realize that I must change the condition, but do not know how to script it properly to get the AI to delay the vehicle team build. (e.g., every two minutes, or after an action takes place, etc...) Any suggestions?

Posted by: klingondragon - Sunday, June 14, 2015 7:58:57 AM
Just have a standard (non subroutine) script that doesn't deactivate upon success Have it as : IF True Then Player builds team Then change it so it runs every 120 seconds instead of every frame

Posted by: slird - Sunday, June 14, 2015 12:14:35 PM
Hmm...never thought of that. Thanks.

Posted by: Lengo - Sunday, June 28, 2015 11:32:35 PM
If Skirmishplayer has more than x infantry units in team, then Skirmishplayer builds vehicle team. If Skirmishplayer has more than x infantry units team1 AND If skirmishplayer has more than x vehicle units in team2 then set team1 to attack set team2 to attack

Posted by: slird - Wednesday, July 1, 2015 8:28:50 PM
Thanks, Lengo. But I am not making a skirmish map...it is a mission map.