- Joined
- Apr 1, 2019
- Messages
- 156
1. For bribes damage engine, it's faster if you combine all your triggers into one with the GDD_Damage_event. Does the same concept apply to other triggers? Say combining all your, "a unit is sold" or "periodic Event .03 sec" along with the many other events to reduce lag?
2. On version wc3 1.31 the trigger editor is hella laggy, I do have lots of triggers tho, but it wasn't like that on 1.30, is there a fix for this?
3. In Jass
call DestroyGroup(udg_temp)
call DestroyForce(udg_temp)
call RemoveLocation(udg_temp[bj_forLoopAIndex])
call SetUnitState(u, UNIT_STATE_LIFE, GetUnitState(u, UNIT_STATE_MAX_LIFE))
is like this in lua
DestroyGroup(udg_temp)
DestroyForce(udg_temp)
RemoveLocation(udg_temp[bj_forLoopAIndex])
SetUnitState(u, UNIT_STATE_LIFE, GetUnitState(u, UNIT_STATE_MAX_LIFE))
Like is all the function calls in lua exactly the same as Jass but without the "call"
2. On version wc3 1.31 the trigger editor is hella laggy, I do have lots of triggers tho, but it wasn't like that on 1.30, is there a fix for this?
3. In Jass
call DestroyGroup(udg_temp)
call DestroyForce(udg_temp)
call RemoveLocation(udg_temp[bj_forLoopAIndex])
call SetUnitState(u, UNIT_STATE_LIFE, GetUnitState(u, UNIT_STATE_MAX_LIFE))
is like this in lua
DestroyGroup(udg_temp)
DestroyForce(udg_temp)
RemoveLocation(udg_temp[bj_forLoopAIndex])
SetUnitState(u, UNIT_STATE_LIFE, GetUnitState(u, UNIT_STATE_MAX_LIFE))
Like is all the function calls in lua exactly the same as Jass but without the "call"