• 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.

Travelling Merchant!

Status
Not open for further replies.
Level 7
Joined
Jun 16, 2008
Messages
327
To make a merchant "patrol" around your map, try:

  • Unit - Order (YourMerchant) to (Move to) (center of (RandomRegion))
Then, make another trigger with a condition that makes it so that when your merchant enters the region it checks the unit-type to specify that the trigger will only run ifthe entering unit is the merchant:

  • Conditions
    • (Unit-type) of (entering unit) equal to (YourMerchant)
  • Actions
    • Unit - Order (entering unit) to (Move to) (center of (AnotherRegion))
This kind of triggering may be repeated to however many times you want your merchant to move around the map.

If players find that having t move with the merchant in order to buy is annoying, then try:

  • Events
    • A unit comes within 150.00 of (YourMerchant)
  • Conditions
    • (Triggering Unit) is (A hero) equal to true
  • Actions
    • Unit - Pause (YourMerchant)
    • Wait 10.00 seconds
    • Unit - Unpause (YourMerchant)
    • Unit - Order (yourmerchant) to (Move to) (center of (region-he-was-going-to))

Please only use this if you want your merchant to move over a long range. If not, then please use the neutral "Wander" ability.
 
Status
Not open for further replies.
Top