BIS fnc EXP camp SITREP: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "|gr1 =" to "|gr1=")
m (locality and named params)
Line 1: Line 1:
{{RV|type=function
{{RV|type=function


| arma3
|game1= arma3


|1.62
|version1= 1.62


|gr1= Campaign
|gr1= Campaign
Line 9: Line 9:
|gr2 = GUI
|gr2 = GUI


| Display situation text, typically used at the start of a mission.
|eff= local
 
|descr= Display situation text, typically used at the start of a mission.
*Each array you pass represents a line that should be displayed
*Each array you pass represents a line that should be displayed
*Lines will be displayed in the order you define them
*Lines will be displayed in the order you define them
Line 15: Line 17:
[[File:BIS fnc EXP camp SITREP.gif|left|400px]]
[[File:BIS fnc EXP camp SITREP.gif|left|400px]]


| [line, fadeInTime, waitTime, fadeOutTime] spawn  '''BIS_fnc_EXP_camp_SITREP'''
|s1= [line, fadeInTime, waitTime, fadeOutTime] spawn  '''BIS_fnc_EXP_camp_SITREP'''


|p1= line: [[String]] - Contents of the line to be displayed
|p1= line: [[String]] - Contents of the line to be displayed
Line 25: Line 27:
|p4= fadeOutTime: [[String]] - Fade-out duration (only used by the last line, fades all other lines as well) (Optional, default 2)
|p4= fadeOutTime: [[String]] - Fade-out duration (only used by the last line, fades all other lines as well) (Optional, default 2)


| [[Boolean]] - [[true|True]] if successful, [[false]] if not
|r1= [[Boolean]] - [[true|True]] if successful, [[false]] if not


|x1= <code>[["line1",4,5],["line2",3,5,8]] [[spawn]] '''BIS_fnc_EXP_camp_SITREP''';</code>
|x1= <code>[["line1",4,5],["line2",3,5,8]] [[spawn]] '''BIS_fnc_EXP_camp_SITREP''';</code>
Line 31: Line 33:
|exec= spawn
|exec= spawn


| [[BIS_fnc_dynamicText]], [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText2]]
|seealso= [[BIS_fnc_dynamicText]], [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText2]]
}}
}}

Revision as of 11:49, 5 February 2021

Hover & click on the images for description

Description

Description:
Display situation text, typically used at the start of a mission.
  • Each array you pass represents a line that should be displayed
  • Lines will be displayed in the order you define them
  • Each line's array consists of the following information
BIS fnc EXP camp SITREP.gif
Execution:
spawn
Groups:
CampaignGUI

Syntax

Syntax:
[line, fadeInTime, waitTime, fadeOutTime] spawn BIS_fnc_EXP_camp_SITREP
Parameters:
line: String - Contents of the line to be displayed
fadeInTime: Number - Fade-in duration in seconds (Optional, default 2)
waitTime: Number - How long it should wait before showing the next line (Optional, default 1)
fadeOutTime: String - Fade-out duration (only used by the last line, fades all other lines as well) (Optional, default 2)
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_dynamicTextBIS_fnc_infoTextBIS_fnc_textTilesBIS_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