| 07-16-2004, 07:03 AM | #1 |
i made a spell, which is casting a Ward with a Roar ability. The ward must cast it automatically each 5 seconds. Must i use the event 'unit spawns a summoned unit'? (to refer to the ward) and which trigger do i use to let the ward cast the CUSTOM Roar ability? EDIT: I want to ask this to, what is the path name of the Pentagram that is created under the caster and target when you cast 'Dark Summoning'? |
| 07-16-2004, 09:33 AM | #2 |
If you want to cast a custom roar, you still use the same order: "unit - issue order with no target - order your unit to (Night Elf Druid of the Claw - roar)". It works for the original and all other versions. To get the roar cast every five seconds, you would need a unit group variable and the following triggers: Code:
Events: generic unit event - a unit spawns a summoned unit Conditions: unit type comparison - unit type of (summoned unit) equal to Roaring ward Actions: unit group - add (summoned unit) to RoarGroup Code:
Events:
time - periodic event - every 5 seconds of game time
Conditions:
Actions:
Pick every unit in RoarGroup and do actions
loop - actions:
If - then - else multiple functions:
if - conditions:
boolean comparison - (picked unit is alive) equal to true
then - actions:
unit - issue order to (picked unit) to (Night Elf Druid of the Claw - Roar)
else - Actions:
unit group - remove picked unit from RoarGroup |
| 07-19-2004, 08:54 PM | #3 |
thx man, you helped me a lot further. But will this also work with Howl of Terror? |
| 07-19-2004, 10:59 PM | #4 |
Yes it will, just change the order string and the abillity.It will work for almost any abillity. |
