obj
kaitransform
verb
Transform()
set category = "Fighting"
set name = "Kai Transfomation"
switch(input("Which form do you wish to Transform/Revert?","Transform",text) in list("Super Kai","Form Three","Revert","None"))
if("Super Kai")
if(usr.state == "kai race normal.dmi")
if(usr.maxpowerlevel >= 45000000)
view(6) << "<font color = green>-[usr.name]<font color = white> begins to transform!-"
usr.icon = 'kairacesuper.dmi'
usr.powerlevel = usr.maxpowerlevel * 3
usr.state = "Super Kai"
else
usr << "<i>You still are too weak...."
else
usr << "<b>You must be in Normal."
if("Revert")
if(usr.state=="Normal")
usr << "You are reverted already."
else
view(6) << "<font color = green>-[usr.name]<font color = white> begins to revert from [usr.state]-"
flick("revert",usr)
usr.icon = 'kai race normal.dmi'
usr.state = "Normal"
if(usr.powerlevel >= usr.maxpowerlevel)
usr.powerlevel = usr.maxpowerlevel
How can i do that any pointers please
Your aiming to strict transformations how... as in only Saiyans can go Super saiyan and only Kai's can go Super Kai... etc etc?
also..
is the icon state named .dmi ? if not thats going to generate errors.. for one of two reasons
1 - It may be your trying to refer to a Icon file, if thats the case you want usr.icon
2 - It may be your too used to typing .dmi or whatever and you need to take it off
It will provide no visible icon if that specified 'state' can be found, and also you've done it wrong...
make sure you do that for all other 'usr.state' you have
Also while we're on the subject, if this is Zeta coding, I will help you but in all honesty I'm going to turn around and simply say
D E L E T E I T!
we have enough DBzeta's on the hub, I'm not going to count but i bet we're already hitting the 1000's