| 03-28-2004, 10:44 AM | #1 |
Well I'm creating a Assassinlike (DiabloII style) hero for my map. Her ultimate is supposed to create a deathward wich blows up one corpse when summoned and then one every 3 second. The problem is it will blow up all corpses around it and not just one! The triggers: To Summon it! Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Deathtrap Actions Unit - Create 1 Deathtrap for (Owner of (Triggering unit)) at (Target point of ability being cast) facing Default building facing degrees Set Deathtrap = (Last created unit) Special Effect - Create a special effect at (Position of (Last created unit)) using Environment\LargeBuildingFire\LargeBuildingFire1.mdl Set Deathtrapfire = (Last created special effect) Unit - Create 1 STFU (mime for (Owner of (Triggering unit)) at (Position of (Last created unit)) facing Default building facing degrees Unit Group - Order (Units owned by (Owner of Deathtrap) of type STFU (mime) to Orc Tauren Chieftain - War Stomp Countdown Timer - Start DeathtrapTime as a Repeating timer that will expire in 3.00 seconds Wait 1.00 seconds Unit Group - Pick every unit in (Units owned by (Owner of Deathtrap) of type STFU (mime) and do (Actions) Loop - Actions Unit - Remove (Picked unit) from the game Wait 19.00 seconds Countdown Timer - Pause DeathtrapTime Special Effect - Create a special effect at (Position of Deathtrap) using Objects\Spawnmodels\Human\FragmentationShards\FragBoomSpawn.mdl Special Effect - Destroy (Last created special effect) Special Effect - Destroy Deathtrapfire Unit - Remove Deathtrap from the game To make it blow up Corpses Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Corpse Explosion (Deathtrap alla) Actions Unit Group - Pick every unit in (Units within 500.00 of (Position of (Triggering unit))) and do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Picked unit) is dead) Equal to True Then - Actions Unit Group - Add (Picked unit) to CorpseExplosion Else - Actions Do nothing If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions (Number of units in CorpseExplosion) Greater than or equal to 1 Then - Actions Set CorpseExplosionunit = (Random unit from CorpseExplosion) Unit Group - Remove all units from CorpseExplosion Special Effect - Create a special effect at (Position of CorpseExplosionunit) using Objects\Spawnmodels\Human\FragmentationShards\FragBoomSpawn.mdl Unit - Explode CorpseExplosionunit Unit - Remove CorpseExplosionunit from the game Unit Group - Pick every unit in (Units within 250.00 of (Position of CorpseExplosionunit)) and do (Actions) Loop - Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions ((Owner of (Picked unit)) is an enemy of (Owner of Deathtrap)) Equal to True Then - Actions Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 70.00) Else - Actions Do nothing Else - Actions Do nothing Whew... Well I hope some can help me fix this skill... |
| 03-28-2004, 01:13 PM | #2 |
Well, for starters. Could you IM me the map? Also, try doing this. Explode THeDude WAIT 1.5 seconds Remove the Dude from the game My AIM is DragonSlayerXVX If you don't have it, you can get it here. www.aim.com |
| 03-28-2004, 03:06 PM | #3 |
YAY I managed to defeat the evil Firewall! AIM is working agaiN! |
| 03-28-2004, 03:07 PM | #4 |
Oh... BTW I'll be kinda AFK the following week but I will probably check the computer tomorrow and two-three times... |
| 03-28-2004, 03:09 PM | #5 | |
I don't believe there is a triggering unit... casting unit yes, but not triggering. Link says otherwise... Quote:
Within 500.00 of deathtrap, isn't it? |
| 03-29-2004, 02:50 PM | #6 | |
Quote:
It's still not working... =(. Well I have made a map with Deathtrap now... If anyone would like to help me (and belive they can solve this) please write in this thread... (Oh and BTW my AIM is working again). |
