GUIDE: Triggers - modifying unit name (or hp, power, etc.)

Post Reply
Stratego (dev)
Site Admin
Posts: 15741
Joined: Fri Apr 25, 2014 9:28 pm

GUIDE: Triggers - modifying unit name (or hp, power, etc.)

Post by Stratego (dev) »

Here is a walktru how to modify unit name by using triggers.

Requirements: First be sure you saw these :
1. watch all triggering videos on this channel: https://www.youtube.com/channel/UClIvOg ... RZkux5G7uA
2. and try all u see in videos, so u have experience in triggering
3. read the in-game trigger help


Walktru (it is required you already know the above mentioned "Requirements" items)
1. make a trigger (lest call it Trigger1)
2. in Trigger1 make a condition first turn for first player (so right on first opening the game)
3. in Trigger1 make an effect "Change ObjXY name" and set target unit in Obj XY, and write the new unit name in "message" box
4. (to try) quit the mapeditor, longlick on your map draft and press "Activate and Run" to check how it works.

that is all.

very similar to all propery changing effect of a unit (power, hp and so on) except numerical ones require the Nr1 field to be filled with the value (not the message field).
Post Reply

Return to “Map Design”