SA-MP Forums Archive
Group object Idea - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: Group object Idea (/showthread.php?tid=654339)



Group object Idea - DeadDon - 26.05.2018

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?


Re: Group object Idea - wallee - 26.05.2018

yep, texture studio has that feature for ages (prefabs)


Re: Group object Idea - Uproar - 26.05.2018

Quote:
Originally Posted by wallee
Посмотреть сообщение
yep, texture studio has that feature for ages (prefabs)
This. /gall and /editgroup.


Re: Group object Idea - DeadDon - 26.05.2018




Re: Group object Idea - coool - 06.06.2018

http://forum.sa-mp.com/showpost.php?...&postcount=652


Re: Group object Idea - Pottus - 08.06.2018

Quote:
Originally Posted by coool
Посмотреть сообщение
That doesn't take into account rotation though, but we have established functions for doing that kind of operation.