• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[AI] Boss AI. - need help please

Status
Not open for further replies.
Level 4
Joined
Jul 25, 2007
Messages
71
Im making an RPG, and there are 5 main bosses. So... if theres 5 bosses, i want the fights to be epic. Not just 5 minutes of melee combat. i want the bosses to cast spells, run away, stun you, drain mana, etc. i want it to give you a run for your money. Would this be done through triggers or AI?
 
Level 11
Joined
Dec 11, 2007
Messages
888
this can be done with triggers (i dont have we open, it is something like this):
  • events - a unit is attacked
  • conditions - and (all cond are true)
    • attacked unit equal to BOSS
  • actions - set ChanceInteger equal to (random number between 1 and 15)
    • If\Then\Else multiple actions:
      • Conditions:
        • ChanceInteger equal to 2 (for example)
      • Then do actions:
        • Order attacked unit Mountain King - Storm Bolt
      • Else Actions:
    • If\Then\Else multiple actions:
      • Conditions:
        • ChanceInteger equal to 7 (for example)
      • Then do actions:
        • Order attacked unit move to random point in region
      • Else Actions:
ChanceInteger is an integer variable
use if\then\else to add more actions
 
Status
Not open for further replies.
Top