HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Do you see the error?

07-14-2006, 04:03 AM#1
darkwulfv
Hey, I haven't posted in a while... Been busy :p Anways... I've got a trigger, and I get an error when saving. I looked it over and can't seem to find what's wrong. Can anyone find my error?

Trigger:
Beetle Death
Collapse Events
Unit - A unit Dies
Collapse Conditions
(Unit-type of (Triggering unit)) Equal to Beetle Bomber
Collapse Actions
Custom script: local effect udg_SFX1
Special Effect - Create a special effect attached to the origin of (Triggering unit) using Abilities\Spells\Orc\WarStomp\WarStompCaster.mdl
Set SFX1 = (Last created special effect)
Wait 1.00 seconds
Custom script: set effect udg_SFX1 = null

Here's the error:
Expected a variable name:
set effect udg_SFX1 = null

I dunno what's wrong. Any help available?
07-14-2006, 04:35 AM#2
Guesst
Take out 'effect' in that line, I think.
07-14-2006, 04:44 AM#3
Rising_Dusk
Yeah, you're correct; it should be
Trigger:
Custom script: set udg_SFX1 = null

(You seemed unsure, just reinforcing. :D)
07-14-2006, 05:18 AM#4
PipeDream
Teach a man to fish: http://www.wc3campaigns.net/showthread.php?t=75239
07-14-2006, 10:57 AM#5
darkwulfv
Thanks... I just looked at it and notieced it.. :p Ah well no big deal. Easy fix. Thanks again.