Jump to content

Teleport script causing random CTDs


Aintiarna

Recommended Posts

The following script is attached to a magical effect that is run by a lesser power. It summons a custom vampire follower I created and works flawlessly 39 times out of 40. 1 time in 40 it causes a CTD and I cannot figure out why. There is nothing relevant in the papyrus logs despite me putting lots of debugging code in (which I've removed for readability). The magical effect gets as far as applying the image space modifier, then CTD. i.e. none of the special effects in the script show on screen, just the imod defined in the base magical effect.

 

Anyone have a clue why it's breaking?

 

Thanks.

 

 

  Reveal hidden contents

 

Edited by tirnoney
Link to comment
Share on other sites

You're trying to play effects on an actor but also used EnableNoWait. My experience is that trying to do anything graphical without checking that the 3d is fully loaded either results in failure (but there might be situations where it could cause a crash).

 

Try playing the DLC1VampireBatsReformFXS and DLC1VampireBatsReformBATSFXS effects on the MyBatsFXObjectRef instead of ActorRef. If that isn't possible then try waiting for the 3D of the actorRef to be loaded before you apply those two effects.

Link to comment
Share on other sites

  • 5 years later...

I'm sorry it's past so many years, I have a teleport script with pyrotx [/size]Sky Ai Teleporting NPCs at Skyrim Nexus - Mods and Community with him permission, that cause CTD. But your strings script are different from pyrotx one.

 

 

 

  Reveal hidden contents

 

 

Edited by morismark
Link to comment
Share on other sites

  • Recently Browsing   0 members

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