Jump to content

Recommended Posts

Hello! I am having issues with the Animated Briefing function, specifically with how I am meant to implement it.

 

I have finished my timeline (which is the code below), however my issues arise from the other bits of the code in the function

_timeline = 
[
    [0.0, {}],
    [1.5, {o1 say3D "briefmsg1";
titleText ["<t align = 'center' shadow = '2' color='#00ff00' size='1.5' font='PuristaMedium' >Officer</t><br /><t color='#ffffff' size='1.5' font='PuristaMedium' shadow = '2' >This is a test message for the Animated Briefing Test</t>", "PLAIN DOWN", -1, true, true];}],


    [7.5, {o1 say3D "briefmsg2";
titleText ["<t align = 'center' shadow = '2' color='#00ff00' size='1.5' font='PuristaMedium' >Officer</t><br /><t color='#ffffff' size='1.5' font='PuristaMedium' shadow = '2' >Yesterday the enemey broke through the Northern front", "PLAIN DOWN", -1, true, true];
["binf1", getMarkerPos "bwp1", 4, 0] call BIS_fnc_moveMarker;

["binf2", getMarkerPos "bwp3", 4, 0] call BIS_fnc_moveMarker;

["bmec", getMarkerPos "bwp2", 4, 0] call BIS_fnc_moveMarker;

["enemy", getMarkerPos "wp1", 4, 0] call BIS_fnc_moveMarker; 

["northline",3] spawn BIS_fnc_hideMarker;}],


    [12.5, {o1 say3D "briefmsg3";
titleText ["<t align = 'center' shadow = '2' color='#00ff00' size='1.5' font='PuristaMedium' >Officer</t><br /><t color='#ffffff' size='1.5' font='PuristaMedium' shadow = '2' >Elements of the 11th Infantry platoon captured the Refinary plant over here</t>", "PLAIN DOWN", -1, true, true];
["show", ["lat"]] call BIS_fnc_showMarkers;

["lat", getMarkerPos "wp2", 5, 0] call BIS_fnc_moveMarker;

["show", ["refine"]] call BIS_fnc_showMarkers;

["refine", 3, 5] spawn BIS_fnc_blinkMarker;}],


    [21.5, {o1 say3D "briefmsg4";
titleText ["<t align = 'center' shadow = '2' color='#00ff00' size='1.5' font='PuristaMedium' >Officer</t><br /><t color='#ffffff' size='1.5' font='PuristaMedium' shadow = '2' >Our forces tried to counter attack however suffered many casualties and retreated</t>", "PLAIN DOWN", -1, true, true];
["show", ["attack1"]] call BIS_fnc_showMarkers;

["show", ["attack2"]] call BIS_fnc_showMarkers;

["show", ["attack3"]] call BIS_fnc_showMarkers;

["bmec",4] spawn BIS_fnc_hideMarker;

["binf1", getMarkerPos "bwp4", 4, 0] call BIS_fnc_moveMarker; 

["binf2", getMarkerPos "bwp5", 4, 0] call BIS_fnc_moveMarker;

["hide", ["attack1"]] call BIS_fnc_showMarkers;

["hide", ["attack2"]] call BIS_fnc_showMarkers;

["hide", ["attack3"]] call BIS_fnc_showMarkers;}],


    [32.5, {}]

];

 

And so here are my issues are:

1. What code do I put in after the timeline?

2. What file do I even put this in?

 

I'm not the best when it comes to scripting and this Animated Briefing has actually drove me insane as it is probably the hardest thing I have done so far

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×