| 08-04-2004, 06:27 PM | #1 |
I'm having a problem trying to set the game results with triggers. Basically, I'm using a trigger to control a spell, so when this spell kills a building (for example), no player has actually killed the building; only the trigger, and thus, the player doesn't get 1 added to his 'Buildings Razed' statistics at the end of the game. I tried doing this: Player - Set (Owner of (Triggering unit)) Game result to (((Owner of (Triggering unit)) Structures Razed) + 1) but it didn't work properly. So I was wondering if anyone else knew a way of using triggers to add 1 to the 'Buildings Razed' that worked. |
| 08-04-2004, 08:45 PM | #2 |
or you can make an invisible unselectable unit to kill the building if the damage of the spell is > current hp of the building |
