mob/var/tmp/CA=1
AffinityRight()
usr.CA++
if(usr.CA>7) usr.CA=1
switch(usr.CA)
if(1)
winset(usr,null,"affinitypic.image=['Avatar_Vongola.png']; affinityname.text='Sky'; affinitybio.image=['Bio_.png']")
usr.Affinity = "SkyAttempt"
if(2)
winset(usr,null,"affinitypic.image=['Avatar_Cavallone.png']; affinityname.text='Cloud'; affinitybio.image=['Bio_.png']")
usr.Affinity = "Cloud"
if(3)
winset(usr,null,"affinitypic.image=['Avatar_Giglio.png']; affinityname.text='Mist'; affinitybio.image=['Bio_.png']")
usr.Affinity = "Mist"
if(4)
winset(usr,null,"affinitypic.image=['Avatar_Gesso.png']; affinityname.text='Rain';affinitybio.image=['Bio_.png']")
usr.Affinity = "Rain"
if(5)
winset(usr,null,"affinitypic.image=['Avatar_Cavallone.png']; affinityname.text='Storm'; affinitybio.image=['Bio_.png']")
usr.Affinity = "Storm"
if(6)
winset(usr,null,"affinitypic.image=['Avatar_Giglio.png']; affinityname.text='Sun'; affinitybio.image=['Bio_.png']")
usr.Affinity = "Sun"
if(7)
winset(usr,null,"affinitypic.image=['Avatar_Gesso.png']; affinityname.text='Thunder'; affinitybio.image=['Bio_.png']")
usr.Affinity = "Thunder"
Problem description: Im not quite sure if this is an effective method of doing what it does if the "right" verb is called it simply cycles through the stages of the CA tmp var. but if they dont move their selection to begin with they dont get the "SkyAttempt" given to them unless they toggle back through to it.
A fix would be simply making the default var be a SkyAttempt as the attempt is calculated upon clicking the finish verb anyway.
Would there be a better way of coding this or would this suffice?
PS: Yes im aware there is repeats on the avatar it is merely there to ensure that the images changed as i do not have pics for the flames yet :D
But not sure if I typed it right :D, around that anyways