| 02-14-2007, 04:31 AM | #1 |
here is my trig, that doesn't work. I want to reward the player for felling a tree. Thing is... it looks like the person who fells a tree is not considered the Killing Unit? hmmmmmmmm Trigger: LumberHarvest
|
| 02-14-2007, 08:08 AM | #2 |
Killing unit has nothing to do with destrutables, Make it an pain and use units if you want it to work. Or modify the lumber abilty and detructable to 1000 hp and max lumber to 1000. Then use dying destructable to say an tree has been felled -Av3n |
| 02-14-2007, 10:06 AM | #3 | |
Trigger: Events
![]() Destructible - A destructible within (Playable map area) diesThat event is your problem. If you read what it says: Quote:
So if you have hundreds of trees (which i think you will if your making a tree-killing map), then the chances of you killing a tree that is registered for this is very slim. What i suggest is using the Eat Tree ability instead of attack, that way, you can use a trigger like this: Trigger: LumberHarvest
|
| 02-14-2007, 12:11 PM | #4 | |
Quote:
Just have a trigger at map initialization that picks all the trees in playable map area and adds a destructable dies event for picked destructable. Last time I checked, killing unit did work with the destructable death event. |
