HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Simulate/Recreate STUN

08-30-2004, 05:41 AM#1
wheee
Hey,

I was wondering since I'm creating all of my spells via JASS, how can I recreate the STUN effect of a variable duration.

I was thinking of perhaps:

pause unit
create timer of duration x to unpause unit

Is there any other way?

Thanks
08-30-2004, 05:51 AM#2
SpadeZ
That way you mentioned isn't too efficient. You would need alot of variables and a good way to set them to identify which timer expires, this is to prevent the trigger from overiding itself.

What i would do in your case is create a dummy caster to cast stormbolt with a hardly visible model. If you wanted different durations you would create different stormbolts with the varying durations. You could edit a unit's skin and make it completely tansparent and then use that units model to do the casting, and also use that model for the stormbolt spell.

Hope this helped.