🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!
-------- 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.