- Joined
- Aug 6, 2015
- Messages
- 815
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ping map

Events


Player - Player 1 (Red) types a chat message containing -ping as An exact match


Player - Player 2 (Blue) types a chat message containing -ping as An exact match


Player - Player 3 (Teal) types a chat message containing -ping as An exact match


Player - Player 4 (Purple) types a chat message containing -ping as An exact match


Player - Player 5 (Yellow) types a chat message containing -ping as An exact match


Player - Player 6 (Orange) types a chat message containing -ping as An exact match


Player - Player 7 (Green) types a chat message containing -ping as An exact match


Player - Player 8 (Pink) types a chat message containing -ping as An exact match

Conditions

Actions


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions



Then - Actions




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)







Else - Actions








Do nothing




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 2 (Blue)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (0.00%, 0.00%, 100.00%)







Else - Actions








Do nothing




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 3 (Teal)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (0.00%, 100.00%, 100.00%)







Else - Actions








Do nothing




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 4 (Purple)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (100.00%, 0.00%, 100.00%)







Else - Actions








Do nothing




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 5 (Yellow)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (100.00%, 100.00%, 0.00%)







Else - Actions








Do nothing




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 6 (Orange)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (100.00%, 50.00%, 0.00%)







Else - Actions








Do nothing




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 7 (Green)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)







Else - Actions








Do nothing




Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 8 (Pink)) and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Cinematic - Ping minimap for (Player group((Triggering player))) at (Position of (Picked unit)) for 5.00 seconds, using a Simple ping of color (100.00%, 35.00%, 45.00%)







Else - Actions








Do nothing



Else - Actions




Do nothing
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
here

Then - Actions

Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
1. remove the "do nothing" leave it blanc instead
2. you still leak locations
3. you leak unit groups
4. There needs to be a condition in the first if block otherwise nothing will ever happen.
5. Don't ever copy paste unit groups like that, you only need one. Triggering player.
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
here
Then - Actions
Unit Group - Pick every unit in (Units in (Playable map area) owned by Player 1 (Red)) and do (Actions)
edit: https://www.hiveworkshop.com/forums...-0-0-3-a-239117/?prev=search=ping&d=list&r=20
ok i did deleted the all "" Do nothing "" also i added an condition at start, if payer is playing
still i don't understand your
2. you still leak locations
3. you leak unit groups
5. Don't ever copy paste unit groups like that, you only need one. Triggering player.
Ping map

Events


Player - Player 1 (Red) types a chat message containing -ping as An exact match


Player - Player 2 (Blue) types a chat message containing -ping as An exact match


Player - Player 3 (Teal) types a chat message containing -ping as An exact match


Player - Player 4 (Purple) types a chat message containing -ping as An exact match


Player - Player 5 (Yellow) types a chat message containing -ping as An exact match


Player - Player 6 (Orange) types a chat message containing -ping as An exact match


Player - Player 7 (Green) types a chat message containing -ping as An exact match


Player - Player 8 (Pink) types a chat message containing -ping as An exact match

Conditions

Actions


Set temp = (Entire map)


If (All Conditions are True) then do (Then Actions) else do (Else Actions)



If - Conditions




((Triggering player) slot status) Equal to Is playing



Then - Actions




Set TempGroup = (Units in temp owned by Player 1 (Red))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (100.00%, 0.00%, 0.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions




Set TempGroup = (Units in temp owned by Player 2 (Blue))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (0.00%, 0.00%, 100.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions




Set TempGroup = (Units in temp owned by Player 3 (Teal))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (0.00%, 100.00%, 100.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions




Set TempGroup = (Units in temp owned by Player 4 (Purple))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (100.00%, 0.00%, 100.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions




Set TempGroup = (Units in temp owned by Player 5 (Yellow))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (100.00%, 100.00%, 0.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions




Set TempGroup = (Units in temp owned by Player 6 (Orange))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (100.00%, 50.00%, 0.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions




Set TempGroup = (Units in temp owned by Player 7 (Green))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (0.00%, 100.00%, 0.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions




Set TempGroup = (Units in temp owned by Player 8 (Pink))




Unit Group - Pick every unit in TempGroup and do (Actions)





Loop - Actions






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








((Picked unit) is A structure) Equal to True







Then - Actions








Set TemLoc = (Position of (Picked unit))








Custom script: call DestroyGroup(udg_TempGroup)








Cinematic - Ping minimap for (Player group((Triggering player))) at TemLoc for 5.00 seconds, using a Simple ping of color (100.00%, 35.00%, 45.00%)








Custom script: call RemoveLocation(udg_TemLoc)







Else - Actions



Else - Actions
|
|
Untitled Trigger 003

Events

Conditions

Actions


Set temp_group = (Units in (Playable map area))


Unit Group - Pick every unit in temp_group and do (Actions)



Loop - Actions




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






((Picked unit) is A structure) Equal to True





Then - Actions






-------- Red --------






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








(Owner of (Picked unit)) Equal to Player 1 (Red)







Then - Actions








Set real[0] = 100.00








Set real[1] = 0.00








Set real[2] = 0.00







Else - Actions






-------- Blue --------






If (All Conditions are True) then do (Then Actions) else do (Else Actions)







If - Conditions








(Owner of (Picked unit)) Equal to Player 2 (Blue)







Then - Actions








Set real[0] = 0.00








Set real[1] = 100.00








Set real[2] = 0.00







Else - Actions






-------- Add the other colours you want --------






For each (Integer A) from 1 to 12, do (Actions)







Loop - Actions








If (All Conditions are True) then do (Then Actions) else do (Else Actions)









If - Conditions










(Player((Integer A))) Equal to (Triggering player)









Then - Actions










Set TempLoc[0] = (Position of (Picked unit))










Cinematic - Ping minimap for (All players matching ((Matching player) Equal to (Triggering player))) at (Center of (Playable map area)) for 5.00 seconds, using a Simple ping of color (real[0]%, real[1]%, real[2]%)










Custom script: call RemoveLocation(udg_TempLoc[0])









Else - Actions





Else - Actions


Custom script: call DestroyGroup(udg_temp_group)
What type of variable is showping?
Ping Command

Events


Player - Player 1 (Red) types a chat message containing -ping as An exact match


Player - Player 2 (Blue) types a chat message containing -ping as An exact match


Player - Player 3 (Teal) types a chat message containing -ping as An exact match


Player - Player 4 (Purple) types a chat message containing -ping as An exact match


Player - Player 5 (Yellow) types a chat message containing -ping as An exact match


Player - Player 6 (Orange) types a chat message containing -ping as An exact match


Player - Player 7 (Green) types a chat message containing -ping as An exact match


Player - Player 8 (Pink) types a chat message containing -ping as An exact match

Conditions

Actions


Set playercommand = (Triggering player)


Set ShowPing = (Player group(playercommand))


Custom script: set bj_wantDestroyGroup = true


Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)



Loop - Actions




Set tempUnit = (Picked unit)




Set tempPlayer = (Owner of tempUnit)




Set PlayerNumberPing = (Player number of tempPlayer)




If (All Conditions are True) then do (Then Actions) else do (Else Actions)





If - Conditions






(tempUnit is A structure) Equal to True






(tempUnit is alive) Equal to True





Then - Actions






Set templocping = (Position of tempUnit)






Cinematic - Ping minimap for ShowPing at templocping for 5.00 seconds, using a Simple ping of color (pingColorRed[PlayerNumberPing]%, pingColorGreen[PlayerNumberPing]%, pingColorBlue[PlayerNumberPing]%)






Custom script: call RemoveLocation(udg_templocping)





Else - Actions


Custom script: call DestroyForce(udg_ShowPing)
ColoredPingConfig

Events


Map initialization

Conditions

Actions


-------- red --------


Set pingColorRed[1] = 255.00


Set pingColorGreen[1] = 2.00


Set pingColorBlue[1] = 2.00


-------- blue --------


Set pingColorRed[2] = 0.00


Set pingColorGreen[2] = 65.00


Set pingColorBlue[2] = 255.00


-------- teal --------


Set pingColorRed[3] = 27.00


Set pingColorGreen[3] = 229.00


Set pingColorBlue[3] = 184.00


-------- purple --------


Set pingColorRed[4] = 83.00


Set pingColorGreen[4] = 0.00


Set pingColorBlue[4] = 128.00


-------- yellow --------


Set pingColorRed[5] = 255.00


Set pingColorGreen[5] = 255.00


Set pingColorBlue[5] = 0.00


-------- orange --------


Set pingColorRed[6] = 254.00


Set pingColorGreen[6] = 137.00


Set pingColorBlue[6] = 13.00


-------- green --------


Set pingColorRed[7] = 31.00


Set pingColorGreen[7] = 191.00


Set pingColorBlue[7] = 0.00


-------- pink --------


Set pingColorRed[8] = 228.00


Set pingColorGreen[8] = 90.00


Set pingColorBlue[8] = 170.00
There may only be 64 units in a group as far as I know. So if there are more, only 64 buildings will get pinged.
I made this you.
Hope you like it, it works more like a radar sweeping from left to right. Adjust the duration and width depending on how many units in your map as it will only have 16 pings max (from our testing).
View attachment 150903
Fixed, sorry.
I changed the colour to player number of picked unit instead of the integer A which was only the colour of the triggering player.
View attachment 150922
so if i got more buildings i need to make width lower?Perhaps you can try get the trigger to fire off when you first start the map. Don't forget that if there are more than 16 units in the band, it will override the previous pings. Adjust the width depending on number of buildings you have.
