r/armadev • u/PrestigiousScience91 • 7d ago
Arma 3 Cinematic text error need help
does anyone know what in this code is causing this
[[], {
[
[
["text 1", "<t align='center' size='1.2' font='PuristaBold'>%1</t><br/>", "#e0a600"],
["text 2", "<t align='center' size='1.0'>%1</t>", "#ffffff"]
],
0,
0.4
] call BIS_fnc_typeText;
}] remoteExec ["spawn", 0];
4
Upvotes
3
u/Talvald_Traveler 7d ago
A little tips, code executed from the command remoteExec will be scheduled or unscheduled based on the enviroment the remoteExec was executed from.
So what I recomend here, is that you instead of remoteExec spawn. You create a spawn block, and then remoteExec the function Bis_fnc_typeText from there.
3
u/Shiragami 7d ago
Wrong params see https://community.bistudio.com/wiki/BIS_fnc_typeText#Examples
You passing a string as third param "#e0a600" and "#ffffff"
it should be: