Thorham Posted March 10, 2016 Posted March 10, 2016 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)
NexusComa Posted March 11, 2016 Posted March 11, 2016 Not all events can handle some code. use a goto your_function() outa the event then try the code from the function.
Thorham Posted March 11, 2016 Author Posted March 11, 2016 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.
Recommended Posts