ObjectTemplate.AddTemplate

From Pilot_51's Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

MDT description

This command property is used to attach a child object to another object. Any SetPosition and SetRotation commands following this will apply to the attached object, until another AddTemplate command is encountered.

The first argument is the unique name of the object, set by a Create command.

For an example, see the HasStartEffect property, which shows a muzzle-flash effect attached to the barrel of a defgun.
Source and more details

Additional Description