GetObjectPos with id
#1

Hello,
How to get the ID of the object to get the position of.
( P.s.: I'm noot fool to ask this sort of questions, I'm talking about stock objects from singleplayer map. Not custom maps ( CreateObject or CreateDynamicObject ) simply I want to know HOW to find the ID of an object like that RemoveBuildingForPlayer!! )
Reply
#2

That's not possible. Modelid is distinctly different from objectid and the default map doesn't handle objectids at all. The default map is just lines in text files that tell the game to place an object with model X on position Y. The same model (e.g. trees, fences, ...) can be placed multiple times.
Reply
#3

In radius might be possible?
Reply
#4

Btw you don't need to find an object id to be used RemoveBuildingForPlayer, instead just use it's model id and the position coords.
Reply
#5

Oh god.... RemoveBuildingForPlayer is just an example
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)