Back to ACFM

ACFM_GetAllMissilesWhichCanSee

S

Part of ACFM namespace

function ACFM_GetAllMissilesWhichCanSee(pos)
View on GitHub|lua/autorun/acf_missile/countermeasure/cm_globals.lua:166-186
👁️ 2 viewsUpdated 2 weeks ago

Description

Tests flare distraction effect upon all undistracted missiles, but does not perform the effect itself. Returns a list of potentially affected missiles. argument is the bullet in the acf bullet table which represents the flare - not the cm_flare object!

Parameters

NameTypeDescription
posany

Returns

No return values documented.

Examples

No examples available.

Used In(1 locations)

📄lua/autorun/acf_missile/countermeasure/cm_flare.lua
1 usage
L144local targets = ACFM_GetAllMissilesWhichCanSee(self.Flare.Pos)