BIS fnc EXP camp SITREP: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\|seealso= ([^ ]+)(\]\]|\}\}), *(\[\[|\{\{)" to "|seealso= $1$2 $3") |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
|eff= local | |eff= local | ||
|descr= Displays multiple lines of text in given order. | |descr= Displays multiple lines of text in given order.<br> | ||
[[File:BIS_fnc_EXP camp SITREP.gif|400px]] | |||
[[File: | |||
|s1= [ | |s1= [line1, line2, lineX] spawn [[BIS_fnc_EXP_camp_SITREP]] | ||
|p1= | |p1= line#: [[Array]] - lines to be displayed, format [text, fadeInTime, waitTime, fadeOutTime]: | ||
* 0: | * 0: text: [[String]] - text to be displayed | ||
* 1: | * 1: fadeInTime: [[Number]] - (Optional, default 2) fade-in duration in seconds | ||
* 2: | * 2: waitTime: [[Number]] - (Optional, default 1) how many seconds to wait before showing the next line | ||
* 3: | * 3: fadeOutTime: [[String]] - (Optional, default 2) fade-out duration in seconds. It is only used by the last line. Fades all other lines as well | ||
|r1= [[Boolean]] - [[true]] if successful, [[false]] if not | |r1= [[Boolean]] - [[true]] if successful, [[false]] if not | ||
|x1= < | |x1= <sqf>[["line1", 4, 5], ["line2", 3, 5, 8]] spawn BIS_fnc_EXP_camp_SITREP;</sqf> | ||
|exec= spawn | |exec= spawn |
Latest revision as of 15:05, 30 January 2023
Description
Syntax
- Syntax:
- [line1, line2, lineX] spawn BIS_fnc_EXP_camp_SITREP
- Parameters:
- line#: Array - lines to be displayed, format [text, fadeInTime, waitTime, fadeOutTime]:
- 0: text: String - text to be displayed
- 1: fadeInTime: Number - (Optional, default 2) fade-in duration in seconds
- 2: waitTime: Number - (Optional, default 1) how many seconds to wait before showing the next line
- 3: fadeOutTime: String - (Optional, default 2) fade-out duration in seconds. It is only used by the last line. Fades all other lines as well
- Return Value:
- Boolean - true if successful, false if not
Examples
- Example 1:
Additional Information
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