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

Radar Detect and Lost System

Status
Not open for further replies.
Level 16
Joined
Aug 20, 2009
Messages
1,554
i want a system, that pings the minimap with a red warning ping and with a upkeep sound, it also shows the ping and sound to friendly team of the detecting unit,

radar range is set up in a variable
visibility is well, if the unit is visible to that player or not. (not fogged or black masked or invisible.)

if there is an enemy coming within a unit's 'radar range' AND 'Visibility', PING and Sound it, and give text message to the detecting player and player's allies.

there is many type of units, each unit has diffrent radar range, and diffrent visibility,

it only pings when the coming target into the radar is a HERO.

and when that hero goes out of radar range + 250, and is not visible anymore to the players, the hero that goes out of range will be pinged once with a green ping, with a message "Target Lost" for the detecting players and player allies.

well, in GUI please :D

thx.
 
Level 3
Joined
Jul 7, 2009
Messages
45
Well if i understood right what you want, this should be it, but i don't know how to make it ping when he leaves those 250...
Anyway, here is the target acquired part.

  • Unit Acquired
    • Events
      • Unit - A unit comes within X of "Radar" 0000 <gen>
    • Conditions
    • Actions
      • Sound - Play UpkeepRing <gen>
      • Cinematic - Ping minimap for PlayerTeam1 at (Position of (Triggering unit)) for 2.00 seconds, using a Warning ping of color (100.00%, 0.00%, 0.00%)
      • Game - Display to PlayerTeam1 the text: (Target acquired + (Name of (Triggering unit)))
And you will need this on Map initialization...
  • Set PlayerTeam1 (or how ever you want) = (All allies of Player X )
 
Status
Not open for further replies.
Top