Difference between revisions of "Lua:AddHudTimerToTeam"
From Fortress Forever Wiki
Jump to navigationJump to searchm (2.42) |
m |
||
Line 31: | Line 31: | ||
==Note== | ==Note== | ||
− | The timer is strictly a visual aid. To time actual game events, Use the [[:Category:Schedules|Scheduling System]] or [[Lua: | + | The timer is strictly a visual aid. To time actual game events, Use the [[:Category:Schedules|Scheduling System]] or [[Lua:Timer]] |
[[Category:HUD_Items]] | [[Category:HUD_Items]] | ||
{{Infobox manual/Footer}} | {{Infobox manual/Footer}} |
Revision as of 20:10, 25 June 2011
AddHudTimerPuts a countdown timer on a player's screen. UsageAddHudTimerToTeam( team, huditemname, timername, x, y ) AddHudTimerToTeam( team, huditemname, timername, x, y, align ) AddHudTimerToTeam( team, 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:Timer |