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

Question about AI Ability Visibility

Status
Not open for further replies.
Level 1
Joined
Mar 15, 2010
Messages
2
Hey guys, I'm new to these forums and have done a search but couldn't find the answer so I'm going to ask my question here :)

Basically I am designing a map and have it so when Player Red summons a unit, it makes one for Player Green instead, so Player Red can't control him. However, I want Red to be able to see Greens abilities, but not use them (sort of like how you can see the inventory). Is this possible? I have meddled with the alliance parameters for a while and can't figure it out.

Thanks in advance! :grin:
 
In your map initialization trigger put the trigger actions (in this order)

  • Player - Turn Advanced Shared Unit Control on for player 3 to player 1
  • Player - Turn Shared Unit Control off for player 3 to player 1
This will allow Player 1 to view the hero icons for Player 3 but not have unit control; I don't know if it allows you to see a unit's interface... I think it was Anachron or some other well-known poster who I learned this from.

Edit: I don't think that will work, but you can try it... I don't think the game is capable to display the interface without being able to click it...

I can give you a custom script that will prevent you from issuing orders, but it would affect all of your units, not just the summon...
 
Status
Not open for further replies.
Top