Navigation

    City of Arabel

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Obtain the Centre of a Trigger

    Scripting
    3
    4
    1640
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • The Abbot of Dognlin
      The Abbot of Dognlin last edited by

      I want to plant a hole at the centre of a trigger. How do I find the centre of a triger as a Location so I can spawn the Hole Placeable?

      If you must mount the gallows, give a jest to the croud, a coin to the hangman, and make the drop with a smile on your lips.

      1 Reply Last reply Reply Quote
      • DiaboSatan
        DiaboSatan last edited by

        GetLocation function gets the center location of the selected object. You could use that with triggers, I think.

        City of Arabel biggest fan.

        1 Reply Last reply Reply Quote
        • The Abbot of Dognlin
          The Abbot of Dognlin last edited by

          it alwats gives me a corner of the trigger. probably the first point that was used to define the trigger area. :(

          If you must mount the gallows, give a jest to the croud, a coin to the hangman, and make the drop with a smile on your lips.

          1 Reply Last reply Reply Quote
          • Duckroll
            Duckroll last edited by

            Try drawing a trigger starting from it's middle point then? You could always make a "ring" shape around that point.

            Tong Jool, Merchant of Kara Tur

            1 Reply Last reply Reply Quote
            • 1 / 1
            • First post
              Last post