Jump to content
⚠ Known Issue: Media on User Profiles ×

Tron91

Premium Member
  • Posts

    3
  • Joined

  • Last visited

Nexus Mods Profile

About Tron91

Profile Fields

  • Country
    None

Tron91's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Am trying to make a script which adds a Faction to an Actor using the OnLoad event. If the script finds a particular mod, it attaches a Faction from that mod to the Actor. But, the script keeps running on every OnLoad event. How to terminate the script once the Faction has been added by the script. ScriptName SexFactionsSupport extends ObjectReference Actor Property akActor Auto Bool Processed = False Event OnLoad() If Processed == True Return EndIf While akActor.Is3DLoaded() == False Utility.Wait(6.0) EndWhile Process(akActor) EndEvent Function Process(Actor akActor) If Game.GetModByName("SexFactions.esm") != 255 Faction SexFaction = Game.GetFormFromFile(0x00000d62, "SexFactions.esm") as Faction If SexFaction akActor.AddToFaction(SexFaction) Processed = True EndIf EndIf EndFunction
  2. Anyone knows of a good hair mod supporting SMP.
×
×
  • Create New...