Rennn Posted July 12, 2013 Posted July 12, 2013 I'm trying to make a mod that adds the player to the Forsworn Faction after a short quest. However, the script to add the player to the faction doesn't seem to work.This is the script: Game.GetPlayer().AddtoFaction(ForswornFaction) When I attempt to compile it, I get a warning that it failed, and that "variable ForswornFaction is undefined." Does anyone know what I'm doing wrong?
Ghaunadaur Posted July 12, 2013 Posted July 12, 2013 You need to create the property first.This may answer your question: http://www.creationkit.com/FAQ:_My_Script_Doesn%27t_Work!#I_can.27t_add_a_property_to_a_script_fragment.21
Recommended Posts