• 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 Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

JASS AI, DefendUser

Status
Not open for further replies.
Level 20
Joined
Apr 20, 2014
Messages
637
Hello,

I just would like to know if there was a function, similar to :

Code:
call SetDefendPlayer( true )

Because this one seems to not working on a team with only AI.
It's for a campaign, so it's a quite simple AI, but I just would like them to defend each others.

Is it possible?
 
Well, it does not work in my JASS AI.
Certainly because it's a campaign AI and not a melee one.

I am looking for a script allowing an AI to defend another one. And I can't find an already existing one.
 
Status
Not open for further replies.
Back
Top