| 01-16-2009, 07:33 AM | #1 |
A couple of quick questions to all the kind and helpful folk around here. 1) I have an ability that is trigger based. When the ability is used, some trigger goes off. But I've noticed that, in multiplayer games, when pressed realle fast, this trigger happen to double-execute. Is there a way to fix this? Perhaps having the trigger disable itself for some time? 2) On my map I notice that wolf-riders casting Ensnare on Dragons (level 10) only last for about a second. How do I increase this particular duration? Many thanks! |
| 01-16-2009, 10:18 AM | #2 |
1. What's the event you're using? How is the base spell set up? 2. Could the Dragons have Resistant Skin? Changing the Hero duration would work if that were the case. |
| 01-16-2009, 02:10 PM | #3 |
It's a beastmaster spell named Call of the Wild, where he summons an army of more or less random creeps to aid him. Unit - A unit Is issued an order with no target (Issued order) Equal to (Order(summonquillbeast)) <---I took this as a base spell, and extended it with triggers. Action: Wait 0.40 seconds Animation - Play (Triggering unit)'s spell slam animation Special Effect - Create a special effect attached to the overhead of (Triggering unit) using Abilities\Spells\NightElf\Taunt\TauntCaster.mdl Unit - Create (Random integer number between 1 and 2) Timber Wolf for (Owner of (Triggering unit)) at ((Position of (Triggering unit)) offset by (Random real number between 300.00 and 600.00) towards (Random real number between 0.00 and 360.00) degrees) facing (Position of (Triggering unit))Special Effect - Create a special effect attached to the overhead of (Last created unit) using Abilities\Spells\Orc\FeralSpirit\feralspirittarget.mdl etc etc... (long trigger) 2) Resistant Skin; You say something. I'll check it out! |
| 01-16-2009, 08:06 PM | #4 |
| 01-16-2009, 11:54 PM | #5 |
How could I miss that. Thanks :) |
| 01-17-2009, 01:54 AM | #6 |
Alivex; I checked out the Dragon, and it does not have the Resistant Skin ability. I think it's just about the level. I can't really decrease it, cause then it would be susceptible to Mind Control and stuff as well... |
| 01-17-2009, 06:21 AM | #7 | |
Quote:
|
| 01-18-2009, 02:38 AM | #8 |
Would changing the Hero duration of that Ensnare ability work? |
| 01-18-2009, 06:23 AM | #9 |
Not unless the dragon were a hero. |
| 01-18-2009, 02:14 PM | #10 |
All units that are resistant to spells use the "hero" spell duration instead of the "normal" duration. The units that count as resistant are 1) heroes, 2) units with the resistant skin ability and 3) creeps of level 6 or greater. So, the way to make ensnare last longer on a dragon is to either 1) lower the level of the dragon below 6, 2) give it to a player other than neutral hostile or 3) raise the hero duration of ensnare. |
| 01-18-2009, 03:08 PM | #11 |
Hm. I've learned something new. Thanks for the correction. Out of curiosity, do you know if add/removing the Hero classification affects this? Like UnitAddType( unit, UNIT_TYPE_HERO ) would achieve the same ends? |
| 01-19-2009, 02:16 AM | #12 | |
Quote:
Can you elaborate on your second point there? Why would it matter who controls the dragon? For the record, the dragon is actually owned by a player. |
| 01-19-2009, 02:21 AM | #13 |
Oh, I'll throw yet another question into the ring while I remember it. What's the easiest way of removing XP share among heroes? So even though you control two heroes both of them will still level equally fast as if you had only one. |
| 01-19-2009, 02:36 AM | #14 |
Trigger the XP Gaining, then remove the default non-triggered XP gaining in the gameplay constants. |
| 01-19-2009, 04:23 AM | #15 | |
Quote:
Set player-handicap based on how many heroes the player has ... |
