• 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.
  • Create a faction for Warcraft 3 and enter Hive's 19th Techtree Contest: Co-Op Commanders! Click here to enter!
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 21st Texturing Contest: Upgrade is now concluded, time to vote for your favourite set of icons! Click here to vote!

Shared Control

Status
Not open for further replies.
Level 10
Joined
Apr 3, 2006
Messages
535
Just wondering, is it possible to create a hero via triggers, then give the hero to player 2, then make player 2 have advanced shared control so you can still use there hero?? All of which via triggers without player 2 having to toggle the shared control options??

I am looking at this as a way of having a single player option on one of my RPG maps and giving the second hero to player 2 seems to be my only viable option.
 
Level 7
Joined
Mar 28, 2009
Messages
210
Yes it is possible i give you a example
  • Helping Folks With Triggers
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Unit - Create 1 Paladin for Player 2 (Blue) at (Center of (Playable map area)) facing Default building facing degrees
      • Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision
      • Player - For Player 2 (Blue), turn Full shared units On toward Player 1 (Red)
      • Player - For Player 2 (Blue), turn Shared units On toward Player 1 (Red)
It migth have some leaks but u get the point :D
 
Level 6
Joined
May 13, 2009
Messages
260
Leak fixed :)
  • Corpse trigger
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Set Anti_leak_location = (Center of (Playable map area))
      • Unit - Create 1 Paladin for Player 2 (Blue) at Anti_leak_location facing Default building facing degrees
      • Player - Make Player 2 (Blue) treat Player 1 (Red) as an Ally with shared vision
      • Player - For Player 2 (Blue), turn Full shared units On toward Player 1 (Red)
      • Player - For Player 2 (Blue), turn Shared units On toward Player 1 (Red)
      • Custom script: call RemoveLocation( udg_Anti_leak_location )
 
Level 10
Joined
Apr 3, 2006
Messages
535
thank you for your help both of you, i have managed to get this working now +rep to both of you
 
Status
Not open for further replies.
Top