HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help:How to use trigger tag?

10-07-2008, 02:30 PM#1
shingoscar
When I use that button,it only show two trigger tags.
How to write triggers in the trigger tag?
Write with keyboard?
Or use "copy as text" from trigger editor one by one?
Or there's any easier way?
I'm in chaos...
10-07-2008, 02:53 PM#2
Rising_Dusk
This is in the wrong forum. Moved to site discussion.

Below is a random example:
Code:
[trigger]Bomb Voyage
    Events
        Unit - A unit Starts the effect of an ability
    Conditions
        ((Triggering unit) Equal to Hawk (Level 1) 0000 <gen>) and ((Ability being cast) Equal to Reveal)
    Actions
        Set CastPoint = (Target point of ability being cast)
        Unit - Order Hawk (Level 1) 0000 <gen> to Move To CastPoint
        Unit - Create 1 BombVoyage! for (Owner of Hawk (Level 1) 0000 <gen>) at CastPoint facing CastPoint
        Set BombVoyage = (Last created unit)
        Trigger - Run Bomb 2 <gen> (ignoring conditions)
[/trigger]
Trigger:
Bomb Voyage
Collapse Events
Unit - A unit Starts the effect of an ability
Collapse Conditions
((Triggering unit) Equal to Hawk (Level 1) 0000 <gen>) and ((Ability being cast) Equal to Reveal)
Collapse Actions
Set CastPoint = (Target point of ability being cast)
Unit - Order Hawk (Level 1) 0000 <gen> to Move To CastPoint
Unit - Create 1 BombVoyage! for (Owner of Hawk (Level 1) 0000 <gen>) at CastPoint facing CastPoint
Set BombVoyage = (Last created unit)
Trigger - Run Bomb 2 <gen> (ignoring conditions)
10-07-2008, 04:05 PM#3
Tide-Arc Ephemera
Quote:
Originally Posted by shingoscar
Or use "copy as text" from trigger editor one by one?
You go into the trigger tab, select the very top of your trigger (should be a sheet of paper partnered with the trigger name) then use Copy As Text, then you insert it into the trigger tags as shown by Rising_Dusk
10-08-2008, 12:45 PM#4
shingoscar
Quote:
Originally Posted by Tide-Arc Ephemera
You go into the trigger tab, select the very top of your trigger (should be a sheet of paper partnered with the trigger name) then use Copy As Text, then you insert it into the trigger tags as shown by Rising_Dusk
It's a good way, thank you very much.