jass ai

  1. Axis.Highpriest

    Structs in JASS AI?

    Hi there : ) TLDR at the end. I'm currently trying to write a campaign AI and as you might imagine, it's not working. I have the following line at the beginning of the main function to get some semblance of feedback: call DisplayTextToPlayer(Player(22),0,0,"AI started") When this line shows...
  2. Lordliw

    JASS AI Attacking Enemy Base

    Hello. I wonder if I can make my AI attack every building. When I put SuicideOnEnemyEx(), they aim to destroy the town hall and once it's destroyed they stop and don't attack any further. Is there a way I can change it so they aim for the whole base and not just the town hall? Thanks in fowards...
  3. Lordliw

    JASS AI Base Scripting

    Hello, I'm wondering how I can make the AI destroy all enemy buildings. Because when I put SuicideOnPlayerEx it just gets their town hall and then they stop. Thanks in forward to those that answer.
  4. ElderTreant

    [JASS] How to get location of ally's army

    Hi guys, I'm going to make AI stick together by lead them to other ally's army. I have made every unit of AI follow their army or their heroes. It worked pretty good. set u = FirstOfGroup(g) ...... // Follow their army call IssuePointOrder(u, "move", GetLocationX(army_loc[main_army])...
  5. Xrytos

    Custom AI stops working partway through map

    Hello all, this is my first post on hiveworkshop so bear with me. I'm trying to create AI for a map i'm making with a simple JASS script, and controlling it through commands in the GUI. Here is the section of the script that controls the attack behavior: And here is the trigger that tells...
  6. InSaNe_97

    [General] JASS, I need help for simple AI.

    Greetings. I am learning JASS so I need a bit of help. I am asking public to make Me a simple AI in JASS. That way I will be able to much easier understand things and finish My map. AI: 1. B and A in 180 r. while B is running "2" |then| Order B to attack A for 2s *. 2. B and C in 140 r. |then|...
  7. FireValley

    [Solved] Issue Peon to build at specific location.

    Hello, is there any way that I could use triggers or Jass to issue a worker to build certain buildings at specific locations like X and Y.
  8. Tommi Gustafsson

    Must Have Campaign AI Programming Techniques

    Hello! I was writing a couple of AIs for a Warcraft III Campaign, and came up some very important techniques that have not been discussed in any of the tutorials I've seen. 1. Place your common AI code and globals to a custom common.ai If you are programming a lot of custom code for the AIs...
  9. Nowow

    Intermidiate AI concepts - boring no longer

    Intermediate AI workflow concepts - boring no longer If you've played a campaign or two from this site, you'd know that the AI in most maps is made the same way: there's a base with some defenses, which will occasionally send out groups of units to your base. And that's about it. This causes...