Difference between revisions of "Lua:AddHudTimer"
From Fortress Forever Wiki
Jump to navigationJump to searchm (2.42) |
m (2.42) |
||
Line 31: | Line 31: | ||
==Note== | ==Note== | ||
− | The timer is strictly a visual aid. To time actual game events, Use the [[:Category:Schedules|Scheduling System]] | + | The timer is strictly a visual aid. To time actual game events, Use the [[:Category:Schedules|Scheduling System]] or [[Lua:Timers]] |
[[Category:HUD_Items]] | [[Category:HUD_Items]] | ||
{{Infobox manual/Footer}} | {{Infobox manual/Footer}} |
Revision as of 21:04, 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 |