Here is my simple bar graph. You can configure it to move at the speed you wish.
Hoz Graph v.2
Description:
Simple non intrusive graph dialog.
Options:
Configure the options in the line that goes into the init.sqf.
Hoz_Graph_Options = [20, true];
Hoz_Graph_Options = [LengthOfTime, ShowTextCounter];
If you set ShowTextCounter to false then you may need to adjust the dialog height as it will be off a couple of pixels.
Install:
Copy the hoz_grapher folder into your mission.
Copy the line from the description.ext file into your description.ext file.
Add these two lines to the init.sqf:
Hoz_Graph_Options = [20, true];
hoz_graph = compile preprocessFileLineNumbers "hoz_graph\hoz_graph.sqf";
Configure the options.
When you want the dialog to display. Use this command.
TitleRsc ["HOZ_GRAPH", "PLAIN",0]; when you want the dialog to display.
Note: Once the graph progression begins HOZ_GRAPH_ENABLED becomes true until the graph is fully completed then it becomes false.
You can use this variable to trigger other events.
Demo Mission:
The included mission demonstrates how to add the progression graph to an addaction script. Once the player executes the
action the graph starts to count down from 20 seconds and progresses until completed.
OFPEC DOWNLOAD