BIS fnc EXP camp SITREP: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments \("local" or "global"\)|Multiplayer Effects \("local" or "global"\)|Multiplayer Execution \("server" o...) |
Lou Montana (talk | contribs) m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame|Game [Vv]ersion|Game Version \(number surrounded by NO SPACES\)|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects? in MP|Multiplayer Effects( \("local" or "gl...) |
||
Line 32: | Line 32: | ||
|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> | ||
|exec= spawn | |exec= spawn | ||
| [[BIS_fnc_dynamicText]], [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText2]] | | [[BIS_fnc_dynamicText]], [[BIS_fnc_infoText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText2]] | ||
}} | }} |
Revision as of 01:46, 18 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