UnitInvestigate

From cluster wiki
Revision as of 09:10, 16 June 2021 by Eric (talk | contribs) (Created page with "<div style="padding:0.33em 2em;font-size:1.2em;font-weight:bold;display:block; border-bottom: #25A1A1 solid 1px; background-color:#E0FFFF;color:#25A1A1">Description</div> <dl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Description
Description:

Have enemy units within x range investigate shots. It must be run locally (eg. from initPlayerLocal.sqf).

Execution:

call

Groups:

Gameplay Utility Functions: Eric's Mission Framework

Syntax
Syntax:

[investigateRadius, waypointRadius] call EMF_fnc_unitInvestigate

Parameters:

investigateRadius: Number - Max range in meters AI will go and investigate shots. [Default: 300]

waypointRadius: Number - Radius in meters to place waypoint around player [Default: 15]

Return Value:

None

Examples
Example 1:
call EMF_fnc_unitInvestigate;
Example 2:
[150, 30] call EMF_fnc_unitInvestigate;
Additional Information
See also:


Notes