• Announcements

    • Ashal

      SITE MOVED - IN READ ONLY MODE   12/08/2015

      Please use http://www.loverslab.com moving forward. Site has been restored to a previous version, and this one placed into a read-only mode. This is available for a limited time so users may reference/copy content that has been lost in the transition. This will no longer be accessible by December 22nd, 2015.

Archived

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

Content Consumer

Sexlab trigger problem (modder question)

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.

 

The magic effect:

post-462261-0-66829000-1425231581_thumb.

 

The script:

post-462261-0-73566100-1425231593_thumb.

 

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

0

Share this post


Link to post

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?

0

Share this post


Link to post

Yep, it's in there.


post-462261-0-18384600-1425240558_thumb.


0

Share this post


Link to post

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.

0

Share this post


Link to post