| 01-09-2008, 12:07 AM | #1 |
Over in Development -> Scripts and Triggers there is a sticky that mentions the jass code and trigger tags. It simply lists the availability of the [trigger] tag, but leaves it up to the user to discover how to use it. Could you (Vexorian, or whoever else can/wants to modify that sticky) please provide a bit of elaboration on the syntax for the trigger tag? (Preferably inside the sticky, so that others can learn to use it more quickly.) Also, I'm wondering how you list the tags themselves as text within that sticky - what escape sequence do you use? |
| 01-10-2008, 01:43 AM | #2 |
to use the tags as text just use code tagz Code:
[.code][trigger]Create Unit(or whatever)[/trigger][./code] |
| 01-10-2008, 04:06 AM | #3 |
I believe [noparse] and [/noparse] is used. The trigger tag is easy. Right click the name of your trigger in the code section (not where all the names are, but where the events, conditions and actions are) and select "Copy as Text". You then paste it between [trigger] and [/trigger] tags. Jass is the same thing, except you select all your jass script and past it between [jass] and [/jass] or [ljass] and [/ljass] (in line) tags. |
