| 11-15-2003, 07:28 PM | #1 |
k, heres my spell: Special Effect - Create a special effect at TransportPointCaster using Abilities\Spells\NightElf\Cyclone\CycloneTarget.mdl Set AirTransportEffect[1] = (Last created special effect) Wait 0.10 seconds Special Effect - Create a special effect at (TransportPointCaster offset by 256.00 towards 0.00 degrees) using Abilities\Spells\NightElf\Cyclone\CycloneTarget.mdl Set AirTransportEffect[2] = (Last created special effect) Wait 0.10 seconds Special Effect - Create a special effect at (TransportPointCaster offset by 256.00 towards 90.00 degrees) using Abilities\Spells\NightElf\Cyclone\CycloneTarget.mdl Set AirTransportEffect[3] = (Last created special effect) Wait 0.10 seconds Special Effect - Create a special effect at (TransportPointCaster offset by 256.00 towards 180.00 degrees) using Abilities\Spells\NightElf\Cyclone\CycloneTarget.mdl Set AirTransportEffect[4] = (Last created special effect) Wait 0.10 seconds Special Effect - Create a special effect at (TransportPointCaster offset by 256.00 towards 270.00 degrees) using Abilities\Spells\NightElf\Cyclone\CycloneTarget.mdl Set AirTransportEffect[5] = (Last created special effect) Wait 0.10 seconds Unit Group - Pick every unit in (Units within 700.00 of TransportPointCaster matching (((Picked unit) belongs to an enemy of (Owner of TransportCaster)) Equal to True)) and do (Actions) Loop - Actions Unit - Set life of (Picked unit) to ((Life of (Picked unit)) - 300.00) Wait 0.50 seconds Special Effect - Destroy AirTransportEffect[1] Special Effect - Destroy AirTransportEffect[2] Special Effect - Destroy AirTransportEffect[3] Special Effect - Destroy AirTransportEffect[4] Special Effect - Destroy AirTransportEffect[5] the problem is that it damages urself and ur allies and the cyclones dont get destroyed. If any one knows whats wrong id really like to know, thanks in advanced to all that help. |
| 11-16-2003, 03:05 AM | #2 |
What I changed is in all CAP Unit Group - Pick every unit in (Units within 700.00 of TransportPointCaster matching (((MACHING UNIT) belongs to an enemy of (Owner of TransportCaster)) Equal to True)) and do (Actions) I have no idea why the cyclones doesnt get destroyed, it seems that you've set it up correctly... and you shouldnt post this here... these kinds of questions should go to map development forum |
| 11-16-2003, 03:41 AM | #3 |
http://www.wc3campaigns.com/forums/s...threadid=17723 Picked Unit This is only to be used inside of a "Pick Every Unit In Unit Group and Do Action" action. This refers to all the units in that group individually. Matching Unit This is used in "Units in Unit Group matching Condition" kind of actions. This refers to all the units in the unit group being checked for the condition, while Picked Unit refers to all the units that "passed" the condition. |
| 11-16-2003, 03:57 AM | #4 |
Thanx, the damage works now, i also got the cyclones working but they last really long (like 5 seconds) they stay until there animation end, dont know why though, if anyone does please help me, thanx |
