OFPEC Forum
Editors Depot - Mission Editing and Scripting => Arma2 - Editing/Scripting General => Topic started by: Binary on 06 Jul 2009, 16:18:28
-
Hello folks :)
I have a trigger that, when activated, i want to display the current time in a marker. How would i do this?
Cheers
-
something like this (from memory)... hint format ["%1", daytime];
-
"myMarker" SetMarkerText format ["%1", daytime];
-
Perfect, thanks ;)
-
I missed the reference to marker >:(
-
Try (with Functions module logic placed in mission):
"myMarker" SetMarkerText ([daytime, "HH:MM:SS"] call BIS_fnc_timeToString);or
"myMarker" SetMarkerText ([daytime, "HH:MM"] call BIS_fnc_timeToString);
-
Even better - that way i can get rid of the seconds display. :clap: