| 11-12-2002, 05:53 AM | #1 |
Guest | Can somebody please take a look at my map and tell me why my units will not explode upon death. I mean I'm doing what I should be to make them explode but its not working. I've asked already in many forums how to make a unit explode and the answer is always the same. But it still does not work for my map. Please oh please take a look at my map and tell me what I am doing wrong. you can find the trigger in the Misc folder in Triggers. |
| 11-12-2002, 05:57 AM | #2 |
JUst do what i do have a periodic event every 1 or so seconds and do this action for a 1-12 pick every unit owned by player(For loop a) do make PICKED Unit explode on death. Your trigger isn't working becuase the damn thing is dead, so it can't explode upon death becuase it will never trigger the DEATH thing CUZ HES DEAD. |
| 11-12-2002, 09:25 AM | #3 |
Weaaddar is right about why your exploding isn't working ya know. A unit can't explode on death if he's already dead. Weaaddar's idea is good. If you're having THAT much trouble with lag then you need to cut somethings outta the map. I do have an idea that MIGHT work. Change the exploding trigger to as follows: Event - same Action - Unit - Explode (Dying unit) And also, make sure to use Dying Unit and not Triggering Unit. I'm not sure weather or not this will work, and if it doesn't then you're only option is Weaaddar's plan. -Insaniteus- |
| 11-12-2002, 11:44 AM | #4 |
Guest | This is not to help reduce lag. I want to impliment it becuase I want there to be as much blood on the map as possible. Anything to add to the carnage. So what your saying is to make a trigger that looks like this: Event - Time - Every 1 seconds of game time Actions - Unit - Explode (Dying unit) If that is what your saying that doesn't work either. |
| 11-12-2002, 04:25 PM | #5 |
Guest | I can't test it right now, but how about a simple Trigger: An unit owned by player x dies. (One trigger for each player with killable units, I guess, but anyway...) Actions: Replace dying unit with (unit type of (dying unit)) using (the new unit's maximum health and mana) Explode last replaced unit I don't know how much lag this would cause, but at least it or some variation of it should work. |
| 11-12-2002, 04:54 PM | #6 | |
Quote:
Well no duh it doesn't work that's not what he's saying though. The reason it doesnt work is because there is no dying unit. |
| 11-13-2002, 12:19 AM | #7 |
Do exactly as I said For Loop A 1-12 (assuming you have 12 players) do Pick every unit owned by Player Player (Convert ID to Integer A) and do Make unit explode on death. |
| 11-13-2002, 02:05 AM | #8 |
Guest | Your the man! Thank you so much for your help. I just learned something completely new about triggers. You are a Trigger Master :ggani: |
