precision: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " <h3 style="display:none">Notes</h3> <dl class="command_description"> <!-- Note Section BEGIN --> <!-- Note Section END --> </dl> " to "") |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Multiplayer Effects( \("local" or "global"\))?|Multiplayer Exe...) |
||
Line 1: | Line 1: | ||
{{Command | {{Command | ||
| arma1 | | arma1 | ||
|1.00 | |1.00 | ||
|gr1= Object Manipulation | |gr1= Object Manipulation | ||
| Return the precision of the given entity, how is the entity able to be precise when moving to given target. | | Return the precision of the given entity, how is the entity able to be precise when moving to given target. | ||
| '''precision''' entity | | '''precision''' entity | ||
|p1= entity: [[Object]] | |p1= entity: [[Object]] | ||
| [[Number]] | | [[Number]] | ||
|x1= <code>[[if]] ([[position]] _this [[distance]] _dangerPos <= [[precision]] _this) [[then]] {...}; | |x1= <code>[[if]] ([[position]] _this [[distance]] _dangerPos <= [[precision]] _this) [[then]] {...}; | ||
//used in formationCDanger.fsm</code> | //used in formationCDanger.fsm</code> | ||
| | | | ||
}} | }} |
Revision as of 01:12, 18 January 2021
Description
- Description:
- Return the precision of the given entity, how is the entity able to be precise when moving to given target.
- Groups:
- Object Manipulation
Syntax
Examples
- Example 1:
if (position _this distance _dangerPos <= precision _this) then {...}; //used in formationCDanger.fsm
Additional Information
- See also:
- See also needed
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