• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Trigger] face train with wagons under

Status
Not open for further replies.
Level 18
Joined
Aug 23, 2008
Messages
2,319
I don't completely understand you.

But if you mean: How do I set waiting times for the train to go between regions, then you can either use the 'Wait' Action, or (what you're probably looking for) the 'Wait for Condition' Action. In the last case, your Action will become:
  • Actions
    • Wait until ((REGION contains (Position of TRAIN)) Equal to True), checking every 1.00 seconds
'((REGION contains (Position of TRAIN)) Equal to True)' is a Boolean Comparison, and '(REGION contains (Position of TRAIN))' is from Region - Region Contains Point.
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
You mean you want a wagon to be added to the train whenever it passes a region? In that case, I suggest you take a look at Blizzard's game called Wurm Wars. It's the same, but then with wurms. Just browse through the triggers, and you'll see how they did it.
 
nono simple how to make a only trigger for all region, ex: i usually make a unit enter "train 1" region
conditions
unit-type "train face"
action
oder train face go to train 1<01 gen>

and again

Events: a unit enter in " train 2"
conditions
unit-type....
action: oder... go to train2

this is long because i have 18 regions and i must make 18 trigger for order, now I have a question there is method to make a trigger for all region orders?
 
Status
Not open for further replies.
Top