De-Optimize JASS.
RMPQEx ftw.
There are some simple jass tutorials out there, also.
"i dont get what the numbers mean and i"
Some are integers.
Some are reals.
Some are points.
"especially dont understand how to apply it to a map"
Learn JASS before applying to a map. It won't make sense at first.
Pretty much, the InitTrigger adds the event.
The TriggerConditions add a condition and return a boolean <typicly>
The TriggerActions execute the real 'code' of the map.
The "takes" thing in "takes nothing returns nothing" is a parameter you must do while calling.
For instance,
Code: Select all
Function Add100 takes Integer Numb returns Integer Answer
You would call this
and if you trigger it correctly it will return 600.
Im guessing on that last part from my knowlege in programming.