Travelling Merchant!

Status
Not open for further replies.

theDTD

T

theDTD

> ei, i want to make a travelling merchant, don't know how?,
>and, i just dl 1.2 patch and dunno how to use it. . .
>+rep:thumbs_up:
>thanks!:
 
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.
Back
Top