BIS fnc pulsate: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<code> *([^<|{]*) *<\/code>" to "<sqf>$1</sqf>")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *T([a-z ])" to "$1 - t$2")
 
Line 10: Line 10:
|s1= [frequency] call [[BIS_fnc_pulsate]]
|s1= [frequency] call [[BIS_fnc_pulsate]]


|p1= frequency: [[Number]] - The frequency in Hz, 1 / _frequency = 0.1 second is the period
|p1= frequency: [[Number]] - the frequency in Hz, 1 / _frequency = 0.1 second is the period


|r1= [[Number]]
|r1= [[Number]]

Latest revision as of 15:51, 8 November 2023

Hover & click on the images for description

Description

Description:
Pulsates a value from 0 to 1.
Execution:
call
Groups:
Math

Syntax

Syntax:
[frequency] call BIS_fnc_pulsate
Parameters:
frequency: Number - the frequency in Hz, 1 / _frequency = 0.1 second is the period
Return Value:
Number

Examples

Example 1:
200 call BIS_fnc_pulsate; // 0.113001

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