VSLib
Simple, powerful VScript Library for L4D2
 All Classes Namespaces Files Functions Pages
VSLib.Utils Member List

This is the complete list of members for VSLib.Utils, including all inherited members.

AreVectorsEqual(Vector vec1, Vector vec2)VSLib.Utilsprivate
BroadcastClientCommand(string command)VSLib.Utilsprivate
BuildProgressBar(int width, int count, int goal, string fill="|", string empty=".")VSLib.Utilsprivate
CalculateDistance(Vector vec1, Vector vec2)VSLib.Utilsprivate
CombineArray(object[] args, string delimiter=" ")VSLib.Utilsprivate
CreateEntity(string _classname, Vector pos=Vector(0, 0, 0), QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
DisableCarAlarms()VSLib.Utilsprivate
DrawLine(Vector pos1, Vector pos2, double time=10.0, int red=255, int green=0, int blue=0)VSLib.Utilsprivate
FadeScreen(Player player, int red=0, int green=0, int blue=0, int alpha=255, double _duration=5.0, double _holdtime=5.0, bool modulate=false, bool fadeFrom=false)VSLib.Utilsprivate
ForcePanicEvent()VSLib.Utilsprivate
GetDistBetweenEntities(Entity ent1, Entity ent2)VSLib.Utilsprivate
GetNearbyLocationRadius(Player player, double minDist, double maxDist)VSLib.Utilsprivate
GetRandNumber(int min, int max)VSLib.Utilsprivate
GetRandValueFromArray(object[] arr)VSLib.Utilsprivate
GetTimeTable(double time)VSLib.Utilsprivate
GetVictimOfAttacker(Player attacker)VSLib.Utilsprivate
IsValidFireWeapon(string weapon)VSLib.Utilsprivate
IsValidMeleeWeapon(string classname)VSLib.Utilsprivate
IsValidWeapon(string classname)VSLib.Utilsprivate
KillZombieSpawns()VSLib.Utilsprivate
PlaySoundToAll(string sound)VSLib.Utilsprivate
PrecacheCSSWeapons()VSLib.Utilsprivate
PrecacheModel(string mdl)VSLib.Utilsprivate
printf(string str, params string[] values)VSLib.Utilsprivate
RemoveEntity(Entity ent)VSLib.Utilsprivate
ResumeTime()VSLib.Utilsprivate
SanitizeHeldItems()VSLib.Utilsprivate
SanitizeHeldMeds()VSLib.Utilsprivate
SanitizeHeldPrimary()VSLib.Utilsprivate
SanitizeHeldSecondary()VSLib.Utilsprivate
SanitizeHeldWeapons()VSLib.Utilsprivate
SanitizeMiniguns()VSLib.Utilsprivate
SanitizeUnheldItems()VSLib.Utilsprivate
SanitizeUnheldMeds()VSLib.Utilsprivate
SanitizeUnheldPrimary()VSLib.Utilsprivate
SanitizeUnheldSecondary()VSLib.Utilsprivate
SanitizeUnheldWeapons()VSLib.Utilsprivate
SayToAll(string str, params string[] values)VSLib.Utilsprivate
SayToAllDel(string str, params string[] values)VSLib.Utilsprivate
SayToTeam(Player player, string str, params string[] values)VSLib.Utilsprivate
SayToTeamDel(Player player, string str, params string[] values)VSLib.Utilsprivate
SearchMainTables(string idx)VSLib.Utilsprivate
SetEntityHint(Entity entity, string hinttext, string icon="icon_info", double range=0.0, bool parentEnt=false, double duration=0.0, bool noOffScreen=1)VSLib.Utilsprivate
ShakeScreen(Vector pos=null, double _amplitude=2, double _duration=5.0, double _frequency=35, double _radius=500)VSLib.Utilsprivate
SlowTime(double desiredTimeScale=0.2, double re_Acceleration=2.0, double minBlendRate=1.0, double blendDeltaMultiplier=2.0, bool allowResumeTime=true)VSLib.Utilsprivate
SpawnAmmo(string mdl="models/props/terror/ammo_stack.mdl", Vector pos=Vector(0, 0, 0), QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnCommentaryDummy(string mdl="models/survivors/survivor_gambler.mdl", string weps="weapon_pistol", string anim="Idle_Calm_Pistol", Vector pos=Vector(0, 0, 0), QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnCommentaryZombie(string zombieModel="common_male_tshirt_cargos", Vector pos=Vector(0, 0, 0), QAngle ang=QAngle(0, 0, 0))VSLib.Utilsprivate
SpawnDoor(string mdl="models/props_downtown/door_interior_112_01.mdl", Vector pos=Vector(0, 0, 0), QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnDynamicProp(string mdl, Vector pos, QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnFuelBarrel(Vector pos, QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnInventoryItem(string itemName, string mdl, Vector pos)VSLib.Utilsprivate
SpawnL4D1Minigun(Vector pos, QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnL4D1Survivor(int survivor=4, Vector pos=Vector(0, 0, 0), QAngle ang=QAngle(0, 0, 0))VSLib.Utilsprivate
SpawnMinigun(Vector pos, QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnPhysicsProp(string mdl, Vector pos, QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnRagdoll(string mdl, Vector pos, QAngle ang=QAngle(0, 0, 0), object[] keyvalues=null)VSLib.Utilsprivate
SpawnWeapon(string weaponName, int Count=4, Vector pos=Vector(0, 0, 0), QAngle ang=QAngle(0, 0, 90), object[] keyvalues=null)VSLib.Utilsprivate
SpawnZombie(Vector pos, string zombieType="default", bool attackOnSpawn=true)VSLib.Utilsprivate
SpawnZombieNearPlayer(Player player, int zombieNum, double maxDist=128.0, double minDist=32.0, bool checkVisibility=true, bool useAltSpawn=false)VSLib.Utilsprivate
StopSoundOnAll(string sound)VSLib.Utilsprivate
StringReplace(string str, string original, string replacement)VSLib.Utilsprivate
VectorCrossProduct(Vector a, Vector b)VSLib.Utilsprivate
VectorDotProduct(Vector a, Vector b)VSLib.Utilsprivate
VectorFromQAngle(QAngle angles, double radius=1.0)VSLib.Utilsprivate