How to get map info
Posted: Sat Apr 28, 2018 9:28 am
Hi,
I want to get the current level's boundaries, I assume I have two choices:
I can either use get_datamap_property_vector() with "m_WorldMaxs" and "m_WorldMins" OR entity.mins and entity.maxs
I know the world's entity inthandle is 0, but it's not like I can do 0.get_datamap_property_vector(...), I have to get the actual entity "variable"
Question is, how to get the entity from its ID/inthandle as you guys call it ?
I want to get the current level's boundaries, I assume I have two choices:
I can either use get_datamap_property_vector() with "m_WorldMaxs" and "m_WorldMins" OR entity.mins and entity.maxs
I know the world's entity inthandle is 0, but it's not like I can do 0.get_datamap_property_vector(...), I have to get the actual entity "variable"
Question is, how to get the entity from its ID/inthandle as you guys call it ?