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

[Trigger] Killing Sprees, need help

Status
Not open for further replies.
Level 6
Joined
Dec 9, 2007
Messages
208
Hey peeps

any can create me a trigger that gives you 1 lumber after 3 kills in a row?
im a noob at variables, so plz, if u got time just throw it all into a small map :grin:

-Sinizi
 
well you have to learn variables. very important thing

variables are just ways to store information for later use.

so if u have a variable for kills (integer) then u can set it up by 1 by setting

Kills = Kills +1

if u understand that much then you can figure out the rest.

that formula is very simple

you are making kills to equal kills, (because the variable is just a name for the number)
and adding 1 to it.
 
Status
Not open for further replies.
Top