[8.35]AI spell off - Printable Version +- Official Battle Tanks Community (https://btanks.net/forum) +-- Forum: Battle Tanks - Warcraft III (https://btanks.net/forum/forumdisplay.php?fid=3) +--- Forum: Bug Reports (https://btanks.net/forum/forumdisplay.php?fid=13) +---- Forum: Solved (https://btanks.net/forum/forumdisplay.php?fid=20) +---- Thread: [8.35]AI spell off (/showthread.php?tid=2343) |
[8.35]AI spell off - LuckyD0g - 2007-12-24 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)) ... Re: [8.35]AI spell off - LuckyD0g - 2008-03-28 This bug wasnt fixed for a long time ago. |