• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[AI] Melee AI?

Status
Not open for further replies.
Level 2
Joined
Oct 29, 2004
Messages
12
:shock: Hey all! okay I figured out the AI crap, and i have a great ai, but do i have to make Triggers to load up my AI in World Editor, well ive made some Melee AI's and ive added them to my map, and set triggers to make them load for the computer of a certain color, well when i hit test ai it plays the AI fine and whatever on the example map "twisted Meadows", i took twisted meadows, and added my own triggers, and i guess by doing this it doesnt make it a melee map anymore, is there another way to make the AI load up without adding triggers? or are my triggers wrong i have my triggers doing this right now to load my AI "if ((Player 1 (RED) controller) Equal to Computer) then do (AI-Start Melee Script for player 1(RED):WAR3MAPIMPORTED\Raidersgrunt.ai)

i have two of these for my 2 AI's? Whats wrong please help. Is it my triggers? my map? please help!!!!! :shock:
 
Level 2
Joined
Sep 4, 2004
Messages
30
You have to load your ai with a trigger or with a
jass script code, or you figure out how the ai
editor loads it without one :)

In your conditions you must also check "player slot
status" = "is playing" or you would load them
for players who you did not set at the start.
(i dont know if this even causes any error, maybe
not but it looks more pro :) )
Also check for the race (except yours covers all).

I test my melee AIs with the ai editor on blizz
melee maps. Then i insert them into my all-around
modified map and lets see how it acts in extreem
situations :) (i.e. Ice Crown 3v3v3v3 with 4x mines
and 2x trees)

ps: use the random function if u have two different
orc AIs to load them randomly for orc CPU-players.
 
Status
Not open for further replies.
Top