26.05.2018, 18:02
Hi guys!
So I was thinking, a lot of time we create a small map and want to recreate it in another locations.
For instance a custom newspaper stand or ATMs and similar.
I was thinking of scripting a filterscript, where you would load your map (let's say newspaper stand) and then place it somewhere on the current location when you are ingame.
This way your imported map would be created as a group of objects which can be placed anywhere.
I was thinking, maybe of creating one "First" object connecting to all other objects, count the distance from all other objects coordinates to that "First" object and then somehow when I want to place the group object, the added coordinates would be calculated and placed in front of me. I would move the whole group object by just moving this "First" object, on which all other objects (and their coordinates) would depend.
My question is, Is that doable and how?
So I was thinking, a lot of time we create a small map and want to recreate it in another locations.
For instance a custom newspaper stand or ATMs and similar.
I was thinking of scripting a filterscript, where you would load your map (let's say newspaper stand) and then place it somewhere on the current location when you are ingame.
This way your imported map would be created as a group of objects which can be placed anywhere.
I was thinking, maybe of creating one "First" object connecting to all other objects, count the distance from all other objects coordinates to that "First" object and then somehow when I want to place the group object, the added coordinates would be calculated and placed in front of me. I would move the whole group object by just moving this "First" object, on which all other objects (and their coordinates) would depend.
My question is, Is that doable and how?