Difference between revisions of "UnitInvestigate"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
<dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</dt> | <dt style="clear:both;font-weight:bold;position:absolute;padding:.3em;">Groups:</dt> | ||
<dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;"> | <dd style="width:90%;padding:.3em .3em .3em 7em;"><div style="display:block;"> | ||
Gameplay | Gameplay: Eric's Mission Framework | ||
</div></dd> | </div></dd> | ||
</dl> | </dl> | ||
Line 75: | Line 75: | ||
<div style="display:block;">[[rallyPoint]]</div> | <div style="display:block;">[[rallyPoint]]</div> | ||
<div style="display:block;">[[safeStart]]</div> | <div style="display:block;">[[safeStart]]</div> | ||
<div style="display:block;">[[setRole]]</div> | |||
<div style="display:block;">[[slingPrimary]]</div> | <div style="display:block;">[[slingPrimary]]</div> | ||
<div style="display:block;">[[tracers]]</div> | <div style="display:block;">[[tracers]]</div> |
Latest revision as of 13:28, 26 March 2022
Description
- Description:
Have enemy units within x range investigate shots. It must be run locally (eg. from initPlayerLocal.sqf).
- Execution:
call
- Groups:
Gameplay: Eric's Mission Framework
Syntax
- Syntax:
[investigateRadius, waypointRadius] call emf_gameplay_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_gameplay_fnc_unitInvestigate;
- Example 2:
[150, 30] call emf_gameplay_fnc_unitInvestigate;
Additional Information
- See also:
Notes