Results 1 to 3 of 3

Thread: Position finder

  1. #1
    Ive been searching for the last hour trying to find a way to get a xyz position reading from the map in the editor.

    I have tried placing an object and looked the the mission file for its position.

    I search the objects name (text="q3") and look at the position but i cant make heads or tails of it.

    I need the xyz co-ords for moving/teleporting the player during an intro where I dont want to have to have him move there due to distance.

    For this I am using: player setpos [x,y,z]

    Is there an easy way to find the co-ordinates to use in mission editor?

    Thankyou for any assistance!

  2. #2
    <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">_x = getPos object
    hint format &#91;&#34;X&#58; %1/nY&#58; %2/nZ%3&#34;,&#40;_x select 0&#41;,&#40;_x select 1&#41;,&#40;_x select 2&#41;&#93;[/QUOTE]

    will return the coodinates in a hint box.

    dmakatra says: \"It\'s not as funny when out of context me thinks. And I\'ve forgotten the context, which sort of makes it boring.\"

  3. #3
    Thankyou&#33; Worked like a charm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •