mrfunnyguy901 Posted April 30, 2022 Share Posted April 30, 2022 So, I'm trying to get into Fallout 4 Modding but its way of coding is way different from what I'm used to. I'm trying to enable an Actor Through a Quest Stage But it's not working I've checked the wiki but that didn't seem to help.Here is the simple little papyrus fragment I can't figure out whats wrong with it but maybe you can its probably very simple and I'm just being dumb for not realizing it sooner. Actor MinuteMenVengeance1REF.Enable() The Issue I'm facing is that when compiling it says " no viable alternative at "." I've read the wiki on what this means but I can't for the life of me see what's wrong with this line of very simple code Actor is also tacked on there because If I don't it says its an undefined variable. Link to comment Share on other sites More sharing options...
SKKmods Posted April 30, 2022 Share Posted April 30, 2022 Cant define a variable or property and run a function call on it in the same line. Working with script fragments is arse because you cant see the property declarations so probably dont know they are a thing. Enable() is called on objects in 1,675 lines of base game script, really best look at some of them to understand how it works. Link to comment Share on other sites More sharing options...
Zorkaz Posted April 30, 2022 Share Posted April 30, 2022 MinuteMenVengeance1REF.Enable() should suffice. Make sure you filled out the Property with the same name Link to comment Share on other sites More sharing options...
mrfunnyguy901 Posted April 30, 2022 Author Share Posted April 30, 2022 MinuteMenVengeance1REF.Enable() should suffice. Make sure you filled out the Property with the same name Alright I think i've figured it out thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts