Quantcast

Jump to content

» «
Photo

[SA] Reading coordinates of map objects

3 replies to this topic
aStiffSausage
  • aStiffSausage

    Formerly Oksu

  • Members
  • Joined: 30 Sep 2010
  • Finland

#1

Posted 26 April 2013 - 08:42 PM

So, I guess the description says it.

Is there a way to get coordinates of each map object, like getting position of each palm with model "thisandthat.dff"?

xrk
  • xrk

    ..

  • Members
  • Joined: 04 Feb 2004

#2

Posted 26 April 2013 - 08:52 PM

Using a map editor/viewer and select model generally works.
Or searching through the IPLs

Ashwin.Star
  • Ashwin.Star

    Back for Next ♪♫

  • Members
  • Joined: 14 Nov 2010
  • India

#3

Posted 27 April 2013 - 01:00 AM

use CLEO opcode to get the Handle of Random object near Player,
The Simple Store its current Position in Vars,

you can get the Coords of Many map Objects with this too, (i think that The Models which are Defined in Object.dat)

_DK
  • _DK

    Homie

  • Feroci Racing
  • Joined: 12 Apr 2009
  • Brazil

#4

Posted 27 April 2013 - 12:25 PM

I have some example here, not sure if it will work with trees.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users