smirlianos 5 Posted July 23, 2018 I try to use the default example from the wiki inside a trigger but I get the following error message, and only the last subtitle is shown. What is happening? Error Message [ ["Speaker1","Subtitle1",0], ["Speaker2","Subtitle2",5], ["Speaker3","Subtitle3",10], ["Speaker4","Subtitle5",15] ] call BIS_fnc_EXP_camp_playSubtitles; Share this post Link to post Share on other sites
Harzach 2518 Posted July 24, 2018 1 hour ago, smirlianos said: I try to use the default example from the wiki Not exactly. You are calling the function instead spawning it, contrary to the wiki: //BI Wiki example: [ ["Speaker1","Subtitle1",0], ["Speaker2","Subtitle2",5], ["Speaker3","Subtitle3",10], ["Speaker4","Subtitle5",15] ] spawn BIS_fnc_EXP_camp_playSubtitles; You need to add a handle if you want to spawn it from a trigger's onAct: HARZ_Subtitles_01 = [ ["Speaker1","Subtitle1",0], ["Speaker2","Subtitle2",5], ["Speaker3","Subtitle3",10], ["Speaker4","Subtitle5",15] ] spawn BIS_fnc_EXP_camp_playSubtitles; 1 Share this post Link to post Share on other sites
smirlianos 5 Posted July 24, 2018 "spawn" wasn't working that's why I used call. I didn't know I had to use a handler though, so everything works fine now, thanks! Share this post Link to post Share on other sites