BIS fnc infoText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category\:Function Group\: GUI(\|\{\{[a-zA-Z0-9_:]+\}\})?\]\]" to "")
m (Text replacement - "BIS fnc " to "BIS_fnc_")
 
(38 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Function|Comments=
{{RV|type=function
____________________________________________________________________________________________


| arma2oa |Game name=
|game1= arma2oa
|version1= 1.50


|1.51|Game version=
|game2= tkoh
|version2= 1.00


|gr1= GUI |GROUP1=
|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]] |PARAMETER1=
|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: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