Would the proper use of DTMs be to setDTM := DTMfromstring=(...) in a procedure and then free it at the end of that procedure? Like in the script I am using I use the same DTM in two different procedure, so I can understand using that one as a Global but other I use are only used for a single procedure, so would it be better to load and free those DTMs within that procedure?
Simba Code:
Procedure SetDTM; //Sets all the DTMS needed to run the script.
Begin
SummoningPotionDTM := DTMFromString('mWAAAAHicY2FgYHBigmBXIPYEYn1GBgYrILaE4vz8Ega5a3cZZC/dBKpmYkgBkuxImBENgwAAgewHaA==');
ROWDTM:= DTMFromString('mrAAAAHic42BgYPjHxMDAzAzBf4DsL0D8CYi/A/EvIJ7HyMAwE4gXAfEqIF4OxAuAeDYQzwDi23vlgKYw4cT8DPgBIwEMAwClEwzS');
TABLEDTM:= DTMFromString('mrAAAAHic42BgYLjAxMBwH4gvA/FxID4MxOeA+CZUfBEjA8NqIF4DxXOAeAYUzwLiesE6oClMODEPA37ASADDAADlrQzu');
WarTortPouch := DTMFromString('mbQAAAHicY2VgYDAFYisg1gNiGyC2BuL3QPwEiD8A8RcgfgfEna4iDFfO7GDQ15BnaHcRAWN+oDg6ZsSCwQAAEz8LfQ==');
End;
Only the TABLEDTM really needs to be global so would that be better to have only that one loaded globally and load the other only when necessary?