Jump to content
  • entries
    2
  • comments
    0
  • views
    3,092

Actor Events


darkconsole

2,304 views

Soulgem Oven 3 emits events that can be listened for in fourth party mods to perform actions when something happens within SGO. They may sound useful, but coming up with ways to actually make them useful may take some creativity. For the most part, they are intended just to be informational.

 

Event List
These are the events you can listen for.

  • SGO.OnGemProgress
  • Actor Who, Int[7] GemCounts
  • This event is emitted when a gem within an actor progresses to the next full stage of development. This means when a gem goes from like, Petty to Common. The GemCount array is a list of how many gems of each type their are. So GemCount[0] is how many Soulgem Fragments (less than petty) are inside, and GemCount[6] is how many Black Soulgems are inside.

  • SGO.OnMilkProgress
  • Actor Who, Int BottleCount, Int Overage
  • Emitted every time an actor progresses another full bottle of milk. So if you have 1 bottle ready to be milked, this will be emitted when it finally reaches to 2. The overage value is how many bottles more you *would* have produced after wait/sleep/travel but were at the cap.

  • SGO.OnSemenProgress
  • Actor Who, Int BottleCount
  • Emitted every time an actor progresses another bottle of semen. Works the same as OnMilkProgress.

  • SGO.OnBirthing
  • Actor Who
  • Emitted when an actor is starting to birth a gem. It is emitted before all the moaning and stuff. If there are multiple gems to be birthed, it will be emitted for each iteration e.g. before each gem.

  • SGO.OnBirthed
  • Actor Who, Form What
  • Emitted when a gem has popped out of an actor.

  • SGO.OnMilking
  • Actor Who
  • Emitted when an actor is starting to milk themselves. Works the same as OnBirthing.

  • SGO.OnMilked
  • Actor Who, Form What
  • Emitted when a bottle of milk has popped out an actor. Works the same as OnBirthed.

  • SGO.OnWanking
  • Actor Who
  • Emitted when an actor has started to masturbate. Works the same as OnBirthing.

  • SGO.OnWanked
  • Actor Who, Form What
  • Emitted when a bottle of semen as popped out of an actor. Works the same as OnBirthed.

  • SGO.OnInserting
  • Actor Who, Form What
  • Emitted when an actor begins inserting a gem into themselves.

  • SGO.OnInserted
  • Actor Who, Form What
  • Emitted when an actor finishes inserting a gem.

  • SGO.OnInseminating
  • Actor Who, Form What
  • Emitted when an actor starts getting artificially inseminated.

  • SGO.OnInseminated
  • Actor Who, Form What
  • Emitted when an actor has finished getting artificially inseminated.

 


Example Usage
How Mod Events Work.

 

Somewhere in your script initialisation you will want to register for the event just like any other event.

self
.
RegisterForModEvent
(
"SGO.OnWanking"
,
"MyWankingCallback"
)

 


Then you need to create that event callback.

 


Event
MyWankingCallback
(
Actor
Who
)

Debug
.
Notification
(
Who
.
GetDisplayName
() +
" fap fap fap."
)

Return

EndEvent

 


And now every time an actor wanks it will print a notification about it.

0 Comments


Recommended Comments

There are no comments to display.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use