<aside> 📦 DTADD.acs
</aside>
<aside> âš¡ int RegisterTrainingDef(str callee)
</aside>
This function is used to define a new script to be called whenever the training room initializes its set of provided weapons and items.
Script
: String - The script to add to a list of scripts to execute for the goal of creating all training room entries.This function shows how you would use this function alongside its closely related [DefineTrainingEntry](<https://mm8bdm.notion.site/DefineTrainingEntry-91396e36f8e1479d90e107461142973a>)
function.
script "sparkscatter_definetraining" (void) {
DefineTrainingEntry(DTADD_TRAINING_WEP, "TAG_SPARKSCATTER", "DESC_SPARKSCATTER", "SKSTA0", "SparkScatterWep");
}
script "sparkscatter_definesetup" OPEN {
RegisterTrainingDef("sparkscatter_definetraining");
}