[Closed] Structuring a plugin…?
Hi all I need help finding a good way of structuring a plugin I am working on. My thought was that it would be nice to have all my scripts reside in a <Main>folder example scripts/<plugin name>/all my scripts. I also wanted to split the files up like have a functions, rollout_def, … etc and then place a macro in the macros folder so that when the user clicks on the button it will load the ui and all is linked and working fine. But A) I am not sure the best way to define rollouts in one file. B) same with the Functions and keeping them at the same root level as everything else. Maybe you all could give tips as to how yall work a script and so on. My main reason for this is so I know where I am in my scripts without all the functions at the top of one file and the rollouts at the bottom and so on I tend to get lost in such a novel :P.
thanks in advance for any help
`Baker
I separate the functions that I write for ANY script in a colinfunctions.ms file and include a
-- Includes
include "$scripts/colinfunctions.ms"
if it’s functions for a specific script I’ll name it correctly
-- Includes
include "$scripts/relinkingBitmapsLib.ms"