Author Topic: [RESOURCE] Object positioning (See or get an object from a position)  (Read 1284 times)

bool isObjectPos(Vector3F pos[,$TypeMask])
  + Returns wether or not the object is in the position.
  + TypeMask will only be used if you want to use a specific typemask, otherwise, it will use all types.

int getObjectPos(Vector3F pos[,$TypeMask])
  + Returns the object, if there isn't an object with that typemask, it will return -1.
  + TypeMask will only be used if you want to use a specific typemask, otherwise, it will use all types.

Download Source_ObjectPositioning

If you don't remember the TypeMasks, you can use this: http://forum.blockland.us/index.php?topic=212880.0


This might not be useful, it depends on how you use it.

Maybe useful when making a random map generator?
« Last Edit: December 14, 2013, 04:51:42 PM by Advanced Bot »

.. how exactly is this useful?


-nothing new here-
« Last Edit: December 14, 2013, 04:51:01 PM by Advanced Bot »

.. how exactly is this useful?
there have been cases where i've needed to know if a thing is at a place or not

this is a nice short way to do it