
FindByTarget (null|prev, targetname) - Find entities by targetname. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search

FindByNameWithin (null|prev, name, radius)? - Find entities by name within a radius. FindByNameNearest (name, vector) ? - Find entities by name nearest to a point FindByName (null|prev, name) - Find entities by name. FindByModel (null|prev, modename) - Find entities by model name. FindB圜lassnameWithin (null|prev,classname) - Find entities by class name within a radius. FindB圜lassnameNearest (classname, vector) - Find entities by class name nearest to a point Pass 'null' to start an iteration, or reference to a previously found entity to continue a search Continue an iteration over the list of entities, providing reference to a previously found entity FindB圜lassname (null|prev,classname) - Find entities by class name. SPAWN_SPECIALS_IN_FRONT_OF_SURVIVORS = 3.ResetMobTimer() - Trigger a mob as soon as possible when in BUILD_UP.PlayMegaMobWarningSounds() - Plays a horde scream sound and asks survivors to speak 'incoming horde' lines.IsSinglePlayerGame() - Return true if game is in single player.IsPlayingOnConsole() - Returns true if player on xbox.GetGameMode() - Get the current game mode "versus", etc.GetFurthestSurvivorFlow() - Get the maximum distance along the flow that the survivors have reache.


You can similarly change the gamemode to " coop", " versus", and " survival", if you're testing a map with multi-gamemode support.ĭuring normal play, a Scavenge server will shut down after a short time if there are not enough human players. This is a useful shortcut to avoid having to go through the main menu every time or if you haven't yet set up your add-on. Mp_gamemode scavenge (Does not function in l4d2) map scavenge (This is the right usage) To load up a map in Scavenge mode, use the following console commands:
