SA-MP Forums

Go Back   SA-MP Forums > SA-MP > General

Reply
 
Thread Tools Display Modes
Old 26/05/2018, 06:02 PM   #1
DeadDon
Banned
 
Join Date: Jul 2011
Location: www.deaddon.net
Posts: 208
Reputation: 88
Question Group object Idea

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?
DeadDon is offline   Reply With Quote
Old 26/05/2018, 06:17 PM   #2
wallee
Huge Clucker
 
Join Date: Jan 2017
Posts: 300
Reputation: 40
Default Re: Group object Idea

yep, texture studio has that feature for ages (prefabs)
wallee is offline   Reply With Quote
Old 26/05/2018, 06:50 PM   #3
Uproar
Gangsta
 
Uproar's Avatar
 
Join Date: Feb 2018
Location: India
Posts: 555
Reputation: 128
Default Re: Group object Idea

Quote:
Originally Posted by wallee View Post
yep, texture studio has that feature for ages (prefabs)
This. /gall and /editgroup.
__________________
Uproar is offline   Reply With Quote
Old 26/05/2018, 06:53 PM   #4
DeadDon
Banned
 
Join Date: Jul 2011
Location: www.deaddon.net
Posts: 208
Reputation: 88
Default Re: Group object Idea

DeadDon is offline   Reply With Quote
Old 06/06/2018, 10:36 AM   #5
coool
Gangsta
 
coool's Avatar
 
Join Date: Feb 2013
Location: Republic of Pakistan
Posts: 587
Reputation: 34
Default Re: Group object Idea

http://forum.sa-mp.com/showpost.php?...&postcount=652
__________________
coool is offline   Reply With Quote
Old 08/06/2018, 05:11 PM   #6
Pottus
Godfather
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 5,412
Reputation: 1240
Default Re: Group object Idea

Quote:
Originally Posted by coool View Post
That doesn't take into account rotation though, but we have established functions for doing that kind of operation.
Pottus is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] trablon's Group System[MYSQL-R7][THREADED QUERIES][GROUP TAG(scoreboard)] trablon Filterscripts 8 24/07/2015 12:28 AM
Y_Groups Iterator:Group(Group:group) Crayder Scripting Help 0 31/12/2013 08:54 PM
[idea] Laser object! wups Help Archive 50 11/04/2011 08:09 AM
object streamer idea... sciman001 Help Archive 3 09/04/2011 04:19 AM


All times are GMT. The time now is 06:45 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.