Page MenuHomeFeedback Tracker

Misleading comment for BIS_fnc_typeText
New, WishlistPublic

Description

Code from comment for BIS_fnc_typeText doesn't work any more:

[

["CAMP ROGAIN,","<t align = 'center' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>"],
["RESSUPLY POINT","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"],
["10 MINUTES LATER ...","<t align = 'center' shadow = '1' size = '1.0'>%1</t><br/>"]

] spawn BIS_fnc_typeText;

I suggest to change it to something like:

[

    [["CAMP ROGAIN,","<t align = 'center' shadow = '1' size = '0.7' font='PuristaBold'>%1</t>"],
    ["RESSUPLY POINT","<t align = 'center' shadow = '1' size = '0.7'>%1</t><br/>"],
    ["10 MINUTES LATER ...","<t align = 'center' shadow = '1' size = '1.0'>%1</t><br/>"]], 

    0,0,"<t color='#FFFFFFFF' align='center'>%1</t>"

] spawn BIS_fnc_typeText;

Details

Legacy ID
3214346737
Severity
None
Resolution
Open
Reproducibility
Always
Category
Scripting

Event Timeline

sms edited Steps To Reproduce. (Show Details)Oct 28 2013, 5:00 PM
sms edited Additional Information. (Show Details)
sms set Category to Scripting.
sms set Reproducibility to Always.
sms set Severity to None.
sms set Resolution to Open.
sms set Legacy ID to 3214346737.May 7 2016, 5:16 PM
Bohemia added a subscriber: AD2001.Oct 28 2013, 5:00 PM
byrkoet added a subscriber: byrkoet.May 7 2016, 5:16 PM

The example I propose:

//--- BIS_fnc_typeText

[

[
    ['Line1', '%1<br />'],
    ['Line2', '%1<br />'],
    ['Line3', '%1<br />']
], 0, 0, "<t color='#ffffff' align='center'>%1</t>"

] spawn BIS_fnc_typeText;

//-- end

It makes clear that there is this awesome 'master' style sort of thing going on (_this select 3).

This comment was removed by Astaroth.
This comment was removed by Astaroth.
This comment was removed by faiza.
This comment was removed by faiza.
This comment was removed by Astaroth.
This comment was removed by Astaroth.
This comment was removed by Astaroth.
This comment was removed by Astaroth.
This comment was removed by Astaroth.
This comment was removed by Groove_C.