mob/Login()
usr << sound('offtoneverland.ogg')
thats fine, my game has 4 nations to choose from when creating a player these are; furion, ancient, arcadian & sky pirate.When they select a nation and click the Finish button to enter the game from the start turf on the map, I want the main theme music to stop so id use the code
usr << sound(null)
stops it, next Depending on the nation selected, I want to make a specific song play depending on which nation was picked, example being;
if furion - song a
if ancient - song b
if arcadian - song c
if sky pirate - song d
now i figure ill have to have Vars for the nations like this
mob
var/furion=0
var/ancient=0
var/arcadian=0
var/sky_pirate=0</b>
and finally my finish button on character select
Finished
icon='Finished.bmp'
density=1
opacity=1
layer=7
Click()
usr.loc=locate(/turf/landscape/start)
usr << sound(null
//if furion - song a
//if ancient - song b
//if arcadian - song c
//if sky pirate - song d
I assume i have to add an If statement to this area but im having trouble putting together the correct type of if statement, if statements arent my strongest suits
So any help would be appreciated thanks
the theory is sound in my head i just need help putting it together, if statements arent my strongest suit, i dont quite get the uses and types of it all EVEN after reading it