forgetTarget: Difference between revisions
Jump to navigation
Jump to search
m (Text replacement - "\[\[[cC]ategory:[sS]cripting [cC]ommands\|[a-z A-Z 0-9_]+\]\]" to "") |
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
||
Line 24: | Line 24: | ||
|x2= Give enemyBob some amnesia:<code>[[onEachFrame]] { enemyBob [[forgetTarget]] [[player]] };</code> | |x2= Give enemyBob some amnesia:<code>[[onEachFrame]] { enemyBob [[forgetTarget]] [[player]] };</code> | ||
| [[knowsAbout]], [[targetsQuery]], [[targetsAggregate]], [[nearTargets]], [[reveal]], [[getHideFrom]], [[targetKnowledge]] | |seealso= [[knowsAbout]], [[targetsQuery]], [[targetsAggregate]], [[nearTargets]], [[reveal]], [[getHideFrom]], [[targetKnowledge]] | ||
}} | }} | ||
Revision as of 23:43, 16 February 2021
Description
- Description:
- Description needed
- Groups:
- Unit ControlGroups
Syntax
- Syntax:
- Syntax needed
- Parameters:
- group: Group or Object - group itself or unit in a group
- target: Object - group target
- Return Value:
- Return value needed
Examples
- Example 1:
soldier1 forgetTarget soldier2;
- Example 2:
- Give enemyBob some amnesia:
onEachFrame { enemyBob forgetTarget player };
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note