sixth of year Posted January 14, 2024 Posted January 14, 2024 (edited) Can someone tell me why the Papyrus compiler doesn't see the "experience" variable? Below is line 2325. The errored line (2326), "if experience == -2", has the variable "experience" above it in the method signature but doesn't seem to detect it. Quote ;orgasm stuff function Orgasm(float experience = 0.0) if experience == -2 Same problem as this person here (@Kakabishan, July 23, 2022): https://www.loverslab.com/topic/194231-script-compiling-issue-sslactoraliaspsc/ sslActorAlias.psc is a source file from SexLab SE - Sex Animation Framework v1.6.3. Edited January 14, 2024 by sixth of year
traison Posted January 14, 2024 Posted January 14, 2024 The papyrus compiler errors usually shouldn't be taken literally. The most typical error I see is it complaining about loops in code that doesn't even have them. Quote cannot compare a experience to a int (cast missing or types unrelated) Suggest experience may be a type, so, change the variable name to "banana" and test again. 2
wareware Posted January 14, 2024 Posted January 14, 2024 (edited) You're using Sexlab Utility Plus by OsmelMC? EDIT: My post on the issue Edited January 14, 2024 by wareware
sixth of year Posted January 19, 2024 Author Posted January 19, 2024 (edited) On 1/14/2024 at 5:10 PM, traison said: Suggest experience may be a type, so, change the variable name to "banana" and test again. LOL that actually worked. Thanks so much! Edited January 19, 2024 by sixth of year
Fotogen Posted January 20, 2024 Posted January 20, 2024 "Experience" is also a mod. Part of it is "Experience.psc" file. So if you have "Experience.psc" installed, "experience" really is not a variable (coz its a script name).
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now