• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

[Trigger] Can ya help me out?

Status
Not open for further replies.
Level 4
Joined
Jan 6, 2008
Messages
80
I want to make a tower defence, but I need to know the triggers that govern unit moving, like how to make it so they go only on the straight line. Any tips?:grin:
 
Ok, so I've gotten up to the part here where it talks about losing lives, but I can't figure out how to show how many lives are left. I can't find the function for "'blank' lives left"
 
make an integer (named Var) with the default value of your lives
  • Events:
  • A unit enters Region
  • Actions:
  • Set Var = Var - 1
  • Leaderboard - Change value of Player x to Var
    • If\Then\Else multiple functions
      • Conditions:
        • Var becomes equal to 0
        • Then do actions:
          • Game - Defeat player x with message defeat!
you will need to make a variable for each player
 
You can try here. It's a website that has alot of helpful tips for lots of types of maps and then some download samples.

You can also try the direct link to the thing I'm talking about.
 
Status
Not open for further replies.
Back
Top