This is my ssj code(well,part of it)-
obj/SForm/SSjS
name = "SSj"
verb
Transform()
set category = "Fighting"
if(usr.ssj == 0)
alert("Do you want an SSJ Aura?","Aura","Yes","No")
if("Yes")
usr.underlays += 'Aura-SSj.dmi'
var/power = rand(350,460)/100
oview(6) << "**You feel [usr]'s powerlevel increse as his hair stands on end and a golden aura surrounds him**"
usr << "You feel your powerlevel rise as you go Super saiyan!"
usr.PL = usr.PL*power
usr.SaveStr = usr.Str
usr.SaveSpd = usr.Spd
usr.Str = usr.Str*2.2
usr.Spd = usr.Spd*2.1
if(usr.HairT == 1)
usr.overlays -= usr.hairover
usr.overlays +='HairGokussj.dmi'
usr.ssj = 1
if(usr.HairT == 2)
usr.overlays -= usr.hairover
usr.overlays += 'HairSpiklongssj.dmi'
usr.ssj = 1
if(usr.HairT == 3)
usr.ssj = 1
if(usr.HairT == 4)
usr.overlays -= usr.hairover
usr.overlays +='HairVegetassj.dmi'
usr.ssj = 1
if(usr.HairT == 5)
usr.overlays -= usr.hairover
usr.overlays +='HairShortssj.dmi'
usr.ssj = 1
if(usr.HairT == 6)
usr.overlays -= usr.hairover
usr.overlays +='HairSpikshortssj.dmi'
usr.ssj = 1
else
usr << "Already in a Superform!!!"
I want to be able to select if the ssj aura becomes visible or not,i did that with alert
The problem is that,even if i press no,it still appears,how do i fix this?
(Yes,this is part of the QFP code,nick it if u want,its useless to u)
Copyright © 2024 BYOND Software.
All rights reserved.
switch(input("Do you want an SSJ Aura?","Aura")in list("Yes","No"))
if("Yes")
Here your code when someone pressed yes
if("No")
Here your code when someone pressed no
I hope this helps u
Greetz Fint