ID:861901
Jul 10 2012, 8:40 am
|
|
is it possible to make a connection between 2 region like making a house system?
|
Jul 10 2012, 10:31 am
|
|
I'm not sure what you mean. The region object behaves similar to the /area object. You can place it on the map to group turfs together and detect when a mob enters a region. I'm not sure how you'd use it for a house system. How do you want the house system to work?
|
I want my house system to be dependent on Console and House Sign. They both sync their details between them like Allowed Player system, Owner also the house Door mat does the same thing i also made something but the problem is that its not generating the same ID as sign and console at same location.77
|
You can use the region to find objects that are in the same connected part of the region. For example:
obj This only works if the region is placed in a way that it connects the turfs containing the console and sign. |
The way I've described here won't work across z levels.
I'm not sure what you mean by "connect" here. Maybe I'll put together a demo for you to see if I understand what you mean. |
this is what i mean
Console and Sign syncing their data accross each other, The door that lead to the house it is connected to, they both are placed in different Z Level which so i need a way which connect /obj/House/Console to Sign and when player Enters the Region they get teleported to Console region with same ID which is what i am getting problem you can see here, Player dont get teleported to same Console like This |
I don't see anything here you'd need regions for. Turfs or objs should be fine.
|
I'd use the Map Instancing library to copy a z level at runtime to create the house and associate the sign and console objects with each other, like this:
obj |