- Joined
- Sep 14, 2012
- Messages
- 3,413
JASS
Don't use GetWidgetX/Y.
Never use location, use real instead.
Use only conditions and no actions.
It involves using Timer and not TSA (
NEVER USED
To heal a unit ->
To damage a unit ->
Use only
When using the
Use a variable when refering twice or more to something.
Don't null local player handle. It is pointless.
Null global variables handle after usage
Always trust this
GUI
Always use multiple ITE -> So you don't use the Do Nothing shit xD
@JASS AND GUI (not vJASS at all) -> This proves to be useful :3 If you want to convert vJASS to JASS.
Don't use GetWidgetX/Y.
Never use location, use real instead.
Use only conditions and no actions.
It involves using Timer and not TSA (
TriggerSleepAction
or Wait in GUI).NEVER USED
PolledWait
(game time in GUI). It leaks and is innacurate as hell To heal a unit ->
SetWidgetLife()
To damage a unit ->
UnitDamageTarget()
Use only
FirstOfGroup
loop and try to avoid for groups.When using the
FirstOfGroup
loop use the boolexpr inside the loop.Use a variable when refering twice or more to something.
Don't null local player handle. It is pointless.
Null global variables handle after usage

Always trust this
GUI
Always use multiple ITE -> So you don't use the Do Nothing shit xD
@JASS AND GUI (not vJASS at all) -> This proves to be useful :3 If you want to convert vJASS to JASS.