Hi, I am using Aleworks Options Menu v2 .5 and i want this script to control a switch when turning an option on or off in the option menu.
So I set up the script properly to display my new option( I think) but that doesn't affect the game yet.
Heres the part of the script thats important I think:
i tried to do it like this:
but thats also doing nothing.. so what am I doing wrong?
I think i might need to do something with updating but i don't know how..
so help plz
So I set up the script properly to display my new option( I think) but that doesn't affect the game yet.
Heres the part of the script thats important I think:
Code:
when 17 # HDR
return nil if type != 0
if @HDR_Effekt == true
@HDR_Effekt = false
else
@HDR_Effekt = true
end
end
i tried to do it like this:
Code:
when 17 # HDR
return nil if type != 0
if @HDR_Effekt == true
@HDR_Effekt = false
def []=(switch_id, value)
@game_switches[200] == false
end
else
@HDR_Effekt = true
def []=(switch_id, value)
@game_switches[200] == true
end
end
end
but thats also doing nothing.. so what am I doing wrong?
I think i might need to do something with updating but i don't know how..
so help plz