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

Hero Selection

Status
Not open for further replies.
Level 4
Joined
Mar 23, 2018
Messages
30
Hello i want to ask something with hero selecting units, heroes that are behind circle of power, i dont want to have control of them only to see their spells when playing game. I tried to share view but it shares me control and everything. What to do?
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,877
I attached a map with a working system. The map requires the latest patch to open.

How to do it yourself:
Copy and paste the Shop Sharing ability and modify it's fields so that it doesn't have a Select User button or any visual effects.
Then give this ability to the selection Heroes and make sure that they're Allied with you.

Lastly, you can Disable these units using a special function available in version 1.31+. This may not even be necessary:
  • Shared Control Init
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Set VariableSet SharedUnit = Archmage 0010 <gen>
      • Custom script: call BlzPauseUnitEx(udg_SharedUnit, true)
      • Set VariableSet SharedUnit = Paladin 0005 <gen>
      • Custom script: call BlzPauseUnitEx(udg_SharedUnit, true)

If you can't or don't want to do that, you can Set the hero's Skill Points to 0 so they can't spend any:
  • Hero - Modify unspent skill points of SharedUnit: Set to 0 points

The end result is a selectable Hero that can open it's Hero Skill menu but can't select any skill or take any other actions.
 

Attachments

  • Shared Control 1.w3m
    17.2 KB · Views: 6
Last edited:
Status
Not open for further replies.
Top