Difference between revisions of "Lua:AddHudTimerToAll"
From Fortress Forever Wiki
Jump to navigationJump to search (New page: {{Infobox manual/Header}} ==AddHudTimerToAll== Puts a countdown timer on a the screen of each player. ===Usage=== <pre>AddHudTimerToAll(hudID, timer, interval, x, y, align)</pre> ===Inp...) |
(No difference)
|
Revision as of 11:14, 11 May 2009
|
AddHudTimerToAllPuts a countdown timer on a the screen of each player. UsageAddHudTimerToAll(hudID, timer, interval, x, y, align) Input
OutputReturns noting Examplelocal text_align = 4 local text_x = 40 local text_line1y = 84 local text_line2y = text_line1y + 8 local text_line3y = text_line2y + 8 AddHudTimerToAll( "gates_open_timer", current_timer, -1, text_x, text_line3y, text_align ) NoteThe timer is strictly a visual aid. To time actual game events, Use the Scheduling System |