[Help] Kill unit after ??? Seconds

hiukuss

New Member
Reaction score
0
Hi.

Im creating a map where you have to pick your hero from the tavern
If your hero dies you LOSE.
You only have 90 seconds to choose a hero
But i can't make that happen
They have a selector unit
I would like it to die after 90 seconds...
But i cant find out how to do it :S
I tried
Unit - Kill Circle of Power(VSMALL) 0001 <gen>
The circle of power is your selector
But umm, that kills it at the start =/
Would i use a timer that activates the unit - kill?
Please help
*EDIT*
Solved, Thank you junicobakura
 

Moradiae

TH.net Regular
Reaction score
14
Yes, using a timer would be your solution here :)

but to kill the circle of power, you must do it AFTER the timer expires right?

So to make it easy, just use two triggers here:

The first one for setting your timer to expires in 90 seconds

The second one with
Event timer - [your timer] expires
Condition
Action
Unit - remove [your unit] from game


PS. welcome to thehelper.net :D (although I would assume this is not your first venture in here)
 

hiukuss

New Member
Reaction score
0
Umm
Sooo it would be:

Events:
Time - Timer001 Expires
Conditions:
----------
Actions:
Countdown Timer - Start (Expiring timer) as a One-shot timer that will expire in 90.00 seconds
Unit - Remove Circle of Power(VSMALL) 0001 <gen> from the game
Would that be it?
What you said is confusing :S
 

Moradiae

TH.net Regular
Reaction score
14
Sorry, I should consider revising my post before actually posting:eek:


This would be simpler method :)
Event:
Time - Elapsed game time is 90.00 seconds​
Condition:
------
Action:
Unit - remove [circle of power] from game​
 

hiukuss

New Member
Reaction score
0
Okay
I think that will work
I have 4 players that select a hero
So i have those Circle of Powers being removed from the game

Heres what i got:

Events:

Time - Elapsed game time is 90.00 seconds

Conditions:
----------
Actions:
Unit - Remove Circle of Power(VSMALL) 0001 <gen> from the game
Unit - Remove Circle of Power(VSMALL) 0002 <gen> from the game
Unit - Remove Circle of Power(VSMALL) 0007 <gen> from the game
Unit - Remove Circle of Power(VSMALL) 0008 <gen> from the game
^^^^
No idea why that jumped so far :S
Thats what i got, I hope it works :D

*EDIT*
It didn't work
It removes the unit at the start of the game :(
 

junicobakura

Member
Reaction score
3
Code:
Untitled Trigger 001
    Events
        Map initialization
    Conditions
    Actions
        Unit - Add a 90.00 second Generic expiration timer to Circle of Power(VSMALL) 0001 <gen>
 

BlackRabbit

New Member
Reaction score
3
Junicobakura, I had no idea that was even an option =P

Will most definitely use this wisdom in the future.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top