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!
-------- IF player hasn't used the command it will --------
-------- Pick every unit in the whole map that is a allie of player --------
Set Variable Set CM_TempPoint[1] = (Center of (Playable map area))
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
CMHeros Equal to False
Then - Actions
Set Variable Set CM_DummyGroup[1] = (Units within 1000000000.00 of CM_TempPoint[1] matching (((Owner of (Matching unit)) Equal to (Triggering player)) and ((((Matching unit) is selected by (Triggering player).) Equal to True) and (((Matching unit) belongs to an ally of (Triggering player).) Equal to True))).)
Else - Actions
Set Variable Set CM_DummyGroup[1] = (Units within 1000000000.00 of CM_TempPoint[1] matching ((((Owner of (Matching unit)) Equal to (Triggering player)) and (((Matching unit) is A Hero) Equal to True)) and ((((Matching unit) is selected by (Triggering player).) Equal to True) and (((Matching unit) belongs to an ally of (Triggering player).) Equal to True))).)
-------- If player is using the command than it will show message to player --------
Game - Display to (Player group((Triggering player))) for 15.00 seconds the text: |c00ff0000Error|r : |cffffcc00You allready have a unit locked on to|r,|cffffcc00To unlock tpye|r -unlock.
-------- Pick every unit in the whole map that is a allie of player --------
Set Variable Set CM_TempPoint[1] = (Center of (Playable map area))
Set Variable Set CM_DummyGroup[1] = (Units within 1000000000.00 of CM_TempPoint[1] matching (((Matching unit) Equal to CMUnit[(Player number of (Owner of (Matching unit)))]) and (((Owner of (Matching unit)) Equal to (Triggering player)) and (((Matching unit) is selected by (Triggering player).) Equal to True))).)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.