HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Trigger Help

07-19-2003, 06:26 PM#1
combatken
I have two similarly based trigger spells, but one group doesn't work. Casting a spell on each unit around the caster works fine, like so..

Crossroads Fog
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Crossroads Fog
Actions
Unit Group - Pick every unit in (Units within 512.00 of (Position of (Casting unit))) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an ally of (Owner of (Casting unit))) Equal to True
Then - Actions
Unit - Create 1 Caster R1 for Player 4 (Purple) at (Random point in ACastZone <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Human Sorceress - Invisibility (Picked unit)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Else - Actions


But two-part triggers that are practically the same thing don't work, and don't create the wisps to cast the spells like the first one does. (The create Caster is a wisp)

Blackout Bomb Area
Events
Unit - A unit Is issued an order targeting a point
Conditions
(Issued order) Equal to (Order(inferno))
(Unit-type of (Ordered unit)) Equal to Assassin
Actions
Set CSRegion[0] = (Region centered at (Target point of issued order) with size (150.00, 150.00))

Blackout Bomb Actions
Events
Unit - A unit Begins casting an ability
Conditions
(Ability being cast) Equal to Blackout Bomb
Actions
Unit Group - Pick every unit in (Units in CSRegion[0]) and do (Actions)
Loop - Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
((Picked unit) belongs to an enemy of (Owner of (Casting unit))) Equal to True
Then - Actions
Unit - Create 1 Caster R1 for (Owner of (Casting unit)) at (Random point in ACastZone <gen>) facing Default building facing degrees
Unit - Order (Last created unit) to Undead Dreadlord - Sleep (Picked unit)
Unit - Add a 2.00 second Generic expiration timer to (Last created unit)
Else - Actions

I'm fairly sure something's wrong with picked unit or somesuch, because in this instance, NO WISPS are created. Also, THE SPELL WORKS FINE. THE ORDER STRINGS WERE TRIPLE CHECKED. Having 5 responses of "check order string or something else you did because I didn't actually read your post" is really annoying.

Help would be appreciated.
07-19-2003, 07:12 PM#2
combatken
Oh, has anyone had trouble with using the 'inferno' order string with triggers?
07-20-2003, 12:25 AM#3
combatken
Basing a spell off Inferno makes the "Unit is issued an order targeting a point" not work..I think. Are there similar spells (Like Blizzard or Rain of Fire, minus the art) like Inferno that work?