Page MenuHomeFeedback Tracker

Misleading comment for BIS_fnc_typeText
Closed, ResolvedPublic

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
Suspended
Reproducibility
Always
Operating System
Windows 7
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.
This comment was removed by Dwarden.
This comment was removed by Dwarden.
This comment was removed by Dwarden.
This comment was removed by Dwarden.
This comment was removed by BIS_fnc_KK.
BIS_fnc_KK closed this task as Resolved.Fri, May 8, 10:33 AM
BIS_fnc_KK updated the task description. (Show Details)
BIS_fnc_KK changed Resolution from Open to Suspended.
BIS_fnc_KK edited Steps To Reproduce. (Show Details)
BIS_fnc_KK edited Additional Information. (Show Details)
BIS_fnc_KK set Operating System to Windows 7.
BIS_fnc_KK added a subscriber: BIS_fnc_KK.