Jump to content

Sexlab trigger problem (modder question)


Recommended Posts

Posted
I'm trying to create a poison that, when it strikes a target, forces the target to masturbate.

The problem is, my script isn't compiling.

The potion and magic effect both work, but my script is giving me errors.

When I try to compile, I get "no viable alternative at input" error. It also looks like it's saying my properties are bad, but the property is initialized properly, as far as I can tell.

Does any experienced modder know what I'm doing wrong?

 

The poison:

post-462261-0-12949500-1425231588_thumb.jpg

 

The magic effect:

post-462261-0-66829000-1425231581_thumb.jpg

 

The script:

post-462261-0-73566100-1425231593_thumb.jpg

 

Also, do I need to calm the target first, or will sex anim (masturbation) take precedence over aggression?

And is there anything else I'm missing for this? I'm assuming that QuickStart() works fine and I don't need to give an array of actors and use StartSex(), and how do I define the target reference?

 

I've looked at the MatchMaker code and can't figure that out either.

 

 - A scripting newb

Posted

Well, the error seems to be that it doesn't recognize what sexlab is, so stupid basic question: did you set sexlab up as a dependency?

Posted

OK, just tried a slightly different way. This code compiles fine in dialog:

 

 

SexLabFramework Property SexLab  Auto 
; Actor array - single actor
actor[] sexActors = new actor[1]
sexActors[0] = akSpeaker
; animation array - all possible
sslBaseAnimation[] anims
SexLab.StartSex(sexActors, anims)

But when I try to compile it for the magic effect, I get an error that says "no viable alternative at input new" which seems to be saying it can't even create an array now for some damn reason.

post-462261-0-99649500-1425263987_thumb.jpg

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...