• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

[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?
 
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.
Back
Top