HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

radar type item??

03-03-2004, 08:21 PM#1
xtacb
right now i have this:

unit - uses an item
item being manipulated equals radar

Cinematic - Ping minimap for (All players matching ((Item-type of (Item carried by (Triggering unit) of type radar)) Equal to radar)) at (Position of (Random unit from (Units owned by Player 1 (Red)))) for 2.00 seconds, using a Simple ping of color (20.00%, 100.00%, 20.00%)

the two problems are that when used, it pings for all the players, not only the one using the radar. also , the pings are located at the start of the units ,meaning it wont follow the units around when the radar is used and the pings only stay in one place. also, it will ping dead units too

how should i make it so it only shows the pings to the player using the radar and it will follow units and ping their location and not dead ones?

i tried giving a variable to each unit(each player gets one hero) then pinging each of those but it still pinged dead units and units that were removed because of unused
03-03-2004, 09:10 PM#2
BattleBotv8.2
Right now my head is really bad, but can't you just show to owner of hero manipulating item?
03-03-2004, 09:24 PM#3
joseka
Use a time event to refresh the minimap ping like Every 5 seconds.. run trigers (your trigger) ignoring conditions
03-03-2004, 09:33 PM#4
BattleBotv8.2
I did this quickly but some reason it didnt ping every unit. Only a certain amount. There may be a max amount or something.
03-03-2004, 10:08 PM#5
xtacb
ok this should work right?

unit -acquires item
item equals radar
add owner of manipulating item to playergroupradar

unit -loses item
item equals radar
remove owner of manipulating item from playergroupradar

unit - uses item
item equals to radar
Unit Group - Pick every unit in (Units in (Playable map area)) and do (If (((Picked unit) is alive) Equal to True) then do (Cinematic - Ping minimap for playergroupradar at (Position of (Picked unit)) for 2.00 seconds, using a Simple ping of color (20.00%, 100.00%, 20.00%)) else do (Do nothing))
03-03-2004, 10:40 PM#6
BattleBotv8.2
Should work
03-04-2004, 01:22 AM#7
BananaTwist
try instead of player matching, owner of () unit
03-04-2004, 01:38 AM#8
KillR
Interesting. Is it possible to make a trigger so that a radar like item is used to ping other players that have the same item, and when Player 1 gets near the unit, the ping no longer appears?



-KillR
03-04-2004, 01:55 AM#9
BattleBotv8.2
Easy. Just add to a condition...

Code:
Boolean Comparisen:
((Picked unit) has an item of type (Radar) Equal to True

And Center region on XUnit and remove them from unit group.
03-04-2004, 03:02 AM#10
xtacb
hmm.. cant seem to find player matching, owner of () unit

its display to all players matching condition , whats after this? i cant seem to find owner of unit afterthat