Jump to content

Recommended Posts

Posted

Hi,

Does anyone know why the following code crashes the game if I run it in an OnPlayerLoadGame event? If I add Utility.Wait(10) it works, but unreliably. When I have this code run by, for example, equipping an item (OnObjectEquipped event) it works fine.

Anyone any ideas?

Game.UpdateHairColor()
Game.UpdateTintMaskColors()
NiOverride.ApplyOverrides(thPlayer)
NiOverride.ApplyNodeOverrides(thPlayer)
Posted

Not all events can handle some code. use a goto your_function() outa the event then try the code from the function.

 

Goto? Papyrus doesn't have goto.

  • Recently Browsing   0 members

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