• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[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