Click or drag to resize

IEquipmentWeaponIsLaunchPermissible Method

Customize MACE to meet your Live-Virtual-Constructive Simulation and Training Requirements.

[This is preliminary documentation and is subject to change.]

Determines if this weapon is ready for launch.

Namespace:  BSI.MACE
Assembly:  BSILib (in BSILib.dll) Version: 1.2.1.22047 (1.0.0.0)
Syntax
bool IsLaunchPermissible(
	IPhysicalEntity targetEntity,
	ref string reason = "",
	ref double timeOfFlight_seconds = -1,
	ref double aimedPitch_degrees = -1
)

Parameters

targetEntity
Type: BSI.MACEIPhysicalEntity
Target of weapon
reason (Optional)
Type: SystemString
A string value passed in that is returned with the reason for failure.
timeOfFlight_seconds (Optional)
Type: SystemDouble
If fly-out successfully calculated, the time of flight of the weapon.
aimedPitch_degrees (Optional)
Type: SystemDouble
If flyout successfully calculated, the pitch to aim the weapon.

Return Value

Type: Boolean
True if ready to fire.
Remarks