• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Request] Realtime Gameplay in GUI

Status
Not open for further replies.
Level 4
Joined
May 27, 2009
Messages
44
Stats:
Player 1 Red (Computer - Chaos)
Player 2 Blue (Player - Chaos)
Player 3 Teal (Player - Chaos)
Player 4 Purple (Player - Chaos)
Player 5 Yellow (Player - Chaos)
Player 6 Orange (Computer - Ancient)
Player 7 Green (Player - Ancient)
Player 8 Pink (Player - Ancient)
Player 9 Gray (Player - Ancient)
Player 10 Light Blue (Player - Ancient)
Player = Free slot for a Human player
Computer = Constant

Request:
1. Make a simple kill trigger that would display

RED has killed ORANGE for 250 gold!

####################################
(Player Color of (OwnerOfKillimhUnit)) has killed (Player Color of (OwnerOfDyingUnit)) for (200 * 50 per level of (DyingUnit))
####################################

2. Display assisting Heroes...
I find this one hard since it would display all allies assisting the unit along with their colors... CONFUSION!

Assisted by (Player Color of (OwnerOfAssistingUnit))

3. Killing Streak
Displays the following kill levels:

Killing Spree more than 3 kills
Owning more than 4 kills

that would be all... won't go hard on you~

4. Multikills
Check if for 20 seconds it has killed another hero.

Double Kill

5. End Streak
When an "owning hero has been killed" it displays

RED's Megakill streak has been ended by ORANGE

I hope someone would grant me this.
I get confused when I encounter a very long statement.
Thanks in advance^^

Please include a test-map so that everyone can learn it easily.
 
Last edited:
Level 7
Joined
Mar 13, 2008
Messages
228
well for kills streak:
create a varialble and call i t KillStreak, and set it to 0 in map init

  • Event
  • Unit - A unit dies
  • Conditions
  • Actions
  • Set Killstreak[Player number of [owner of killing unit] = Killstreak[Player number of [owner of killing unit] + 1
  • Set Killstreak[Player number of [owner of dying unit] = 0
the rest I think u can figure
 
Status
Not open for further replies.
Top