Jump to content

Simple AddToFaction() Script Not Working


Recommended Posts

I made a quest that will run when the game starts up and it has this one script. All it should do is add these factions to certain NPCs and then stop the quest all together. For some reason it does not work since in another quest I made I have dialogue which will only be applied to those NPC apart of the faction but the dialogue simply does not appear. I must be missing something but I cannot figure it out for the life of me. Any help or tips will be most appreciated.

Scriptname addFactionsScript extends Quest  

Actor Property Bolar Auto
Actor Property Murbul Auto
Actor Property Sharamph Auto

Faction Property myFaction Auto

Event OnInit()
	Bolar.AddToFaction(myFaction)
	Murbul.AddToFaction(myFaction)
	Sharamph.AddToFaction(myFaction)

	Stop()
EndEvent

EDIT: I figured out why this was not working, I needed to regenerate the seq file or the mod. Once that was done it worked!

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...