Content Consumer Posted March 1, 2015 Posted March 1, 2015 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: The magic effect: The script: 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
jfraser Posted March 1, 2015 Posted March 1, 2015 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?
Content Consumer Posted March 2, 2015 Author Posted March 2, 2015 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.