W!†A_cRaft
Ultra Cool Member
- Reaction score
- 28
i downloaded the 0.A.2.7 version, how do I update? simply copy the files into the correct directory?
or I only need to copy jasshelper.exe and forget the rest?
TheThreadThatWasLinked said:When installing a new jasshelper version in newgen pack, replace jasshelper.exe and clijasshelper.exe in the folder called "bin" inside jass newgen pack's folder.
>I was just reading up on AutoIndex, and found that it hooked RemoveUnit() and all that. Does this accomplish the same thing without the use of hooks? Or did you just not implement that?
That. I don't need hooks.
struct Example extends array
//! runtextmacro AIDS()
real x
real y
static method AIDS_filter takes unit u returns boolean
return GetUnitTypeId(u) == 039;hfoo039;
endmethod
method AIDS_onDestroy takes nothing returns nothing
call DestroyEffect(AddSpecialEffect("SomeBigEffect.mdl",this.x,this.y)) // So can I do this?
call DestroyEffect(AddSpecialEffectTarget("SomeBigEffect.mdl",this.unit,"chest")) // And I can't do this?
endmethod
method AIDS_onCreate takes nothing returns nothing
set this.x = GetUnitX(this.unit)
set this.y = GetUnitY(this.unit)
// Lets just pretend that x and y get updated every second or so because I am lazy.
endmethod
endstruct
Static ifs outside functions will get removed. They DO NOT work fine right now the library phase will get confused by them.