| 02-09-2006, 01:51 AM | #1 |
Basically I want to have an item that you use while stunned to remove the stun effect. I know its possible because I have seen it done before. Basically, the only way I can see to do it is to check if you order the unit to use the item, then remove the stun and make the unit use the item, however all attempts thus far have failed. Any suggestions on how I should trigger it? |
| 02-09-2006, 01:53 AM | #2 |
I don't think the order is given while you are stunned. Way I can think is to trigger the whole stun. Maybe there are abilities that can be used while stunned? in that case use that ability as base for the one to be used by the item. |
| 02-09-2006, 02:18 AM | #3 |
I dont think abilities can be used during when stunned, because they are detected at the point of effect and they never start any effect when they are stunned. Even beserk doesn't work. Where have you seen it before? |
| 02-09-2006, 02:27 AM | #4 |
You cant catch it for there is no order was given when you use items if you stunned. |
| 02-09-2006, 02:31 AM | #5 |
Another way would be making it so stun is triggered and consists of packs of 0.5 seconds stuns. and if you use the item it makes it so the trigger doesn't add the rest of the stun time |
| 02-09-2006, 02:49 AM | #6 |
I saw it a long time ago, i forgot exactly where. As to making packs of .5 seconds stuns, that sounds like it would work but its way too much trouble just for 1 item. I'll just leave the item out. Thanks for the quick replies guys |
| 02-09-2006, 08:45 AM | #7 |
Maybe trigger stun to cancel all orders other that using THAT item? |
| 02-09-2006, 11:53 AM | #8 |
Nah 0.5 packs is actually really easy to do. I was already thinking on customizing stun in my arena. Because some of the special abilities that are only castable in rare situations were channeling. BUt I only wanted them to be channeling so other players could escape and not to let other players use stun on you and stop your spell. So I am thinking on customizing stun. It would also be a good thing since I would have stun of variable duration. Hmnn I am gonna try to do this system. If you saw this done already please link to the map that does that |
| 02-09-2006, 10:55 PM | #9 |
stuns cant be dispelled right, (side note) |
| 02-09-2006, 11:12 PM | #10 |
So, order events don't register orders that are issued to stunned units? But, when the unit finishes being stunned, it carries out the last order that was issued to it while being stunned, so, does the event trigger then? (side note) Any buff can be removed with a trigger. |
| 02-10-2006, 11:02 AM | #11 |
well you can have one continous block. but the trigger will either have to be a text trigger. -unstun or a keyboard trigger such as arrow keys or ESC then it is a matter of checking if the selected unit has an item. Remove the a charge from that item, and remove the stun buff. |
| 02-10-2006, 01:03 PM | #12 |
Oh, i can remove stuns with triggers? Woot :) |
| 02-10-2006, 01:06 PM | #13 |
Well... you can remove buff, but stun will still be in effect (I think). I know that orders are stored in paused units (stunned too) but are executed after the stun. |
| 02-10-2006, 01:23 PM | #14 |
the stun is linked to the buff, if you remove the buff it removes the stun |
