allowFleeing: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
|arg= global |= Arguments in MP | |||
|eff= global |= Effects in MP | |||
____________________________________________________________________________________________ | |||
| Set the courage of the group or unit. The less courage a group or unit has, the sooner it will start fleeing. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | unit '''allowFleeing''' courage |= Syntax | ||
|p1= unit: [[Object or Group]] |= Parameter 1 | |||
[[ | |p2= courage: [[Number]] - range 0 (maximum courage) to 1 (minimum courage) |= Parameter 2 | ||
| [[Nothing]] |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>group1 allowFleeing 1</pre> |= Example 1 | |||
____________________________________________________________________________________________ | |||
| [[fleeing]] |= See also | |||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|ALLOWFLEEING]] | |||
[[Category:Scripting Commands OFP 1.96|ALLOWFLEEING]] | |||
[[Category:Scripting Commands OFP 1.46|ALLOWFLEEING]] | |||
[[Category:Scripting Commands ArmA|ALLOWFLEEING]] |
Revision as of 21:59, 1 August 2006
Description
- Description:
- Set the courage of the group or unit. The less courage a group or unit has, the sooner it will start fleeing.
- Groups:
- Uncategorised
Syntax
- Syntax:
- unit allowFleeing courage
- Parameters:
- unit: Object or Group
- courage: Number - range 0 (maximum courage) to 1 (minimum courage)
- Return Value:
- Nothing
Examples
- Example 1:
group1 allowFleeing 1
Additional Information
- See also:
- fleeing
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