Killstreak Sounds

Status
Not open for further replies.

ODST575

O

ODST575

Hi i was wondering if any body new how i could make somthing like this
I kill 2 people without dieing then a sound would play saying 'Double kill'
same for more like triple kill,multi kill etc
so can any one help??
 
It's as simple as this:

  • Melee Initialization
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Hashtable - Create a hashtable
      • Set Hashtable = (Last created hashtable)
      • Set sounds[0] = *sound_for_first_kill*
      • Set sounds[1] = *sound_for_second_kill*
      • Set sounds[2] = *sound_for_third_kill*
      • ...
  • Untitled Trigger 021
    • Events
      • Unit - A unit Dies
    • Conditions
    • Actions
      • Hashtable - Clear all child hashtables of child (Key (Triggering unit)) in Hashtable
      • Set integer = (Load (Key kills) of (Key (Killing unit)) from Hashtable)
      • Sound - Play sounds[integer]
      • Hashtable - Save (integer + 1) as (Key kills) of (Key (Killing unit)) in Hashtable
Modify as needed.
 
Status
Not open for further replies.
Back
Top