mob
Cantina_Owner
icon = 'human_Male.dmi'
icon_state = "cleaningmug"
verb
Talk()
set name = "Talk (Bartender)"
set category = "Communication"
set src in oview(3)
usr << browse(F, "window=Cantina;titlebar=1;can_close=1;can_minimize=0;size=600x400")
Form
Cantina
reset = "Reset"
submit = "Submit"
var
booze
booze_1 = "Yes"
booze_2 = "No"
HtmlLayout()
return{"<br>
Welcome to Mos Eisley Space port...<br>
Can I get you something to drink?<br><br>
[booze_1] Yes<br>
[booze_2] No<br><br>
<center>[submit]<br>"}
Initialize()
booze = booze_2
ProcessForm()
if("Yes")
var/Form/CantinaPart2/page
usr << browse(page, "window=CantinaPart2;titlebar=0;can_close=0;can_minimize=0;size=600x400")
if("No")
usr << "Suit yourself."
var/Form/CantinaPart2/page
usr << browse(page, "window=CantinaPart2;titlebar=0;can_close=0;can_minimize=0;size=600x400")
ID:141111
Jun 19 2009, 11:54 am
|
|
For a StarWars game...a, what I thought would be, simple form to pop up when you talk to him... however when you hit Talk it does nothing... any help? The CantinaPart2 part is there as well but I doubt that's the problem.
|
Read this
http://www.byond.com/members/ DreamMakers?command=view_post&post=33352