Difference between revisions of "Lua:AddHudTimer"
From Fortress Forever Wiki
Jump to navigationJump to search (New page: {{Infobox manual/Header}} ==AddHudTimer== Puts a countdown timer on a player's screen. ===Usage=== <pre>AddHudTimer(player, hudID, timer, interval, x, y, align)</pre> ===Input=== * play...) |
m (2.42) |
||
Line 5: | Line 5: | ||
===Usage=== | ===Usage=== | ||
− | <pre>AddHudTimer(player, | + | <pre>AddHudTimer( player, huditemname, timername, x, y ) |
+ | AddHudTimer( player, huditemname, timername, x, y, align ) | ||
+ | AddHudTimer( player, huditemname, timername, x, y, alignx, aligny )</pre> | ||
===Input=== | ===Input=== |
Revision as of 21:03, 25 June 2011
AddHudTimerPuts a countdown timer on a player's screen. UsageAddHudTimer( player, huditemname, timername, x, y ) AddHudTimer( player, huditemname, timername, x, y, align ) AddHudTimer( player, huditemname, timername, x, y, alignx, aligny ) Input
OutputReturns noting Examplelocal player = CastToPlayer( player_entity ) AddHudTimer(player, "timer", 300, -1, 0, 70, 4) NoteThe timer is strictly a visual aid. To time actual game events, Use the Scheduling System |