ID:167270
![]() Apr 7 2006, 12:15 pm
|
|
I have a big ol' list of songs for my game but how do i make it so there is an actual list so when I select a certain song it plays it
|
![]() Apr 7 2006, 12:27 pm
|
|
well you could do it in a input like so:
|
whats wrong with this
Play() |
Mxjerrett wrote:
whats wrong with this > Play() you need to indent the ifs 2 times to were its like so mob/verb/Play() and there is no need to if cancel the switch takes care of it by make it return when choose. if i am wrong some one plese correct me. |
post the errors plese kinda hard to fix with out them even so i told you what to fix in my post above.
|
ahh i see what i forgot sorry,
mob/verb/Play() note the extra ) i added to the input |
It'd be better to keep an associative list.
var/list/songs=list("Pokemon Song"='ps.wav',"DBZ Intro"='DBZ.wav') |