Thorham Posted March 10, 2016 Share 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) Link to comment Share on other sites More sharing options...
NexusComa Posted March 11, 2016 Share 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. Link to comment Share on other sites More sharing options...
Thorham Posted March 11, 2016 Author Share Posted March 11, 2016 On 3/11/2016 at 3:34 AM, NexusComa said: 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. Link to comment Share on other sites More sharing options...
Recommended Posts