btech.load_mech
Loads a unit template into a live unit object.
Function
Synopsis
btech.load_mech( unit, reference )
Arguments
number unit- The unit dbref.
string reference- The unit template reference.
Returns
boolean successtrueafter the operation completes without a legacy error.
Notes
This function is available only in a running Lua callback. Invalid targets, invalid arguments, and legacy error results raise a Lua error.