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

Needing Help over there.

Status
Not open for further replies.
Level 3
Joined
Aug 31, 2008
Messages
22
Hi all, i'm making a ninja style map ( tdm ).
I need a good multiboard system and a max kill limit to reach in order to win.
I even need of hotkey's fix..I don't know why but some of them doesn't work and i have to use a custom program in order to click with my keyboard.
something nice would even be a dota like sound system with first blood and all the sounds for a player that's in a spree ( i already have all the sounds i just need to know how to put them in a trigger. ).

Help is appreciated ^^
 
Level 3
Joined
Aug 31, 2008
Messages
22
I've worked more from when i posted, now i fixed hotkeys and multiboard and reach kill limit!

Now I need dota sounds trigger and a Prevent Team Kill trigger so people of the same team won't kill themselves to gain points.
 
Level 3
Joined
Aug 31, 2008
Messages
22
Thank you very much, it works :).

Still needing of Dota like sounds trigger with spree and so on and, since that i'm here, a trigger that allows the host to choose the score limit to win instead of the trigger that i have that ends the game only at 25 kills.
 
Level 13
Joined
Sep 14, 2008
Messages
1,408
First of all you need the sounds. (look on google or youtube... or if you play counterstrike online than look in your sounds folder)

Then you import them.

And you need an integer for every player (or maybe 1 integer array) and a trigger which looks similar to this:

Event: Unit dies
Condition: Triggering unit is a hero = true
Action:
Set "TheCreatedIntegerArray[PlayerNumer of (owner of killing unit)]" + 1
If("TheCreatedIntegerArray[PlayerNumber of (owner of killing unit)]" = 3)
Then:play Sound.. Multikill
Else: If ("Array = 5")
Then: Player Monsterkill

And so on.
And you need a second trigger:

Event: Unit dies
Condition: Dying Unit = Hero
Event: Set "creatIntegerArray[Player number of (owner of dying unit)]" = 0


And for the chose you need to use dialogs...:

1. Create 1. dialog variable
2. Create 1. dialog button array
3. Create a trigger:

Event: IMPORTANT (not map initalization) time past = 0.01 sec
Cond: no
Event:
Dialog - Change title to "Chose kill counter" (or whatever you want)
Dialog - Create button for "YourDialog" named "5"
Set - "yourDialogButtonArray[1] = last created button
Dialog - Create button for "yourDialog" named "10"
Set - "youdialogButtonArray[2] = last created button
and so on...
at the end:
Show "yourDialog" to "player1(red)"

Then you need the trigger which sets the kills:

Event: Dialog - Button is klicked for "yourDialog"
Condition: No
Action:
If(klicked button = "YouButtonArray[1]")
Then: Set "Variable Integer "KillLimit" = 5
Else: If(klicked button = "YourButtonArray[2]"
Then: Set "Variable Integer "KillLimit" = 10

and so on.

If you didn't understand me or have any questions just post them or pm me...

(I had no we so I couldn't show real triggers...)
 
Level 3
Joined
Aug 31, 2008
Messages
22
well I kinda understood what you wrote, but if you have msn messenger we could even speak in a better and instant way. my account is [email protected]

add me, so you will help me a lot more clearly :)

If you won't just post here those triggers in WE version please.
 
Last edited:
Status
Not open for further replies.
Top