HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Whats wrong with my condition/event

01-13-2004, 10:27 PM#1
|LMM|Duff_Man
ok i need some help with some triggers . It's quite simple and been done in other maps.

When you start the game off it is centered around an area where there are 6 custom runes each with information about each race, in front of each is a barrel, the wisps do enough damage in one hit to kill the barrels, (but i made them invulerable so they couldn't kill eachother)
each player gets one of these wisps to go and break a barrel to pick their race.

heres what i have so far

Quote:

Event-
unit- a unit owned by (Owner of DON'T ATTACK ME UNLESS YOU WANT TO ME TO BE YOUR RACE (Male 2 ) 0121<gen>Dies matching: ((Owner of(killing unit)) equal to Player {{**My variable**}}

Conditions
(Owner of (Killing unit)) Equal to Player

Actions
blah, this doesn't matter



so whats wrong with my condition /event in game , nothing happens
thanks in advance

if you're going to post and tell me to read a tutorial , find me one named " How to pick things by the death of a certain unit by a certain player" , until then , don't tell me to read a freaking tutorial
01-13-2004, 10:40 PM#2
AllPainful
Question, the rune is a Unit?

Or is it a Destructable?

If its a destructable then there the problem.
01-13-2004, 10:56 PM#3
|LMM|Duff_Man
mm...i descriped it wrong, the rune is behind a barrel , and you have to destroy the barrel to pick the race, the rune doesn't matter for the trigger
thanks in advance
01-13-2004, 11:33 PM#4
Savage1
You could try to make the barrel a unit (I do not know if this works with destructables) and then make a trigger like this

Event:
A unit is killed
Condition:
Dying unit equal to Barrel
Action:
(Whatever you like, like:)
Remove killing unit
Give unit to owner of killing unit
01-14-2004, 01:05 AM#5
|LMM|Duff_Man
i'll try it, cool heh it worked
my beta of my map will be realesed in probly about two weeks
01-14-2004, 03:19 PM#6
Savage1
Glad I could help.