Dev:SDK/Slave Girl - Events - Faeries

From Slavemaker Wiki
Jump to: navigation, search
<<first <prev SDK/Slave Girl - Events - Faeries next> last>>


SlaveMaker 3 SDK Fearies

There are a series of functions and variables that control faerie events

Core Variables[edit]

_root.FairyXF - stage of her transformation into a fairy
-1 = will never transform
0 = not started
1-99 = partial
2000 = fully transformed


_root.FaeriesRingWorn
0 = not worn
1 = worn


_root.FaeriesRingOK
0 = ring not owned
1 = owned


_root.FairyMeeting - progress of faerie rescue event

Core Functions[edit]

IsFairy

function IsFairyl() : Boolean
Is she fully transformed


ChangeFairyXF

function ChangeFairyXF(val:Number)
alter (increase or decrease) her fairy transformation by val points. No effect if the transformation has not started or is complete


SetFairyXF

function SetFairyXF(val:Number)
Set the transformation to an arbitrary value. Can be used anytime, take care


PositionWings

function PositionWings(xpos:Number, ypos:Number, rot:Number, wid:Number, hei:Number)
Position a set of Faerie wings behind the slave's image in the main window


PositionWingLeft

function PositionWingLeft(xpos:Number, ypos:Number, rot:Number, wid:Number, hei:Number)
Position a left Faerie wing behind the slave's image in the main window


PositionWingRight

function PositionWingRight(xpos:Number, ypos:Number, rot:Number, wid:Number, hei:Number)
Position a right Faerie wing behind the slave's image in the main window


PositionWingsOver

function PositionWingsOver(xpos:Number, ypos:Number, rot:Number, wid:Number, hei:Number)
Position a set of Faerie wings over the slave's image in the main window


PositionWingLeftOver

function PositionWingLeftOver(xpos:Number, ypos:Number, rot:Number, wid:Number, hei:Number)
Position a left Faerie wing over the slave's image in the main window


PositionWingRightOver

function PositionWingRightOver(xpos:Number, ypos:Number, rot:Number, wid:Number, hei:Number)
Position a right Faerie wing over the slave's image in the main window


Slave Girl Override Functions[edit]

These functions can be overloaded for a Slave girl to control her changes

ShowFaerieTransformation

Show an image and/or text when the fairy transformation completes
function ShowFaerieTransformation() : Boolean
return true if you show an image


<<first <prev SDK/Slave Girl - Events - Faeries next> last>>