BIS fnc EXP camp SITREP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Some wiki formatting)
m (Text replacement - "BIS fnc " to "BIS_fnc_")
Line 11: Line 11:


|descr= Displays multiple lines of text in given order.<br>
|descr= Displays multiple lines of text in given order.<br>
[[File:BIS fnc EXP camp SITREP.gif|400px]]
[[File:BIS_fnc_EXP camp SITREP.gif|400px]]


|s1= [line1, line2, lineX] spawn [[BIS_fnc_EXP_camp_SITREP]]
|s1= [line1, line2, lineX] spawn [[BIS_fnc_EXP_camp_SITREP]]

Revision as of 12:15, 27 July 2022

Hover & click on the images for description

Description

Description:
Displays multiple lines of text in given order.
BIS fnc EXP camp SITREP.gif
Execution:
spawn
Groups:
CampaignGUI

Syntax

Syntax:
[line1, line2, lineX] spawn BIS_fnc_EXP_camp_SITREP
Parameters:
line#: Array - lines to be displayed. Each array consist of the following parameters:
  • 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:
[["line1", 4, 5], ["line2", 3, 5, 8]] spawn BIS_fnc_EXP_camp_SITREP;

Additional Information

See also:
BIS_fnc_dynamicText BIS_fnc_infoText BIS_fnc_textTiles BIS_fnc_typeText2

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