User contributions
From Fortress Forever Wiki
Jump to navigationJump to search- 19:52, 11 May 2009 diff hist +2,850 N Lua:Entity typing New page: Lua is a dynamically typed language--this means that a variable can hold any type of data at any time. C objects, such as those used in Fortress Forever, are stored as blocks of raw data. ...
- 19:16, 11 May 2009 diff hist -113 Category:Lua Commands
- 19:10, 11 May 2009 diff hist +598 N Player onthrowgren2 New page: {{Infobox manual/Header}} ==player_throwgren2( player, time )== This function is called whenever a player throws a secondary grenade. Return true or false to allow/disallow the throw. ===I...
- 19:09, 11 May 2009 diff hist +599 N Player onthrowgren1 New page: {{Infobox manual/Header}} ==player_throwgren1( player, primetime )== This function is called whenever a player throws a frag grenade. Return true or false to allow/disallow the throw. ===I...
- 19:08, 11 May 2009 diff hist +572 N Player switchteam New page: {{Infobox manual/Header}} ==player_switchteam( player, current, desired )== This function is called whenever a player tries to switch teams. Return true or false to allow/disallow. ===Inpu... current
- 19:05, 11 May 2009 diff hist +461 N Player onkill New page: {{Infobox manual/Header}} ==player_onkill( player )== This function is called whenever a player uses the ''kill'' command. Return true or false to allow/disallow. ===Inputs=== player(CFFPl... current
- 18:48, 11 May 2009 diff hist +1,731 N Player onconc New page: {{Infobox manual/Header}} ==player_onconc(player_entity, effector_entity)== This function is called whenever a player receives a concussion effect. Returning false will prevent players fro...
- 18:40, 11 May 2009 diff hist +31 m Lua:player ondamage
- 15:24, 11 May 2009 diff hist +1 Lua:player ondamage
- 15:10, 11 May 2009 diff hist +241 N Lua:Flaginfo New page: Flaginfo() is called whenever the player spawns or presses the flaginfo key ('i' by default). In CTF maps, flaginfo merely refreshes the HUD icons that display flag status. <pre>global fl... current
- 15:04, 11 May 2009 diff hist +1 Lua:Startup current
- 15:03, 11 May 2009 diff hist -1 Lua:Precache
- 15:02, 11 May 2009 diff hist +208 N Category:Lua Callbacks New page: Callbacks are user-defined functions which are activated by events in the game. The lua script can change the outcome of these events, or simply use the event as a cue to run some other co...
- 14:56, 11 May 2009 diff hist -25 Lua:Tick current
- 14:54, 11 May 2009 diff hist +53 N Lua:Functions Redirecting to Category:Lua Commands current
- 14:25, 11 May 2009 diff hist +197 Category:Schedules
- 14:20, 11 May 2009 diff hist +140 Category:HUD Items
- 14:14, 11 May 2009 diff hist +785 N Lua:SmartMessage New page: {{Infobox manual/Header}} ==SmartMessage== Displays one text message for a specified player, another for that player's teammates, and another for the other team(s). ===Usage=== <pre>Smar...
- 14:13, 11 May 2009 diff hist +678 N Lua:SmartTeamMessage New page: {{Infobox manual/Header}} ==SmartTeamMessage== Displays one text message for a specified team, and another for the other team(s). ===Usage=== <pre>SmartTeamMessage(player, playermessage,...
- 14:12, 11 May 2009 diff hist +854 N Lua:SmartSpeak New page: {{Infobox manual/Header}} ==SmartSpeak== Plays one vox sentence for a specified player, another for that player's teammates, and another for the other team(s). ===Usage=== <pre>SmartSpeak...
- 14:11, 11 May 2009 diff hist +678 N Lua:SmartTeamSpeak New page: {{Infobox manual/Header}} ==SmartTeamSpeak== Plays one vox sentence for a selected team, and another for the other team(s) ===Usage=== <pre>SmartTeamSpeak(team, teamspeak, enemyspeak)</p... current
- 14:11, 11 May 2009 diff hist +497 N Lua:SpeakPlayer New page: {{Infobox manual/Header}} ==SpeakPlayer== Plays a vox sentence for a specific player. ===Usage=== <pre>SpeakPlayer( player, sentence )</pre> ===Input=== * player(CFFPlayer) The player t... current
- 14:10, 11 May 2009 diff hist +430 N Lua:SpeakAll New page: {{Infobox manual/Header}} ==SpeakAll== Plays a vox sentence for everyone on the server ===Usage=== <pre>SpeakAll(sentence)</pre> ===Input=== sentence(string) The sentence to play. Use a... current
- 14:09, 11 May 2009 diff hist +631 N Lua:BroadCastMessageToPlayer New page: {{Infobox manual/Header}} ==BroadCastMessageToPlayer== Sends a text message to a single player. Is it still broadcasting if it only goes to one person? Who came up with this crap? ===Usa...
- 14:08, 11 May 2009 diff hist +476 N Lua:BroadCastMessage New page: {{Infobox manual/Header}} ==BroadCastMessage== Sends a large text message to everyone on the server. ===Usage=== <pre>BroadCastMessage(message)</pre> ===Input=== message(string) the mes...
- 14:06, 11 May 2009 diff hist +90 N Category:Utility functions New page: These lua functions are useful for getting your scripts working. Category:Lua_Commands
- 14:05, 11 May 2009 diff hist +596 N Lua:ConsoleToAll New page: {{Infobox manual/Header}} ==ConsoleToAll== Sends a text readout to the server's console. Contrary to what the name implies, players will not recieve this message unless they are the one r... current
- 13:57, 11 May 2009 diff hist +848 N Lua:SmartSound New page: {{Infobox manual/Header}} ==SmartSound== Plays one sound for a specified player, another for that player's teammates, and another for the other team(s). ===Usage=== <pre>SmartSound(playe... current
- 13:56, 11 May 2009 diff hist +702 N Lua:SmartTeamSound New page: {{Infobox manual/Header}} ==SmartTeamSound== Plays one sound for a selected team, and another for the other team(s). ===Usage=== <pre>SmartTeamSound(team, teamsound, enemysound)</pre> ... current
- 13:55, 11 May 2009 diff hist +555 N Lua:BroadCastSoundToPlayer New page: {{Infobox manual/Header}} ==BroadCastSoundToPlayer== Plays a sound for a specific player. ===Usage=== <pre>BroadCastSoundToPlayer(player, sound)</pre> ===Input=== * player(CFFPlayer) Th... current
- 13:54, 11 May 2009 diff hist +403 N Lua:BroadCastSound New page: {{Infobox manual/Header}} ==BroadCastSound== Plays a sound for everyone on the server. ===Usage=== <pre>BroadCastSound(sound)</pre> ===Input=== * sound(string) The sound to play. All so... current
- 13:53, 11 May 2009 diff hist +107 N Category:Messages New page: This group of Lua Commands deals with notifying players about events in the game. Category:Lua_Commands
- 13:51, 11 May 2009 diff hist +565 N Lua:DisplayMessage New page: {{Infobox manual/Header}} ==DisplayMessage== Triggers a hint pop-up on the player's screen. The player must have hints enabled to see it. ===Usage=== <pre>DisplayMessage(player, string)<... current
- 11:29, 11 May 2009 diff hist +1 Lua:DeleteSchedule current
- 11:28, 11 May 2009 diff hist -4 Lua:RemoveSchedule current
- 11:28, 11 May 2009 diff hist -5 Lua:DeleteSchedule
- 11:27, 11 May 2009 diff hist -3 Lua:AddScheduleRepeatingNotInfinitely current
- 11:26, 11 May 2009 diff hist -42 Lua:AddScheduleRepeating current
- 11:25, 11 May 2009 diff hist -38 Lua:AddSchedule current
- 11:24, 11 May 2009 diff hist -3 Lua:AddSchedule
- 11:17, 11 May 2009 diff hist +446 N Lua:RemoveHudItemFromAll New page: {{Infobox manual/Header}} ==RemoveHudItemFromAll== Deletes an icon, text, or timer from all players' screens ===Usage=== <pre>RemoveHudItemFromAll( HUD_id )</pre> ===Input=== * HUD_id(s... current
- 11:16, 11 May 2009 diff hist +538 N Lua:RemoveHudItem New page: {{Infobox manual/Header}} ==RemoveHudItem== Deletes an icon, text, or timer from a player's screen ===Usage=== <pre>RemoveHudItem( player, HUD_id )</pre> ===Input=== * player(CFFPlayer)... current
- 11:14, 11 May 2009 diff hist +25 N Category:Schedules New page: Category:Lua_Commands
- 11:14, 11 May 2009 diff hist +1,046 N Lua:AddHudTimerToAll 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...
- 11:12, 11 May 2009 diff hist +969 N Lua:AddHudTimer 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...
- 11:05, 11 May 2009 diff hist +643 N Lua:AddHudTextToAll New page: {{Infobox manual/Header}} ==AddHudTextToAll== Puts a text object on the screens of all players on the server ===Usage=== <pre>AddHudTextToAll(text_id, text, a, b, c, d)</pre> ===Input==... current
- 11:05, 11 May 2009 diff hist +669 N Lua:AddHudText New page: {{Infobox manual/Header}} ==AddHudText== Puts a text object on a player's screen. ===Usage=== <pre>AddHudText(player, text_id, text, a, b, c, d)</pre> ===Input=== * player(CFFPlayer) Th...
- 11:02, 11 May 2009 diff hist +1,034 N Lua:AddHudIconToAll New page: {{Infobox manual/Header}} ==AddHudIconToAll== Adds an icon to the screen of every player on the server ===Usage=== <pre>AddHudIconToAll(material, icon_id, x, y, w, h, align)</pre> ===In... current
- 11:01, 11 May 2009 diff hist +25 N Category:HUD Items New page: Category:Lua_Commands
- 11:00, 11 May 2009 diff hist +1,121 N Lua:AddHudIcon New page: {{Infobox manual/Header}} ==AddHudIcon== Adds an icon to a player's screen ===Usage=== <pre>AddHudIcon(player, material, icon_id, x, y, w, h, align)</pre> ===Output=== Returns: nothing ...