BIS fnc infoText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (template:command argument fix)
m (Text replacement - "BIS fnc " to "BIS_fnc_")
 
(47 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{RV|type=function


{{Function|= Comments
|game1= arma2oa
____________________________________________________________________________________________
|version1= 1.50


| arma2oa |= Game name
|game2= tkoh
|version2= 1.00


|1.51|= Game version
|game3= arma3
|version3= 0.50


|eff= local |= Multiplayer Arguments
|gr1= GUI
____________________________________________________________________________________________


| Display a text in the "mission" GUI area with some effects. Good for the beginning of a mission.
|eff= local
[[File:BIS fnc infoText.gif|thumb|left|400px|Example 1 (Click to enlarge)]]|DESCRIPTION=
____________________________________________________________________________________________


| [string_1, string_2, string_n] spawn [[BIS_fnc_infoText]] |SYNTAX=
|descr= [[File:BIS_fnc_infoText.gif|thumb|right|Example (Click to enlarge)]] Display a text in the "mission" GUI area with some effects. Good for the beginning of a mission.<br>


|p1= [[Array]] of [[String|strings]] |= Parameter 1
|s1= [string_1, string_2, string_n] spawn [[BIS_fnc_infoText]]


| [[Nothing]] |RETURNVALUE=
|p1= [[Array]] of [[String]]s
____________________________________________________________________________________________


|x1= <code>[ "Somewhere on Altis", [[format]] ["Year %1", date select 0], [[mapGridPosition]] [[player]] ] [[spawn]] '''BIS_fnc_infoText''';</code> |=
|r1= [[Nothing]]
____________________________________________________________________________________________


|exec= spawn |= Execution By
|x1= <sqf>["Somewhere on Altis", format ["Year %1", date select 0], mapGridPosition player] spawn BIS_fnc_infoText;</sqf>


| [[BIS_fnc_dynamicText]], [[BIS_fnc_textTiles]], [[BIS_fnc_typeText]], [[BIS_fnc_typeText2]], [[BIS_fnc_EXP_camp_SITREP]]  |SEEALSO=
|exec= spawn


|seealso= [[BIS_fnc_dynamicText]] [[BIS_fnc_textTiles]] [[BIS_fnc_typeText]] [[BIS_fnc_typeText2]] [[BIS_fnc_EXP_camp_SITREP]]
}}
}}
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
<!-- Note Section END -->
</dl>
<h3 style="display:none">Bottom Section</h3>
[[Category:Function Group: GUI|{{uc:infoText}}]]
[[Category:Functions|{{uc:infoText}}]]
[[Category:{{Name|arma2oa}}: Functions|{{uc:infoText}}]]
[[Category:{{Name|tkoh}}: Functions|{{uc:infoText}}]]
[[Category:{{Name|arma3}}: Functions|{{uc:infoText}}]]

Latest revision as of 11:15, 27 July 2022

Hover & click on the images for description

Description

Description:
Example (Click to enlarge)
Display a text in the "mission" GUI area with some effects. Good for the beginning of a mission.
Execution:
spawn
Groups:
GUI

Syntax

Syntax:
[string_1, string_2, string_n] spawn BIS_fnc_infoText
Parameters:
Array of Strings
Return Value:
Nothing

Examples

Example 1:
["Somewhere on Altis", format ["Year %1", date select 0], mapGridPosition player] spawn BIS_fnc_infoText;

Additional Information

See also:
BIS_fnc_dynamicText BIS_fnc_textTiles BIS_fnc_typeText BIS_fnc_typeText2 BIS_fnc_EXP_camp_SITREP

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