• 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.

The Jasscode AI functions and rest (How do they exactly work?)

Level 9
Joined
Apr 10, 2022
Messages
67
I've been using Jassscript since I learned the basics of making AI build, defend and attack. But after that, I'm still new to how or what the other functions do.

Please, help me a bit about how the other functions and codes work and how to use them properly, like what do they do and how to make use of their functions, some thing that was featured in the common.ai, but wasn't properly explained.

Here are some that I'm really need/want to know:
  • Sometimes, the AI won't revive their given hero, even if they are given an altar and even after they send the hero to attack a base and dies, it won't revive them until the hero needed in the next attack wave. How can I fix that?
  • How can I make the AI defend the player's own base?
  • How to turn off the AI when triggered to do so.

I know some of them are pretty easy, but "time" is really not on my side that I'm constantly busy IRL. College stuff and other things...
 
Top