I created a new Super Saiyan Race that seems to be working, but i'm having trouble with the spell to turn into, and back from one. Basically,
I have no experience with scripting, and this is what i cobbled together from a werewolf script i found
Spoiler
Scriptname SSJSwitch extends activemagiceffect
Race Property SuperSaiyanRace auto
Function SuperSaiyan
Race currRace = Target.GetRace()
if (currRace != SaiyanRace)
if (Target != Game.GetPlayer())
Target.SetRace(SuperSaiyanRace)
endif
endif
else (currRace != SuperSaiyanRace)
if (Target != Game.GetPlayer())
Target.SetRace(SaiyanRace)
endif
endif
EndFunction
Race Property SuperSaiyanRace auto
Function SuperSaiyan
Race currRace = Target.GetRace()
if (currRace != SaiyanRace)
if (Target != Game.GetPlayer())
Target.SetRace(SuperSaiyanRace)
endif
endif
else (currRace != SuperSaiyanRace)
if (Target != Game.GetPlayer())
Target.SetRace(SaiyanRace)
endif
endif
EndFunction
The idea is that if you aren't a super saiyan, it turns you into one, and if you are, it turns you back to a regular Saiyan.
Unfortunately, it isn't working, and i can't seem to figure out why.
If anyone has any idea that would be great
