ID:161934
 
where can i find stuff on options?
what are you specifically asking for? What kind of options?
In response to National Guardsmen
i mean like sound off sond on and more stuff like that
In response to Opop1
Opop1 wrote:
i mean like sound off sond on and more stuff like that
mob
verb
Option()
switch(alert("",,"Sound","Cancel"))
if("Sound")
switch(alert("",,"On","Off"))
if("On")
//play sound//
if("Off")
//turn off sound//


you can add more to this, but thats just a basic type Option system.
In response to Opop1
Opop1 wrote:
i mean like sound off sond on and more stuff like that


You are confused.
In response to Signako
finally someone understood me thanks so much
In response to Signako
. . .

#define ON 1
#define OFF 0

mob/var/sound = ON

mob/verb/toggle_sound()
if(src.sound==ON) src.sound = OFF; src <<sound(null); return
if(src.sound==OFF) src.sound = ON; return


This will not turn sounds off for DS.

if(src.sound==ON) src <<'sound.wav'


It will only disable them for your game, and the sounds you apply this check to. :)