Function; setLeading - HWRM/KarosGraveyard GitHub Wiki

setLeading(<rShipTable>, <fTargetLeadingEffectiveness>, <iDistanceLeadingFullyEnabled>, <iDistanceLeadingEnabled>)

Example

setLeading(NewShipType, 0.26, 360, 900)

Arguments

<rShipTable>: Reference to the ship; this should be NewShipType. <fTargetLeadingEffectiveness>: Determines by how much the missile will lead the target. <iDistanceLeadingFullyEnabled>: Range from target at which leading is fully enabled. <iDistanceLeadingEnabled>: Range from target at which leading starts being enabled.

Scope

Related Pages

Comments

Page Status

Updated Formatting? Yes
Updated for HWRM? Yes