ID:261371
Feb 5 2002, 2:59 pm
|
|
Whats the code for a screen before a screen?I want people to be able to choose there icons from Final Fantasy and Dragon Warrior.So i want the screen when you log on to go to names (i got that already) then to a screen were you choose from Final Fantasy or dragon warrior.then when you click wich one you want it goes to a screen were you can choose a person from that game.
|
In response to Lummox JR
|
|
thanks Lummox JR and jowy youve both been a great help.I will give this a shot for the charecters.I am learning so fast for being here only a week :)
|
To do this you could use several approaches. One is to create a special map z-level to use as your intro screen. Another way is to use the new client.screen functionality to add make this interface visible to the player.
One way I haven't tried, though it would work, would be to modify client.Topic(), and then output the icons at full size into the text (look up \icon[ref] in the reference) along with a link that client.Topic() will recognize. Something like this:
When a player clicks one of the icons in the text output, it becomes theirs. You can even use this kind of code to allow players to pick their race, class, whatever else you need them to choose. With each race you could also output text explaining what they do. (The ChoosingIcon var is extremely important. Without it, any player can use the .url verb to change their icon and possibly repeat whatever code appears in IconChosen() to complete the login.)
Lummox JR