Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[8.35]AI spell off
#1
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))
...
#2
This bug wasnt fixed for a long time ago.


Possibly Related Threads…
Thread Author Replies Views Last Post
  fort q spell dalyarak1 1 2,756 2012-06-06, 23:05:12
Last Post: eSVau
  Spell activating with keyboard. Doomhammer112 13 7,948 2010-02-06, 18:29:21
Last Post: khEg
  [8.60] Useing tele and missile spell. Doomhammer112 9 5,495 2009-06-17, 20:00:02
Last Post: horselance



Users browsing this thread: 1 Guest(s)