replace( odf )

instance function

Replaces the Entity with a new one of the type defined by the ODF file specified. This modifies the Entity in place - a new one is not returned from the call. This is similar in effect to using a replaceweapon.

Arguments

Name Type Description
odf String The filename of the new ODF to use