• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

I Need Trigger Help please...

Status
Not open for further replies.

TornadoFlame

T

TornadoFlame

I Need Help For A Trigger In My Maps.
Like In Mazes If You Touch An Patrolling Unit Or Something You Die.
How To Do This??
please help
 
Easiest way to do..

Trigger 1.

Event:map initialisation ( or whenever you want to add the unit to the group which kills the player when hes touching it)
Boolream:/
Event: Add *thepatrolingunit* to PatrolGroup

Trigger 2.

Event:Player1 choices a unit
Player2 choices a unit
and so on with all players who could be killed when they touch them
Boolream:Triggering unit is in PatrolGroup equal to true
Event:Player-Defeat Triggering player show dialoges show scores
 
Talk Better Please, Dont Understand And,
Cant Find Event.
 
ok, heres another way. just make a custom aura ability without effects and 100 range (and targets: enemy, not self)

events: map initiization
conditonos: -----
actions: pick every unit in playable map area owned by player (enemy) and add aura abiliy

events: every 0.01 sec of the game
conditons: -----
actions: pick every unit in playable map area with the buff of the aura and kill picked unit
 
Its A Good Way But I Cant Find
'pick every unit in playable map area with the buff of the aura and kill picked unit'
Please Say Where It Is

-TornadoFlame
 
Hi! I'm new here so I'm adjusting. I'm currently on mapping... I think I can help you...

First thing first. Create a variable called "PatrolGroup (Unit Group or Unit)" then use this trigger.

Pur first the unit in the PatrolGroup variable

If the patrolling unit is in the map, then:

Events
A unit comes within (100) range of (Your patrolling unit)
Condition
---Nothing Here---
Actions
Unit - Kill (Triggering Unit) --->If only you will just kill the unit
Game - Defeat --->If you want to kick the player from the game.

Else, if the unit will be created in-game, use this:
YOU NEED DUMMY UNIT FOR THIS.
Events
(The time where you want to create the unit)
Conditions
---Nothing Here---
Actions
Unit - Create (Your patrolling unit) at (where you want to put the unit) facing (Default building facing) degrees
Set "PatrolGroup" = (last created unit) ---> if the variable is a Unit
Unit Group - Put (last created unit) on (PatrolGroup) ---> if the variable is a Unit-Group
Unit - Create 1 (Dummy Unit) at a range of (the range of the patrol) with offset 100.00 (or something) from PatrolGroup --> i forgot about this part. I'll check when I get home.
Unit - Order PatrolGroup to Patrol at Position of last created unit (or store the the dummy unit in a variable if you like.)

Then, do this new trigger:

Events
A unit comes within (100) range of (PatrolGroup)
Condition
---Nothing Here---
Actions
Unit - Kill (Triggering Unit) --->If you want to kill the unit
Game - Defeat --->If you want to kick the player from the game.
 
Yeah I Did Kust Find Out That The Units Kill Eath Other
:(
 
haha you don't need triggers just make a custom permanent immolation that does like 90000 damage per second and has a range of like 50 or w/e
 
HAHAHAHAHA!

Never taught of that! How stupid of me! AHAHAHAHA!

LOL!
 
lol I am what you get when you mix wicked intelligence, laziness to the point of being a sin, and ADD
glad to spread new and different ideas =Þ
 
Status
Not open for further replies.
Back
Top