HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger being canceled when another trigger it.

03-31-2007, 07:08 PM#1
Khronos
Trigger:
Archmage mounted
Collapse Events
Unit - A unit Begins casting an ability
Collapse Conditions
(Ability being cast) Equal to Archmage charge
Collapse Actions
Special Effect - Create a special effect at (Position of (Casting unit)) using Abilities\Spells\Human\MassTeleport\MassTeleportCaster.mdl
Animation - Play (Casting unit)'s stand channel animation
Unit - Pause (Casting unit)
Wait 2.00 seconds
Unit - Unpause (Casting unit)

I have this trigger up, intendend to add a special effect and a cast time to a spell (A morph spell using the morph in crow ability, wich im not able to add a cast/time or effect directly in the object editor)

The probleme with my trigger is that whenever another unit on the map cast a spell(even if not matching the condition) the paused unit never unpause. Can anyone help?
03-31-2007, 07:11 PM#2
blu_da_noob
Change Casting Unit to Triggering Unit.
03-31-2007, 08:22 PM#3
diablo-dk
It is because you are using a wait, if you want this to be multi instanceable you should get jass....or set the casting unit to an arrayed variable.
03-31-2007, 08:29 PM#4
Khronos
Thanks both of you. My problem is fixed now.
03-31-2007, 08:29 PM#5
Dil999
Add the unit to a variable, and then use that variable instead of casting unit. For example:
Set MountingUnit to Triggering unit
Pause MountingUnit
Wait 2 seconds
Unpause MountingUnit

Edit: We posted at the exact same time, lol, posted this before i read you fixed it :O
03-31-2007, 11:23 PM#6
Khronos
hehe thanks dil. Thats still some usefull information