2007-12-24, 13:48:49
In the start of the game
If I set to set the game
custom mode=>tank level more than 1
the AI will not use the abbilities (or I think he just doesnt learns it) until he gains a level.
AI Init(trigger)
Actions
...
Unit - Order (Last created unit) to Move To Move_Points[(2 + Player_Team[(Integer A)])]
Hero - Learn skill for (Last created unit): Tank-Cannon
Set Tank[(Integer A)] = (Last created unit)
Set Tank_Costs[(Integer A)] = (Point-value of (Last created unit))
...
Actions
...
Unit - Order (Last created unit) to Move To Move_Points[(2 + Player_Team[(Integer A)])]
Set Tank[(Integer A)] = (Last created unit)
For each (Integer A) from 1 to (Level of Tank[(Integer A)]), do (Actions)
Loop - Actions
Trigger - Run AI Skills <gen> (checking conditions)
Set Tank_Costs[(Integer A)] = (Point-value of (Last created unit))
...
If I set to set the game
custom mode=>tank level more than 1
the AI will not use the abbilities (or I think he just doesnt learns it) until he gains a level.
AI Init(trigger)
Actions
...
Unit - Order (Last created unit) to Move To Move_Points[(2 + Player_Team[(Integer A)])]
Hero - Learn skill for (Last created unit): Tank-Cannon
Set Tank[(Integer A)] = (Last created unit)
Set Tank_Costs[(Integer A)] = (Point-value of (Last created unit))
...
Actions
...
Unit - Order (Last created unit) to Move To Move_Points[(2 + Player_Team[(Integer A)])]
Set Tank[(Integer A)] = (Last created unit)
For each (Integer A) from 1 to (Level of Tank[(Integer A)]), do (Actions)
Loop - Actions
Trigger - Run AI Skills <gen> (checking conditions)
Set Tank_Costs[(Integer A)] = (Point-value of (Last created unit))
...