Hi,
1) I would like to know how do you link maps, like a outside door to another map which is the inside door and like if you walk to where the map ends it takes you to another map?
2) How do you decide who can host your game? I want to be the onlyone who can so how can i stop the choice of run your own?
More to come later, Thanks! :)
ID:176551
Jan 3 2003, 1:41 pm
|
|
For question to...Just run the game from your computer without uploading it to the hub, and make sure you have the coding in it so it shows up under your hub..
|
In response to Conquest
|
|
I do believe that it would be better to exchange the [usr]s with [src]s... As far as I know, the quote you wrote would make the current [usr] teleport, no matter WHO enters the teleport turf... which can lead to complications.
splatty |
In response to splattergnome
|
|
then do something like
area/Go_to_othermap Entered(mob/M) if(istype(M,/mob/characters)) usr.loc=locate(1,11,3) |
In response to Acid--Man
|
|
Thanks guys!
|
building //names the turf
icon = 'turfs.dmi'
icon_state = "building" //sets icon_state of turf
density = 1 // tells whether the turf is dense
door
icon = 'turfs.dmi'
icon_state = "door"
density = 1
Ok, than you would put something like this:
turf
doorenter
icon = 'turfs.dmi'
icon_state = "door"
Enter()
usr.loc=locate(2,2,2) //teleports you to those coordinates, coordiantes can be any number, preferably the coordinates you want.
also:
turf
doorleave
icon = 'turfs.dmi'
icon_state = "door"
Enter()
usr.loc=locate(1,1,1) //sets you back to original coordinates.
And for the map to map thing have something like this:
turf
newmap
Enter()
usr.loc=locate(1,1,3) //the 3 is for the map level, or the Z coordinate.
Thats all you do with the turf, it will come up as a sorta clear/gray color and you place that turf on the area you want to go to, for a new map.
-J.C.