setBleedingRemaining: Difference between revisions
Jump to navigation
Jump to search
Killzone Kid (talk | contribs) mNo edit summary |
m (template:command argument fix) |
||
Line 12: | Line 12: | ||
| unit '''setBleedingRemaining''' time |= Syntax | | unit '''setBleedingRemaining''' time |= Syntax | ||
|p1= unit: [[Object]] |= | |p1= unit: [[Object]] |PARAMETER1= | ||
|p2= time: [[Number]] |= | |p2= time: [[Number]] |PARAMETER2= | ||
| [[Nothing]] |= | | [[Nothing]] |RETURNVALUE= | ||
|x1= <code>_unit [[setBleedingRemaining]] 60; | |x1= <code>_unit [[setBleedingRemaining]] 60; | ||
</code>|= | </code>|EXAMPLE1= | ||
|x2= <code>[[player]] [[setDamage]] 0.25; | |x2= <code>[[player]] [[setDamage]] 0.25; | ||
[[player]] [[setBleedingRemaining]] 120; | [[player]] [[setBleedingRemaining]] 120; | ||
</code>|= | </code>|EXAMPLE2= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[getBleedingRemaining]], [[isBurning]], [[isBleeding]] |= | | [[getBleedingRemaining]], [[isBurning]], [[isBleeding]] |SEEALSO= | ||
| |= | | |MPBEHAVIOUR= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
}} | }} |
Revision as of 10:36, 7 April 2019
Description
- Description:
- Sets for how many seconds injured unit leaves blood trail. The unit damage must be >= 0.1 for this command to have an effect, otherwise, the getBleedingRemaining will return 0 and no blood trail is left behind.
- Groups:
- Uncategorised
Syntax
Examples
- Example 1:
_unit setBleedingRemaining 60;
- Example 2:
player setDamage 0.25; player setBleedingRemaining 120;
Additional Information
- See also:
- getBleedingRemainingisBurningisBleeding
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