VSLib
Simple, powerful VScript Library for L4D2
|
Return player entities that match required criteria. More...
Private Member Functions | |
Player[] | Bots () |
Player[] | All () |
Player[] | Infected () |
Entity[] | CommonInfected () |
Player[] | Survivors () |
Player[] | AliveSurvivors () |
Player | AnySurvivor () |
Player | AnyAliveSurvivor () |
Player | RandomAliveSurvivor () |
Player | SurvivorWithHighestFlow () |
Player[] | Humans () |
Player[] | OfType (int playerType) |
Return player entities that match required criteria.
|
private |
Returns a table of all alive survivors.
|
private |
Returns a table of all players.
|
private |
Returns one valid alive survivor, or null if none exist
|
private |
Returns one valid survivor, or null if none exist
|
private |
Returns a table of all bots.
|
private |
Returns a table of all common infected.
|
private |
Returns a table of all human players.
|
private |
Returns a table of all special infected.
|
private |
Returns a table of all infected of a specific type.
|
private |
Returns one RANDOM valid alive survivor, or null if none exist
|
private |
Returns a table of all survivors.
|
private |
Returns one valid alive survivor with the highest flow distance, or null if none exist