Some friends may not be clear about the meaning of the trigger.
The so-called rigger is "Trigger ". it is also a scripting language of Warcraft 3, which allows map editors to write specific events or processes to maximize the charm of editing maps. if you use languages such as C ++, Java, C #, object basic/Pascal that support object features, you can easily understand them.
In World Editor (we) of Warcraft 3, an event is usually triggered by a trigger ), what participates in the event is called object "object", and the start of the event is called event "start". The necessary condition is called condition "condition", and the event result is called Action "action ". here is an example:
For example:
You heard the mobile phone ring.
You found that the bell was from your phone.
You can answer the call.
"Hello ~ Lili... "(^ & * @ ^ % @(! @)
So,
-->
EventThat is, the "Mobile Phone Rings" incident happened.
ObjectIs: "You"
ConditionThat is: "You find that the bell is from your phone number", not from someone else's phone number.
So ..
ActionThat is: "You answer the phone"
How? Not hard? Is it like a Windows message driver?
Ha, good. Now, please prepare Warcraft 3 (usually play with the "Frozen throne", my name is 1.18) + world editor of Warcraft 3 (World Editor-world editor, "We "). some may know that there is an extended version of the World Editor, which can be called WEU. but I can't use it, and the map will go wrong, so I use the official we, the syntax of the two will be a little different (mainly WEU has a lot of extension statements), it doesn't matter.
Next I will start our trigger tour with an instance ..