No, it won't have any effect whatsoever (other than making your script potentially unreadable to you). World Editor converts GUI codes into JASS anyway so simply converting to custom text without any modifications will not make the code any better or worse, performance wiseok every1 is saying omgz jass is faster then gui less leaks n all that.
however what if lets say i make a spell, make sure its leakless then just convert it all to "custom text" i mean its in a form of JASS would that make it anymore faster/less lagy?
ok every1 is saying omgz jass is faster then gui less leaks n all that.
however what if lets say i make a spell, make sure its leakless then just convert it all to "custom text" i mean its in a form of JASS would that make it anymore faster/less lagy?
function Trig_fgdfxgh_Conditions takes nothing returns boolean
if ( not ( IsUnitType(GetTriggerUnit(), UNIT_TYPE_STRUCTURE) == true ) ) then
return false
endif
return true
endfunction
function Trig_fgdfxgh_Conditions takes nothing returns boolean
return IsUnitType(GetTriggerUnit(), UNIT_TYPE_STRUCTURE) == true
endfunction
function PolarProjectionBJ takes location source, real dist, real angle returns location
local real x = GetLocationX(source) + dist * Cos(angle * bj_DEGTORAD)
local real y = GetLocationY(source) + dist * Sin(angle * bj_DEGTORAD)
return Location(x, y)
endfunction
local real x = GetUnitX(unit) + 500.00 * Cos(90.00 * bj_DEGTORAD)
local real y = GetUnitY(unit) + 500.00 * Sin(90.00 * bj_DEGTORAD)
local real x = GetUnitX(unit) + 500.00 * Cos(90.00 * bj_DEGTORAD)
local real y = GetUnitY(unit) + 500.00 * Sin(90.00 * bj_DEGTORAD)
call SetUnitPosition(unit,x,y)
// Bad:
call RemoveLocation(l) // removing the location
// Good:
call RemoveLocation(l) // preventing leaks