Difference between revisions of "Lua:AddHudTimer"
From Fortress Forever Wiki
Jump to navigationJump to searchm (2.42) |
m |
||
Line 1: | Line 1: | ||
{{Infobox manual/Header}} | {{Infobox manual/Header}} | ||
+ | {{Infobox_mapping}} | ||
==AddHudTimer== | ==AddHudTimer== | ||
Revision as of 20:06, 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 or Lua:Timers |