View Single Post
Old 04-17-2009, 11:09 AM   #6
JonNny
User
 
JonNny's Avatar
 
Join Date: Jun 2007
Posts: 51

Submissions (2)

JonNny has little to show at this moment (9)

Default

Quote:
Originally Posted by TriggerHappy187
Collapse JASS:
            set e = AddSpecialEffectTarget(HealSpecialeffect, data.Caster, "origin")
            call DestroyEffect(e)

Can be inlined.

Also, upload a demo map.

Updated, fixed various things and also inlined this
There was already a demo map attached

Quote:
Originally Posted by akolyt0r
please use radians everywhere, when you create your essences / in the callback
Do you mean using 0.017453 instead of bj_DEGTORAD) ?

Else, i dont know what is faster. SetWidgetLife or GetUnitState but to be honest i dont care if my script could a nanosecond faster or not...
__________________
JonNny is offline   Reply With Quote