RamzaThanatos, before u convert it. Rememer that u cant convert it to GUI
RRRRRRRRRRRRRRRRRRRRRRRRRROOOOOOOOOOONG!!!!!!!!!! You can convert JASS to GUI if it can be done in GUI. But this cannot be done in the editor! Simply download Deprotect at This website and deprotect a map (if it is protected deprotect it twice!) and the JASS will turn into GUI unless it can only be done in JASS.
Blade.dk2 Using locations IS faster than using reals, if you doesn't take the painful cleanup's duration in consideration.
Excuse me , but who did lie that to you? Who said locations are faster. Who said that SetUnitPosition ( unit , location ) is faster than ( SetUnitPosition ( unit ,real x , real y ) ??? Reals > Locations !!! proof ?
you have many functions that take locations to call their real exuivalents,by using GetLocationX/Y
aslo the -->native<-- GroupEnumUnitsInRangeLoc calls GroupEnumUnitsInRange() using GetLocationX/Y tested by me. GroupEnumUnitsInRange() is faster than its location equivalent. locations behave slower since you have to create them. you give 2 reals to a native named Location () and it returns you one location. so where is the faster here ?
Blade.dk2 Using locations IS faster than using reals, if you doesn't take the painful cleanup's duration in consideration.
Excuse me , but who did lie that to you? Who said locations are faster. Who said that SetUnitPosition ( unit , location ) is faster than ( SetUnitPosition ( unit ,real x , real y ) ??? Reals > Locations !!! proof ?
you have many functions that take locations to call their real exuivalents,by using GetLocationX/Y
aslo the -->native<-- GroupEnumUnitsInRangeLoc calls GroupEnumUnitsInRange() using GetLocationX/Y tested by me. GroupEnumUnitsInRange() is faster than its location equivalent. locations behave slower since you have to create them. you give 2 reals to a native named Location () and it returns you one location. so where is the faster here ?
Vexorian AND PitzerMike "lied" to me. And as I said, locations are faster if you DON'T take cleanup in consideration.
Why? Because you only have to pass one single pointer to the function instead of two reals.
And that location-taking functions call other function with the real value of the locations, doesn't make locations slower, only affects the funciton.