AI how to do...

Kyux

Active Member
Reaction score
3
hey, i want to make some AI

i want it to work for any number of players (1 hero per team, 4 teams in total)
i want them to kill shit, pick items up off the ground, buy items and level up/skill up.

how the hell do i do this?
 

NindoOne

TH.net Regular
Reaction score
17
hey, i want to make some AI

i want it to work for any number of players (1 hero per team, 4 teams in total)
i want them to kill shit, pick items up off the ground, buy items and level up/skill up.

how the hell do i do this?

a lots of If/Then/Else actions.
 

Kyux

Active Member
Reaction score
3
it's 4 people, pref all users, you kill the other 3 enemies, pick up the items they drop and buy items from shops.
 

Nenad

~Choco Coronet~ Omnomnom
Reaction score
137
You would have to trigger everything, from picking up items to leveling up to using skills.

e.g

Unit comes withing 200 range of this and this unit
Condition Unit's hitpoints <90%
Actions order this and this unit to cast storm bolt

Kind of like Dragon Age:Origins tactics really, if you played it ^^
 

Kyux

Active Member
Reaction score
3
so trigger everything.... fuck.... well i saw a right click action so i think i'll just do:

unitA within 200 range of unit B
controller of unitB is computer
order unitB to right click unitA

and then skill ups is the next Q. how should i do those? either replace character with a diff one and just add attributes each level or have like 14 triggers (15 levels) and each makes him learn a new spell and then turns off that trigger and activates the next one.... which?

please comment on either section
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top