ObjectTemplate.AddFireArmsPosition

From Pilot_51's Wiki
Revision as of 20:12, 20 April 2008 by Pilot 51 (talk | contribs) (New page: == MDT description == AddFireArmsPosition sets from where the firearm shoots. Multiple firearm positions can be defined. If SetAsynchronyFire is set to true, the weapon will fire from each...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

MDT description

AddFireArmsPosition sets from where the firearm shoots. Multiple firearm positions can be defined. If SetAsynchronyFire is set to true, the weapon will fire from each position in turn (e.g. the Katyusha). If it is false, the weapon will fire from all positions at once.
Source and more details

My findings

This property defines the position and rotation of a fired projectile. If there is a dummy object (e.g. a bomb attached to an aircraft), it will be placed at the defined position but the rotation setting will not affect it. As the MDT mentions, multiple positions can be defined, simply by reusing the property. To globally offset the fired projectile from this setting for the firearm, see ObjectTemplate.ProjectilePosition.