BIS fnc bloodEffect: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (1 revision)
m (Text replacement - "(\|[pr][0-9]+ *= *[^-]+) *- *D([a-z])" to "$1 - d$2")
 
(30 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma3
____________________________________________________________________________________________
|version1= 1.00


| arma3 |= Game name
|gr1= Feedback


|1.00|= Game version
|descr= Adds the bleeding effect post-processing effect to the players screen.
____________________________________________________________________________________________


| <pre>/*
|s1= [10] call [[BIS_fnc_bloodEffect]]
File: fn_bloodEffect.sqf


Description:
|p1= [[Number]] - duration in (milli?)seconds in which effect should be visible.
Blood splash (texture) postprocess.


Parameter(s):
|r1= [[Nothing]]
_this select 0: Number - Bleeding time in seconds, could be <5;90>


Returned value:
|x1= <sqf>[10] call BIS_fnc_bloodEffect; // Adds the blood effect for 10 (milli)seconds.</sqf>
None.
*/
 
//---------------- Hit that caused bleeding - show blood--------------------------------------------------------------
//bleeding time could be <5;90> in seconds
 
</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
____________________________________________________________________________________________
 
| <!-- [] call [[BIS_fnc_bloodEffect]]; --> |= Syntax
 
|p1= |= Parameter 1
 
| |= Return value
____________________________________________________________________________________________
 
|x1= <code></code> |=
____________________________________________________________________________________________
 
| |= See also


|seealso= [[BIS_fnc_indicateBleeding]]
}}
}}
<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:Function Group: Feedback|{{uc:bloodEffect}}]]
[[Category:Functions|{{uc:bloodEffect}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:bloodEffect}}]]

Latest revision as of 14:01, 8 November 2023

Hover & click on the images for description

Description

Description:
Adds the bleeding effect post-processing effect to the players screen.
Execution:
call
Groups:
Feedback

Syntax

Syntax:
[10] call BIS_fnc_bloodEffect
Parameters:
Number - duration in (milli?)seconds in which effect should be visible.
Return Value:
Nothing

Examples

Example 1:
[10] call BIS_fnc_bloodEffect; // Adds the blood effect for 10 (milli)seconds.

Additional Information

See also:
BIS_fnc_indicateBleeding

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