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

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.
 
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
 
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 )
 
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.
Back
Top