• 0

    posted a message on Ramps and teleport-help!

    @jakewalsh123: Go He answered it, but if you're new to triggers or want more detail:

    To make a unit teleport to a region by entering a region, set the unit to a global unit variable (Ctrl + B with nothing selected) and create a trigger with the event Unit -> "Unit Enters/Leaves Region." Set "Any Unit" to your global unit variable, and set the region to move from to either one on the map (under Value) or to a variable region. Add any conditions you want. Use Unit -> "Move Unit Instantly" as your action. If you know the coordinates of the point, you can just put it in. Under the Function input for the point, there are several ways of using regions too (such as the center, corners, or a random point inside).

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.