Hey hey! I’m interested in making a module, but I was mostly curious about best practices first. Obviously, I am interested in best practices outside of just scripting, but I’m starting here.
If I wish to script a new behavior for a creature, what is the general consensus as to what is best?
- Use OnUserDefined for all of my specific needs.
- Overwrite and replace the script with only my content.
- Overwrite and replace, but execute the default script at the beginning.
- <Something I didn’t think of.>
And do best practices change from situation to situation? If so, the situation I am looking at is a scene-specific creature: a potted plant, if you would. No variables need to translate, no combat is expected, etc… Would it be safe, efficient, or otherwise good to scrap the default NPC scripts?
Any outlooks and opinions, are welcome. Thank you for taking a read!
(P.S., I apologize if this is already addressed elsewhere: I could not find a similar post with the keywords by which I searched.)