Dorabella Posted February 22 Posted February 22 With Ai's support, I am compiling a script to implement. When I pass it to PCA, it gives me a variable error. Spoiler With AI, I couldn't solve it. Any suggestions?
PippinTom Posted February 22 Posted February 22 You are trying to declare variable with the same name as one of arguments of function inside which you are doing that. 2
traison Posted February 22 Posted February 22 (edited) Looks like we don't have to worry about AI taking over even the simplest of programming tasks anytime soon. Issues: Shadowing variables means you're trying to redefine something that's already defined somewhere else, like PippinTom sort of said. Since akCaster is an actor, FindClosestActorFromRef will always return akCaster. Using FindClosestActorFromRef like this, even if it wasn't used with an actor as the center, would always return the same actor. GetPlayerTeammate is not a Papyrus function. SetArousal and GetArousal do not exist in the Actor class. Edited February 22 by traison 1
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