ID:161990
 
i have a title screen(title) and turfs(load,create,delete). I have a piece of code for them.
turf/Title
layer = MOB_LAYER+149
icon = 'BYOND 64x64.bmp'
density = 1

turf/Create
layer = MOB_LAYER+150
Create_character
icon = 'black.dmi'
icon_state = "create"
Click() usr.Start()
density = 0
turf/Load
layer = MOB_LAYER+150
Load_character
Click() usr.Load()
density = 0
icon = 'black.dmi'
icon_state = "load"
turf/Delete
layer = MOB_LAYER+150
Delete_character
Click() usr.DeleteCharacter2()
density = 0
icon = 'black.dmi'
icon_state = "delete"

what can i put under them to define where the turf's will be. when i run the game, more then one of the turfs appear(three in a row) for each turf. i am using a source so i am not sure if the title screen is a map or not.
Well if you're using someone else's source you'll have a devil of a time debugging it. You should probably at least ditch their opening screen code and start that part from scratch. The code you posted looks okay, so I think you're right that the parts of the code you didn't write are interfering.

You'll probably want to make these buttons objs anyway, since they'll be easier to position. Turfs are hardwired into the map and they don't move.

Lummox JR
In response to Lummox JR
so i should make the turfs into object and just place them wherever i need? how do i do that? should i make the new title screen a new map? like make a map for it?
The position of the turfs is probably set up in a map file (mapname.dmm).

It will be hard for you to understand someone's source without reading the DM guide and writing your own source to become familiar with the concepts. Tweeking other people's source will only help if you already know the basics.
In response to Traztx
should i change the buttons to objs and then just put them on a map(example. title.dmm)
In response to Iraqii
Sure you could make a new map just for the title screen, but it makes more sense to make a window for it. Do you know how to use the interface editor?
In response to Traztx
nope never even heard of it.what is it?
In response to Iraqii
Check out this tutorial:
making skins

If you become familiar with this, you could make a title window, give it a cool image background, put buttons on it for those character things, and have the buttons trigger verbs in your code. You can make images for the buttons too. Difference is you would need to use jpg's or something, not dmi files.

For my game, I have a window for the title, doing tutorials, playing matches, chat lounge, and shopping. The title window is the only one with the visibility checked in the interface editor. So in the title's "learn" button, it triggers a verb that uses the winset proc to change visibility to false on the title window, and change visibility and focus to true on the tutorial window. In the tutorial window I have a back button that triggers a verb that uses winset to set visibility false on the tut win and visibility and focus true on the title window.