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

Multiple AI Problem

Status
Not open for further replies.
Level 2
Joined
Jul 11, 2015
Messages
27
So what do I do if I have two+ different AI 'players' and i want them to do different things, how do i input that into the AI Editor/World Editor?:vw_wtf:
 
Level 2
Joined
Jul 11, 2015
Messages
27
Create the AIs, save them.

Import to your map and start the AIs with triggers.

Example:
If Player Race equals to Orc then
start ai: "OrcImportpath.ai"

Man I'm lost. I made the AI script I wanted, but I don't know how to plug it into the trigger.:goblin_wtf:
 
Level 17
Joined
Dec 11, 2014
Messages
2,004
1. Make the script
2. Export it
3. Import it with Import manager (Just like Custom models)
4.Find the GUI label: "AI". Like: "Unit", "Destructible", "Special effect" and "Hashtables". There, You find "Start campaign AI" and "Start Melee AI". Pick your taste. AND FINALLY, SET THE PATH OF THE TRIGGER TO YOUR AI SCRIPT.
Example:
  • AI - Start melee AI script for Player Variable: YourAIPathWillBeHere.ai
 
Level 2
Joined
Jul 11, 2015
Messages
27
1. Make the script
2. Export it
3. Import it with Import manager (Just like Custom models)
4.Find the GUI label: "AI". Like: "Unit", "Destructible", "Special effect" and "Hashtables". There, You find "Start campaign AI" and "Start Melee AI". Pick your taste. AND FINALLY, SET THE PATH OF THE TRIGGER TO YOUR AI SCRIPT.
Example:
  • AI - Start melee AI script for Player Variable: YourAIPathWillBeHere.ai

Got it, thank you!
 
Status
Not open for further replies.
Top