BIS fnc EXP camp SITREP: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Text replacement - "_{10,} " to "") |
||
Line 1: | Line 1: | ||
{{Function|Comments= | {{Function|Comments= | ||
| arma3 |Game name= | | arma3 |Game name= | ||
Line 9: | Line 8: | ||
|gr2 = GUI |GROUP2= | |gr2 = GUI |GROUP2= | ||
| Display situation text, typically used at the start of a mission. | | Display situation text, typically used at the start of a mission. | ||
Line 16: | Line 14: | ||
*Each line's array consists of the following information | *Each line's array consists of the following information | ||
[[File:BIS fnc EXP camp SITREP.gif|left|400px]]|DESCRIPTION= | [[File:BIS fnc EXP camp SITREP.gif|left|400px]]|DESCRIPTION= | ||
| [line, fadeInTime, waitTime, fadeOutTime] spawn '''BIS_fnc_EXP_camp_SITREP''' |SYNTAX= | | [line, fadeInTime, waitTime, fadeOutTime] spawn '''BIS_fnc_EXP_camp_SITREP''' |SYNTAX= | ||
Line 32: | Line 29: | ||
| [[Boolean]] - [[true|True]] if successful, [[false]] if not |RETURNVALUE= | | [[Boolean]] - [[true|True]] if successful, [[false]] if not |RETURNVALUE= | ||
|x1= <code>[["line1",4,5],["line2",3,5,8]] [[spawn]] '''BIS_fnc_EXP_camp_SITREP''';</code> |EXAMPLE1= | |x1= <code>[["line1",4,5],["line2",3,5,8]] [[spawn]] '''BIS_fnc_EXP_camp_SITREP''';</code> |EXAMPLE1= | ||
|exec= spawn |Execution= | |exec= spawn |Execution= |
Revision as of 21:56, 16 January 2021
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
- 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
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