set_mechwarrior_template
Sets or clears a player’s ejected-pilot template override.
Function
Synopsis
btech.player.set_mechwarrior_template( player, reference )
Arguments
DbRef|Object player- The player.
string|nil reference- A non-empty resource name of at most 24 bytes that identifies an existing,
well-formed unit template, or
nilto clear the override. A non-nilreference cannot contain..,/, or\.
Returns
None.
Notes
A missing template raises btech.template.not_found. A template that exists but
is malformed raises btech.template.invalid; invalid reference syntax raises
mux.arg.invalid.