BIS fnc infoText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
m (Text replacement - "BIS fnc " to "BIS_fnc_")
 
(56 intermediate revisions by 4 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


| <pre>/*
|gr1= GUI
File: infoText.sqf


Description:
|eff= local
Info with some ffect.


Parameter(s):
|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>
_this: Array containing lines of text (String)
*/
[str("You Text") , str(date select 1) + "." + str(date select 2) + "." + str(date select 0), str("You Text")] spawn BIS_fnc_infoText;</


</pre><small>''(Placeholder description extracted from the function header by [[BIS_fnc_exportFunctionsToWiki]])''</small> |= Description
|s1= [string_1, string_2, string_n] spawn [[BIS_fnc_infoText]]
____________________________________________________________________________________________


| <!-- [] call [[BIS_fnc_infoText]]; --> |= Syntax
|p1= [[Array]] of [[String]]s


|p1= |= Parameter 1
|r1= [[Nothing]]


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


|x1= <code>[str("You Text") , str(date select 1) + "." + str(date select 2) + "." + str(date select 0), str("You Text")] spawn BIS_fnc_infoText;</code> |=
|exec= spawn
____________________________________________________________________________________________
 
| |= See also


|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