HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Please debug this map

09-30-2003, 06:15 AM#1
demonboiwr
for some odd reason, my trigger enhanced spell keeps relooping special effects. i've been testing it and i can't figure out the cause. can anyone tell me what is wrong with it so i can avoid this in the future? if it turns out to just be plain corrupted can someone give me advice as to how i may avoid this in the future?

edit:
Quote:
- "Event Response - Casting Unit" and "Target Point Of Issued Order" become reset after a "wait" action

does that have anything to do with it? yet i took out the wait from the trigger, and the trigger still looped over and over...

anyway, here's my test map...
09-30-2003, 08:57 AM#2
Shvegait
How about posting the trigger(s)?
10-01-2003, 08:04 AM#3
demonboiwr
thanks for the help... the reason i didn't initially post my trigger was because from a standing view point outside the trigger, it would appear it should work properly (or at least to me it made logical sense). but here it goes anyway... my exact trigger...

event
Unit - A unit Is issued an order targeting an object
condition
(Issued order) Equal to (Order(banish))
action
Unit - Pause all units
Unit - Create 1 Footman for Neutral Passive at ((Position of (Target unit of issued order)) offset by 256.00 towards 0.00 degrees) facing (Position of (Target unit of issued order))
Set Unit[1] = (Last created unit)
Unit - Create 1 Footman for Neutral Passive at ((Position of (Target unit of issued order)) offset by 256.00 towards 120.00 degrees) facing (Position of (Target unit of issued order))
Set Unit[2] = (Last created unit)
Unit - Create 1 Footman for Neutral Passive at ((Position of (Target unit of issued order)) offset by 256.00 towards 240.00 degrees) facing (Position of (Target unit of issued order))
Set Unit[3] = (Last created unit)
Unit Group - Pick every unit in (Units of type ) and do (Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl)
Special Effect - Create a special effect attached to the chest of (Target unit of issued order) using Objects\Spawnmodels\Orc\Orcblood\BattrollBlood.mdl
Unit Group - Pick every unit in (Units of type ) and do (Unit - Kill (Picked unit))
Unit - Unpause all units

actually, this is just one of three trigger enhanced spells that i was just testing with. of course i tested it with other triggers turned off (they should be independent of one another anyway). if my test map somehow turns up to be corupted for some strange reason, then i would just like to know how to avoid this in the future. thanks~
10-01-2003, 10:35 AM#4
Saethori
This is probably extremely minor for me to point out..


But shouldn't there be something there under 'Pick every unit in (Units of type....)? It just doesn't mention what it's targeting, which may cause the problem?
10-01-2003, 10:37 AM#5
Zwan
Well I don't see that you have specified a unit type for one thing.

Also see a ")" at the end of this line-

Quote:
Unit Group - Pick every unit in (Units of type ) and do (Special Effect - Create a special effect attached to the origin of (Picked unit) using Abilities\Spells\Human\Resurrect\ResurrectCaster.mdl)



Might help if you Copy as text, so we can see it exactly as it is in the editor
10-03-2003, 06:16 AM#6
demonboiwr
d'oh... duh... i have empty fields. thanks for pointing that out! but apparently my problem was pausing units.... if anyone has had a similar prob... go to this thread....

http://www.battle.net/forums/war3/th...ThreadID=67159