SexLab Inflation Framework implementation without dependency
SexLab Inflation Framework implementation without dependency
For variable names please take a look at: Sexlab Inflation Framework Implementation
The events are located in the script SLIF_ScannerAlias.psc
SLIF_Main.inflate():
int SLIF_event = ModEvent.Create("SLIF_inflate")
If SLIF_event
ModEvent.PushForm(SLIF_event, kActor) ; <-- the actor that will be affected
ModEvent.PushString(SLIF_event, modName) ; <-- the name of your mod
ModEvent.PushString(SLIF_event, sKey) ; <-- the node to be modified (see the documentation for node names)
ModEvent.PushFloat(SLIF_event, value) ; <-- the value that should be assigned to the body node (values go usually from 0.0 to 100.0)
ModEvent.PushString(SLIF_event, oldModName) ; <-- only need to delete existing NetImmerse Override nodes otherwise use empty string
ModEvent.Send(SLIF_event)
EndIf
SLIF_Main.SetMinMaxMultIncrValue():
int SLIF_event = ModEvent.Create("SLIF_setDefaultValues")
If (SLIF_event)
ModEvent.PushForm(SLIF_event, kActor)
ModEvent.PushString(SLIF_event, modName)
ModEvent.PushString(SLIF_event, sKey)
ModEvent.PushFloat(SLIF_event, minimum)
ModEvent.PushFloat(SLIF_event, maximum)
ModEvent.PushFloat(SLIF_event, multiplier)
ModEvent.PushFloat(SLIF_event, increment)
ModEvent.Send(SLIF_event)
EndIf
SLIF_Main.unregisterActor():
int SLIF_event = ModEvent.Create("SLIF_unregisterActor")
If (SLIF_event)
ModEvent.PushForm(SLIF_event, kActor)
ModEvent.PushString(SLIF_event, modName)
ModEvent.Send(SLIF_event)
EndIf
SLIF_Main.unregisterNode():
int SLIF_event = ModEvent.Create("SLIF_unregisterNode")
If (SLIF_event)
ModEvent.PushForm(SLIF_event, kActor)
ModEvent.PushString(SLIF_event, modName)
ModEvent.PushString(SLIF_event, sKey)
ModEvent.Send(SLIF_event)
EndIf
SLIF_Main.hideNode():
int SLIF_event = ModEvent.Create("SLIF_hideNode")
If (SLIF_event)
ModEvent.PushForm(SLIF_event, kActor)
ModEvent.PushString(SLIF_event, modName)
ModEvent.PushString(SLIF_event, node)
ModEvent.PushFloat(SLIF_event, value)
ModEvent.PushString(SLIF_event, oldModName)
ModEvent.Send(SLIF_event)
EndIf
SLIF_Main.showNode():
int SLIF_event = ModEvent.Create("SLIF_showNode")
If (SLIF_event)
ModEvent.PushForm(SLIF_event, kActor)
ModEvent.PushString(SLIF_event, modName)
ModEvent.PushString(SLIF_event, node)
ModEvent.Send(SLIF_event)
EndIf
2
0 Comments
Recommended Comments
There are no comments to display.