diff --git a/defs.txt b/defs.txt index cfd3f9f..d87c2d5 100644 --- a/defs.txt +++ b/defs.txt @@ -1,3 +1,39 @@ +__FILE__ +__FILE__ +File name of the currently executing script + +__LINE__ +__LINE__ +Line number of the currently executing code + +Constants +Constants +Enumerations for various function arguments or netprops. + +Documentation +Documentation +Contains the printed strings from the script_help command. + +GameEventCallbacks +GameEventCallbacks +Table of registered game event callbacks. + +print_indent +print_indent +0. Spaces to indent prints by, except ones from realPrint. + +_PublishedHelp +_PublishedHelp + + +ScriptEventCallbacks +ScriptEventCallbacks +Table of registered script event callbacks. + +ScriptHookCallbacks +ScriptHookCallbacks +Table of registered script hook callbacks. + ScriptDebugDefaultWatchColor ScriptDebugDefaultWatchColor @@ -40,91 +76,91 @@ ScriptDebugWatches _charsize_ _charsize_ - +1 _floatsize_ _floatsize_ - +4 _intsize_ _intsize_ - +4 _version_ _version_ - +"Squirrel 3.2 stable" _versionnumber_ _versionnumber_ - +320 RAND_MAX RAND_MAX - +32767 PI PI - +3.14158 __KeyValueFromFloat -__KeyValueFromFloat(string, float) - +bool __KeyValueFromFloat(string key, float value) +Behaves the same as KeyValueFromFloat, use that instead. __KeyValueFromInt -__KeyValueFromInt(string, int) - +bool __KeyValueFromInt(string key, int value) +Behaves the same as KeyValueFromInt, use that instead. __KeyValueFromString -__KeyValueFromString(string, string) - +bool __KeyValueFromString(string key, string value) +Behaves the same as KeyValueFromString, use that instead. __KeyValueFromVector -__KeyValueFromVector(string, Vector) - +bool __KeyValueFromVector(string key, Vector value) +Behaves the same as KeyValueFromVector, use that instead. AddEFlags -AddEFlags(int) - +void AddEFlags(int flags) +Adds the supplied flags to the Entity Flags in the entity. (m_iEFlags datamap). See Constants.FEntityEFlags. AddFlag -AddFlag(int) - +void AddFlag(int flags) +Adds the supplied flags to another separate player-related entity flags system in the entity. (m_fFlags datamap). See Constants.FPlayer. AddSolidFlags -AddSolidFlags(int) - +void AddSolidFlags(int flags) +Adds the supplied flags to the Solid Flags in the entity. (m_Collision.m_usSolidFlags datamap). See Constants.FSolid. ApplyAbsVelocityImpulse -void ApplyAbsVelocityImpulse(Vector) -Apply a Velocity Impulse +void ApplyAbsVelocityImpulse(Vector impulse) +Apply a Velocity Impulse as a world space impulse vector. Works for most physics-based objects including dropped weapons and even dropped Sandviches. ApplyLocalAngularVelocityImpulse -void ApplyLocalAngularVelocityImpulse(Vector) -Apply an Ang Velocity Impulse +void ApplyLocalAngularVelocityImpulse(Vector impulse) +Apply an Angular Velocity Impulse in entity local space. The direction of the input vector is the rotation axis, and the length is the magnitude of the impulse. BecomeRagdollOnClient -bool BecomeRagdollOnClient(Vector) -Becomes a ragdoll with a force +bool BecomeRagdollOnClient(Vector impulse) +Acts like the BecomeRagdoll input, with the required impulse value applied as a force on the ragdoll. Does NOT spawn a prop_ragdoll or any other entity. ClearFlags -ClearFlags() - +void ClearFlags() +Sets the player-related entity flags to 0 on an entity, clearing them. ClearSolidFlags -ClearSolidFlags() - +void ClearSolidFlags() +Sets Solid Flags to 0 on an entity, clearing them. ConnectOutput -void ConnectOutput(string, string) -Adds an I/O connection that will call the named function when the specified output fires +void ConnectOutput(string output, string function) +Adds an I/O connection that will call the named function when the specified output fires. Destroy void Destroy() - +Removes the entity. Simply calls UTIL_Remove. DisableDraw void DisableDraw() -Enable drawing (removes EF_NODRAW) +Disable drawing and transmitting the entity to clients. (adds EF_NODRAW) DisconnectOutput void DisconnectOutput(string, string) @@ -140,23 +176,23 @@ Plays a sound from this entity. EnableDraw void EnableDraw() -Disable drawing (sets EF_NODRAW) +Enable drawing and transmitting the entity to clients. (removes EF_NODRAW) entindex int entindex() - +Returns the entity index. EyeAngles QAngle EyeAngles() -Returns the entity's eye angles +Returns the entity's eye angles. Acts like GetAbsAngles if the entity does not support it. EyePosition Vector EyePosition() -Get vector to eye position - absolute coords +Get vector to eye position - absolute coords. Acts like GetOrigin if the entity does not support it. FirstMoveChild handle FirstMoveChild() - +Returns the most-recent entity parented to this one. GetAbsAngles QAngle GetAbsAngles() @@ -168,11 +204,11 @@ Returns the current absolute velocity of the entity GetAngles Vector GetAngles() -Get entity pitch, yaw, roll as a vector +Get entity pitch, yaw, roll as a Vector GetAngularVelocity Vector GetAngularVelocity() -Get the local angular velocity - returns a vector of pitch,yaw,roll +Get the local angular velocity - returns a vector of pitch, yaw, and roll GetBaseVelocity Vector GetBaseVelocity() @@ -204,7 +240,7 @@ string GetClassname() GetCollisionGroup GetCollisionGroup() - +Gets the current collision group of the entity. GetEFlags int GetEFlags() @@ -323,8 +359,8 @@ int GetSolid() GetSoundDuration -float GetSoundDuration(string, string) -Returns float duration of the sound. Takes soundname and optional actormodelname. +float GetSoundDuration(string soundname, string actormodelname) +Returns float duration of the sound. Actor model name is optional and can be left null. GetTeam int GetTeam() @@ -340,51 +376,51 @@ Vector GetVelocity() GetWaterLevel int GetWaterLevel() - +This function tells you how much of the entity is underwater. It returns a value of 0 if not underwater, 1 if the feet are (touching water brush), 2 if the waist is (center of the hull of the entity), and 3 if the head is (eyes position). GetWaterType int GetWaterType() - +It returns the type of water the entity is currently submerged in. 32 for water and 16 for slime. IsEFlagSet -bool IsEFlagSet(int) +bool IsEFlagSet(int eflag) IsPlayer bool IsPlayer() - +Checks whether the entity is a player or not. IsSolid bool IsSolid() IsSolidFlagSet -bool IsSolidFlagSet(int) +bool IsSolidFlagSet(int solidflag) IsValid bool IsValid() - +Checks whether the entity still exists. Useful when storing entity handles and needing to check if the entity was not deleted. KeyValueFromFloat -bool KeyValueFromFloat(string, float) +bool KeyValueFromFloat(string key, float value) Executes KeyValue with a float KeyValueFromInt -bool KeyValueFromInt(string, int) +bool KeyValueFromInt(string key, int value) Executes KeyValue with an int KeyValueFromString -bool KeyValueFromString(string, string) +bool KeyValueFromString(string key, string value) Executes KeyValue with a string KeyValueFromVector -bool KeyValueFromVector(string, Vector) +bool KeyValueFromVector(string key, Vector value) Executes KeyValue with a vector Kill void Kill() - +Removes the entity. Equivalent of firing the Kill I/O input, but instantaneous. LocalEyeAngles handle LocalEyeAngles() @@ -392,183 +428,183 @@ Returns the entity's local eye angles NextMovePeer handle NextMovePeer() - +Returns the next entity parented with the entity. Intended for iteration use with FirstMoveChild(). PrecacheModel -void PrecacheModel(string) - +void PrecacheModel(string modelname) +Precache a model PrecacheScriptSound -void PrecacheScriptSound(string) - +void PrecacheScriptSound(string soundscript) +Precache a sound script. Same as PrecacheSoundScript. PrecacheSoundScript -void PrecacheSoundScript(string) -Precache a sound for later playing. +void PrecacheSoundScript(string soundscript) +Precache a sound script. Same as PrecacheScriptSound. RemoveEFlags -void RemoveEFlags(int) +void RemoveEFlags(int eflags) RemoveFlag -void RemoveFlag(int) +void RemoveFlag(int flags) RemoveSolidFlags -void RemoveSolidFlags(int) +void RemoveSolidFlags(int solidflags) SetAbsAngles -void SetAbsAngles(QAngle) +void SetAbsAngles(QAngle angles) Set entity pitch, yaw, roll as QAngles SetAbsVelocity void SetAbsVelocity(Vector) -Sets the current absolute velocity of the entity +Sets the current absolute velocity velocity of the entity SetAbsOrigin -void SetAbsOrigin(Vector) -SetAbsOrigin +void SetAbsOrigin(Vector origin) +Sets the absolute origin of the entity. SetAngles -void SetAngles(float, float, float) -Set entity pitch, yaw, roll. +void SetAngles(float pitch, float yaw, float roll) +Set entity angles. SetAngularVelocity -void SetAngularVelocity(float, float, float) -Set the local angular velocity - takes float pitch,yaw,roll velocities +void SetAngularVelocity(float pitch, float yaw, float roll) +Set the local angular velocity. SetCollisionGroup -void SetCollisionGroup(int) - +void SetCollisionGroup(int collision_group) +Set the current collision group of the entity. See Constants.ECollisionGroup SetDrawEnabled -void SetDrawEnabled(bool) +void SetDrawEnabled(bool toggle) Enables drawing if you pass true, disables drawing if you pass false. SetEFlags -void SetEFlags(int) +void SetEFlags(int eflags) SetForwardVector -void SetForwardVector(Vector) +void SetForwardVector(Vector forward) Set the orientation of the entity to have this forward vector SetFriction -void SetFriction(float) +void SetFriction(float friction) SetGravity -void SetGravity(float) +void SetGravity(float gravity) SetHealth -void SetHealth(int) +void SetHealth(int health) SetLocalAngles -void SetLocalAngles(QAngle) +void SetLocalAngles(QAngle angles) SetLocalOrigin -void SetLocalOrigin(Vector) +void SetLocalOrigin(Vector origin) SetMaxHealth -void SetMaxHealth(int) - +void SetMaxHealth(int health) +Sets the maximum health this entity can have. Does not update the current health, so SetHealth should be used afterwards. SetModel -void SetModel(string) +void SetModel(string model_name) Set a model for this entity SetMoveType void SetMoveType(EMoveType movetype, EMoveCollide movecollide) -SetModelSimple -void SetModelSimple(string) -Set a model for this entity. Matches easier behaviour of the SetModel input, automatically precaches, maintains sequence/cycle if possible. - SetOrigin -void SetOrigin(Vector) +void SetOrigin(Vector origin) SetOwner -void SetOwner(handle) +void SetOwner(handle entity) Sets this entity's owner SetPhysAngularVelocity -void SetPhysAngularVelocity(Vector) +void SetPhysAngularVelocity(Vector angular_velocity) SetPhysVelocity -void SetPhysVelocity(Vector) +void SetPhysVelocity(Vector velocity) SetSize -void SetSize(Vector, Vector) - +void SetSize(Vector mins, Vector maxs) +Sets the bounding box's scale for this entity. SetSolid -SetSolid(int) +SetSolid(int solid) SetSolidFlags -SetSolidFlags(int) +SetSolidFlags solid_flags(int) SetTeam -void SetTeam(int) - +void SetTeam(int team) +Sets entity team. SetVelocity -void SetVelocity(Vector) +void SetVelocity(Vector velocity) SetWaterLevel -SetWaterLevel(int) - +SetWaterLevel(int water_level) +This sets how much of the entity is underwater. Setting it to 0 means it is not underwater, 1 if the feet are (touching water brush), 2 if the waist is (center of the hull of the entity), and 3 if the head is (eyes position). SetWaterType -SetWaterType(int) - +SetWaterType(int water_type) +Set the type of water the entity is currently submerged in. Generic values to use are 32 for water and 16 for slime. StopSound -void StopSound(string) +void StopSound(string sound_name) Stops a sound on this entity. TakeDamage void TakeDamage(float flDamage, int nDamageType, handle hAttacker) +Deals damage to the entity. +TakeDamageEx +void TakeDamageEx(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType) +Extended version of TakeDamage. + +TakeDamageCustom +void TakeDamageCustom(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType, Constants.ETFDmgCustom nCustomDamageType) +Extended version of TakeDamageEx that can apply a custom damage type. Teleport -void Teleport(bool, Vector, bool, QAngle, bool, Vector) -Teleports this entity +void Teleport(bool use_origin, Vector origin, bool use_angles, QAngle angles, bool use_velocity, Vector velocity) +Teleports this entity. For this function, set the bools to false if you want that entity's property unchanged. (do not use null arguments!) TerminateScriptScope void TerminateScriptScope() Clear the current script scope for this entity ToggleFlag -ToggleFlag(int) - - -TakeDamageEx -void TakeDamageEx(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType) - - -TakeDamageCustom -void TakeDamageCustom(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType, int nCustomDamageType) +ToggleFlag(int flags) ValidateScriptScope bool ValidateScriptScope() Ensure that an entity's script scope has been created -Input[InputName] -bool Input[InputName]() -Called when the entity receives an input from the I/O system that matches the function's name. The name of the function needs to beInputfollowed by the name of the input with the same casing (PascalCase). E.g. for the FireUser1 input, it would beInputFireUser1. When the function is called, Script Handles of the activator and caller entities are accessible to the function under the variablesactivatorandcaller. The function needs to return a boolean value; Returningtrueprocesses the input, whilefalsecancels it. +Input +bool Input() +Called when the entity receives an input from the I/O system that matches the function's name. The name of the function needs to be Input followed by the name of the input. E.g. for the FireUser1 input, it would be InputFireUser1 When the function is called, Script Handles of the activator and caller entities are accessible to the function under the variables activator and caller. The function needs to return a boolean value; Returning true processes the input, while false cancels it. + +OnGameEvent_ +void OnGameEvent_(table params) +Called each time a game event with the specified name occurs. The name of the function needs to be OnGameEvent_ followed by the name of the game event. E.g. for the player_spawn input, it would be OnGameEvent_player_spawn. OnPostSpawn void OnPostSpawn() @@ -583,72 +619,72 @@ void OnTakeDamage(handle params) Called each time an entity takes damage. The script can modify the table entries not suffixed with const, and these will be sent back to the game code DispatchAnimEvents -void DispatchAnimEvents(handle) +void DispatchAnimEvents(handle entity) Dispatch animation events to a CBaseAnimating FindBodygroupByName -int FindBodygroupByName(string) -Find a bodygroup id by name +int FindBodygroupByName(string name) +Find a bodygroup ID by name. Returns -1 if the bodygroup does not exist. GetAttachmentAngles -QAngle GetAttachmentAngles(int) -Get the attachement id's angles as a p,y,r vector +QAngle GetAttachmentAngles(int ID) +Get an attachment's angles as a QAngle, by ID. GetAttachmentBone -int GetAttachmentBone(int) -Get the named attachement's parent bone index +int GetAttachmentBone(int ID) +Get an attachment's parent bone index by ID. GetAttachmentOrigin -Vector GetAttachmentOrigin(int) -Get the attachement id's origin vector +Vector GetAttachmentOrigin(int ID) +Get an attachment's origin as a Vector, by ID. GetBodygroup -int GetBodygroup(int) -Get a bodygroup by id +int GetBodygroup(int ID) +Get the bodygroup value by bodygroup ID. GetBodygroupName -string GetBodygroupName(int) -Get the bodygroup id's name +string GetBodygroupName(int ID) +Get the bodygroup's name by ID. GetBodygroupPartName -string GetBodygroupPartName(int, int) -Get name by group and part +string GetBodygroupPartName(int group, int part) +Get the bodygroup's name by group and part. GetBoneAngles -QAngle GetBoneAngles(int) -Get the bone id's angles as a p,y,r vector +QAngle GetBoneAngles(int ID) +Get the bone's angles as a QAngle, by ID. GetBoneOrigin -Vector GetBoneOrigin(int) -Get the bone id's origin vector +Vector GetBoneOrigin(int ID) +Get the bone's origin Vector by ID. GetCycle float GetCycle() -Gets the models current cycle +Gets the model's current animation cycle rate. GetModelScale float GetModelScale() - +Get the model's scale. GetPlaybackRate float GetPlaybackRate() -Set the current playback rate. +Get the current animation's playback rate. GetSequence int GetSequence() -Get the current sequence id +Get the current-playing sequence's ID. GetSequenceActivityName -string GetSequenceActivityName(int) -Get the activity name for a sequence by id +string GetSequenceActivityName(int ID) +Get the activity name for a sequence by sequence ID. GetSequenceDuration -float GetSequenceDuration(int) -Get a sequence duration by id +float GetSequenceDuration(int ID) +Get a sequence duration in seconds by sequence ID. GetSequenceName -string GetSequenceName(int) -Get a sequence name by id +string GetSequenceName(int ID) +Get a sequence name by sequence ID. GetSkin int GetSkin() @@ -659,56 +695,60 @@ bool IsSequenceFinished() Ask whether the main sequence is done playing LookupActivity -int LookupActivity(string) -Get the named activity index +int LookupActivity(string activity) +Get the named activity index. Returns -1 if the activity does not exist. LookupAttachment -int LookupAttachment(string) -Get the named attachement id +int LookupAttachment(string name) +Get the named attachment index. Returns 0 if the attachment does not exist. LookupBone -int LookupBone(string) -Get the named bone index +int LookupBone(string bone) +Get the named bone index. Returns -1 if the bone does not exist. LookupPoseParameter -int LookupPoseParameter(string) -Looks up a pose parameter index by name +int LookupPoseParameter(string name) +Gets the pose parameter's index. Returns -1 if the pose parameter does not exist. LookupSequence -int LookupSequence(string) -Looks up a sequence by sequence name or activity name +int LookupSequence(string name) +Looks up a sequence by names of sequences or activities. Returns -1 if the sequence does not exist. ResetSequence -void ResetSequence(int) -Reset a sequence by id. If the id is different than the current sequence, switch to the new sequence +void ResetSequence(int ID) +Reset a sequence by sequence ID. If the ID is different than the current sequence, switch to the new sequence. SetBodygroup -void SetBodygroup(int, int) -Sets a bodygroup +void SetBodygroup(int ID, int value) +Set the bodygroup by ID. SetCycle -void SetCycle(float) -Sets the models current cycle +void SetCycle(float cycle) +Sets the model's current animation cycle from 0 to 1. + +SetModelSimple +void SetModelSimple(string model_name) +Set a model for this entity. Matches easier behaviour of the SetModel input, automatically precaches, maintains sequence/cycle if possible. SetModelScale -void SetModelScale(float, float) -(scale, change_duration) Changes a model's scale over time +void SetModelScale(float scale, float change_duration) +Changes a model's scale over time. Set the change duration to 0.0 to change the scale instantly. SetPlaybackRate -void SetPlaybackRate(float) -Set the current playback rate. +void SetPlaybackRate(float rate) +Set the current animation's playback rate. SetPoseParameter -float SetPoseParameter(int, float) -(id, value) Sets a pose parameter value +float SetPoseParameter(int ID, float value) +Sets a pose parameter value. Returns the effective value after clamping or looping. SetSequence -void SetSequence(int) -Set a sequence by id +void SetSequence(int ID) +Plays a sequence by sequence ID. SetSkin -void SetSkin(int) -Sets the skin. +void SetSkin(int index) +Sets the model's skin. StopAnimation void StopAnimation() @@ -719,7 +759,7 @@ void StudioFrameAdvance() Advance animation frame to some time in the future with an automatically calculated interval StudioFrameAdvanceManual -void StudioFrameAdvanceManual(float) +void StudioFrameAdvanceManual(float dt) Advance animation frame to some time in the future with a manual interval CanBeSelected @@ -831,15 +871,15 @@ void SetClip2(int) Set current ammo in clip2 SetCustomViewModel -void SetCustomViewModel(string) +void SetCustomViewModel(string model_name) Sets a custom view model for this weapon by model name SetCustomViewModelModelIndex -void SetCustomViewModelModelIndex(int) +void SetCustomViewModelModelIndex(int model_index) Sets a custom view model for this weapon by modelindex SetSubType -void SetSubType(int) +void SetSubType(int subtype) Set the weapon subtype UsesClipsForAmmo1 @@ -863,59 +903,59 @@ bool VisibleInWeaponSelection() Is this weapon visible in weapon selection PlayScene -float PlayScene(string, float) -Play the specified .vcd file. +float PlayScene(string scene_file, float delay) +Play the specified .vcd file, causing the related characters to speak and subtitles to play. GetLastKnownArea handle GetLastKnownArea() -Return the last nav area occupied - NULL if unknown +Return the last nav area occupied, NULL if unknown. See CTFNavArea. GetForceLocalDraw bool GetForceLocalDraw() -Gets the state of whether the player is being forced by SetForceLocalDraw to be drawn +Whether the player is being forced by SetForceLocalDraw to be drawn. GetPlayerMaxs Vector GetPlayerMaxs() - +Get a vector containing max bounds of the player in local space. The player's model scale will affect the result. GetPlayerMins Vector GetPlayerMins() - +Get a vector containing min bounds of the player in local space. The player's model scale will affect the result. GetScriptOverlayMaterial string GetScriptOverlayMaterial() -Gets the current view overlay material +Gets the current overlay material set by SetScriptOverlayMaterial. IsNoclipping bool IsNoclipping() Returns true if the player is in noclip mode. SetForceLocalDraw -void SetForceLocalDraw(bool) -Forces the player to be drawn as if they are third person +void SetForceLocalDraw(bool forceDraw) +Forces the player to be drawn as if they were in thirdperson. SetScriptOverlayMaterial -void SetScriptOverlayMaterial(string) - Sets a view overlay material +void SetScriptOverlayMaterial(string material) +Sets the overlay material that can't be overriden by other overlays. E.g. Jarate. SnapEyeAngles -void SnapEyeAngles(QAngle) +void SnapEyeAngles(QAngle angles) Snap the player's eye angles to this. ViewPunch -void ViewPunch(QAngle) +void ViewPunch(QAngle angleOffset) Ow! Punches the player's view ViewPunchReset -void ViewPunchReset(float) -Reset's the player's view punch +void ViewPunchReset(float tolerance) +Reset's the player's view punch if the offset stays below the given tolerance. AddAttribute -void AddAttribute(string, float, float) -Add an attribute to the entity +void AddAttribute(string name, float value, float duration) +Add an attribute to the entity. Set duration to -1 for the attribute to be applied forever. RemoveAttribute -void RemoveAttribute(string) +void RemoveAttribute(string name) Remove an attribute to the entity ReapplyProvision @@ -930,25 +970,37 @@ AddCondEx void AddCondEx(ETFCond cond, float duration, handle provider) +AddCurrency +void AddCurrency(int amount) +Kaching! Give the player some cash for game modes with upgrades, ie. MvM + AddCustomAttribute -void AddCustomAttribute(string, float, float) -Add a custom attribute to the player +void AddCustomAttribute(string name, float value, float duration) +Add a custom attribute to the player. Set duration to -1 for the attribute to be applied forever. -ApplyPunchImpulseX -bool ApplyPunchImpulseX(float) +AddHudHideFlags +void AddHudHideFlags(int flags) +Hides a hud element based on Constants.FHideHUD +ApplyPunchImpulseX +bool ApplyPunchImpulseX(float impulse) +Apply a view punch along the pitch angle. Used to flinch players when hit. If the player is a fully charged scoped-in sniper and the weapon has the aiming_no_flinch attribute, the punch will not apply. Returns true if the punch was applied. BleedPlayer -void BleedPlayer(float) - +void BleedPlayer(float duration) +Make a player bleed for a set duration of time. BleedPlayerEx -void BleedPlayerEx(float, int, bool, int) +void BleedPlayerEx(float duration, int damage, bool endless, int nCustomDamageType) +Make a player bleed for a set duration of time, or forever, with specific damage per tick and damage_custom index. +CancelTaunt +void CancelTaunt() +Cancels any taunt in progress CanAirDash bool CanAirDash() - +Can the player air dash/double jump? CanBeDebuffed bool CanBeDebuffed() @@ -964,7 +1016,7 @@ Can the player duck? CanGetWet bool CanGetWet() - +Can the player get wet by jarate/milk? CanJump bool CanJump() @@ -978,18 +1030,34 @@ ClearSpells void ClearSpells() +ClearTauntAttack +void ClearTauntAttack() +Stops active taunt from damaging or cancels Rock-Paper-Scissors result + CanPlayerMove bool CanPlayerMove() Can the player move? +DoTauntAttack +void DoAttackTaunt() +Performs taunts attacks if available. Player must be already taunting and taunt must have a valid attack assigned (taunt attack name attribute) + DropFlag -void DropFlag(bool) +void DropFlag(bool silent) Force player to drop the flag. DropRune -void DropRune(bool, int) +void DropRune(bool apply_force, int team) Force player to drop the rune. +EndLongTaunt +void EndLongTaunt() +Stops a looping taunt (obeys minimum time rules and plays outro animation if available) + +EquipWearableViewModel +void EquipWearableViewModel(handle ent) +Equips a wearble on the viewmodel. Intended to be used with tf_wearable_vm entities. + ExtinguishPlayerBurning void ExtinguishPlayerBurning() @@ -998,20 +1066,16 @@ FiringTalk void FiringTalk() Makes eg. a heavy go AAAAAAAAAAaAaa like they are firing their minigun. -FirstMoveChild -FirstMoveChild() - - ForceChangeTeam -void ForceChangeTeam(int, bool) -Force player to change their team. +void ForceChangeTeam(int team, bool full_team_switch) +Force player to change their team. Setting the bool to true will not remove nemesis relationships or reset the player's class, as well as not slaying the player. ForceRegenerateAndRespawn -void ForceRegenerateAndRespawn(int, bool) +void ForceRegenerateAndRespawn() Force regenerates and respawns the player ForceRespawn -void ForceRespawn(int) +void ForceRespawn() Force respawns the player GetActiveWeapon @@ -1026,6 +1090,10 @@ GetBonusPoints int GetBonusPoints() +GetBotType +int GetBotType() + + GetBuildingsDestroyed int GetBuildingsDestroyed() @@ -1040,7 +1108,7 @@ Gets the eye height of the player GetCondDuration float GetCondDuration(ETFCond cond) - +Returns duration of the condition. Returns 0 if the cond is not applied. Returns -1 if the cond is infinite. GetCurrency int GetCurrency() @@ -1086,6 +1154,10 @@ GetHealTarget handle GetHealTarget() Who is the medic healing? +GetHudHideFlags +int GetHudHideFlags() + + GetInvulns int GetInvulns() @@ -1138,10 +1210,26 @@ GetTeleports int GetTeleports() +GetTauntAttackTime +float GetTauntAttackTime() +Timestamp until a taunt attack "lasts". 0 if unavailable + +GetTauntRemoveTime +float GetTauntRemoveTime() +Timestamp until taunt is stopped + +GetVehicleReverseTime +float GetVehicleReverseTime() +Timestamp when kart was reversed + GetTimeSinceCalledForMedic float GetTimeSinceCalledForMedic() When did the player last call medic +GrantOrRemoveAllUpgrades +void GrantOrRemoveAllUpgrades(bool remove, bool refund) + + HasItem bool HasItem() Currently holding an item? Eg. capture flag @@ -1166,10 +1254,18 @@ IsAirDashing bool IsAirDashing() +IsAllowedToRemoveTaunt +bool IsAllowedToRemoveTaunt() +Returns true if the taunt will be stopped + IsAllowedToTaunt bool IsAllowedToTaunt() +IsBotOfType +bool IsBotOfType(int type) + + IsCallingForMedic bool IsCallingForMedic() Is this player calling for medic? @@ -1186,6 +1282,10 @@ IsCritBoosted bool IsCritBoosted() +IsFakeClient +bool IsFakeClient() + + IsFireproof bool IsFireproof() @@ -1226,10 +1326,6 @@ IsPlacingSapper bool IsPlacingSapper() Returns true if we placed a sapper in the last few moments -IsPlayer -IsPlayer() - - IsRageDraining bool IsRageDraining() @@ -1250,6 +1346,10 @@ IsStealthed bool IsStealthed() +IsTaunting() +bool IsTaunting() + + IsUsingActionSlot bool IsUsingActionSlot() @@ -1259,15 +1359,15 @@ bool IsViewingCYOAPDA() Regenerate -void Regenerate(bool) +void Regenerate(bool refill_health_ammo) Resupplies a player. If regen health/ammo is set, clears negative conds, gives back player health/ammo RemoveAllItems -void RemoveAllItems(bool) +void RemoveAllItems(bool unused) RemoveAllObjects -void RemoveAllObjects(bool) +void RemoveAllObjects(bool explode) Remove all player objects. Eg. dispensers/sentries. RemoveCond @@ -1279,17 +1379,21 @@ void RemoveCondEx(ETFCond cond, bool ignoreDuration) RemoveCurrency -void RemoveCurrency(int) +void RemoveCurrency(int amount) Take away money from a player for reasons such as ie. spending. RemoveCustomAttribute -void RemoveCustomAttribute(string) +void RemoveCustomAttribute(string name) Remove a custom attribute to the player RemoveDisguise void RemoveDisguise() Undisguise a spy. +RemoveHudHideFlags +void RemoveHudHideFlags(int flags) +Unhides a hud element based on Constants.FHideHUD + RemoveInvisibility void RemoveInvisibility() Un-invisible a spy. @@ -1311,89 +1415,113 @@ void SetCondDuration(ETFCond cond, float duration) SetCurrency -void SetCurrency(int) +void SetCurrency(int amount) Set player's cash for game modes with upgrades, ie. MvM SetCurrentTauntMoveSpeed -void SetCurrentTauntMoveSpeed(float) +void SetCurrentTauntMoveSpeed(float speed) SetCustomModel -void SetCustomModel(string) +void SetCustomModel(string model_name) SetCustomModelOffset -void SetCustomModelOffset(Vector) +void SetCustomModelOffset(Vector offset) SetCustomModelRotates -void SetCustomModelRotates(bool) +void SetCustomModelRotates(bool toggle) SetCustomModelRotation -void SetCustomModelRotation(QAngle) +void SetCustomModelRotation(QAngle angles) SetCustomModelVisibleToSelf -void SetCustomModelVisibleToSelf(bool) +void SetCustomModelVisibleToSelf(bool toggle) SetCustomModelWithClassAnimations -void SetCustomModelWithClassAnimations(string) +void SetCustomModelWithClassAnimations(string model_name) SetDisguiseAmmoCount -void SetDisguiseAmmoCount(int) +void SetDisguiseAmmoCount(int count) SetForcedTauntCam -void SetForcedTauntCam(int) +void SetForcedTauntCam(int toggle) SetGrapplingHookTarget -void SetGrapplingHookTarget(handle, bool) +void SetGrapplingHookTarget(handle entity, bool bleed) Set the player's target grapple entity +SetHudHideFlags +void SetHudHideFlags(int flags) +Force hud hide flags to a value based on Constants.FHideHUD + SetIsMiniBoss -void SetIsMiniBoss(bool) +void SetIsMiniBoss(bool toggle) Make this player an MvM mini-boss. SetNextChangeClassTime -void SetNextChangeClassTime(float) +void SetNextChangeClassTime(float time) Set next change class time. SetNextChangeTeamTime -void SetNextChangeTeamTime(float) +void SetNextChangeTeamTime(float time) Set next change team time. SetNextRegenTime -void SetNextRegenTime(float) -Set next health regen time. +void SetNextRegenTime(float time) +Set next available resupply time. SetPlayerClass -void SetPlayerClass(int) - +void SetPlayerClass(int class) +Sets the player class. Updates the player's visuals and model. SetRageMeter -void SetRageMeter(float) +void SetRageMeter(float percent) +Sets rage meter from 0 - 100. +SetRPSResult +void SetRPSResult(int result) +Rig the result of Rock-Paper-Scissors (0 - rock, 1 - paper, 2 - scissors) SetScoutHypeMeter -void SetScoutHypeMeter(float) - +void SetScoutHypeMeter(float percent) +Sets hype meter from 0 - 100. SetSpyCloakMeter -void SetSpyCloakMeter(float) +void SetSpyCloakMeter(float percent) +Sets cloak meter from 0 - 100. +SetVehicleReverseTime +void SetVehicleReverseTime(float time) +Set the timestamp when kart was reversed SetUseBossHealthBar -void SetUseBossHealthBar(bool) +void SetUseBossHealthBar(bool toggle) + + +StopTaunt +void StopTaunt(bool remove_prop) +Stops current taunt. If remove_prop is true, the taunt prop will be immediately deleted instead of potentially delaying +Taunt +void Taunt(int taunt_index, int taunt_concept) +Performs a taunt if allowed. For taunt index, see Constants.FTaunts. For concepts, see MP_CONCEPT List. Concept is the "voiceline" index to use with the taunt. For TAUNT_SHOW_ITEM and TAUNT_BASE_WEAPON this is set automatically. TAUNT_LONG is not supported. TryToPickupBuilding bool TryToPickupBuilding() Make the player attempt to pick up a building in front of them +UpdateSkin +void UpdateSkin(int skin) + + WasInCond bool WasInCond(ETFCond cond) @@ -1404,11 +1532,11 @@ bool Weapon_CanUse(handle weapon) Weapon_Drop void Weapon_Drop(handle weapon) - +Does nothing! Weapon_DropEx void Weapon_Drop(handle weapon, Vector target, Vector velocity) - +Does nothing! Weapon_Equip void Weapon_Equip(handle weapon) @@ -1427,15 +1555,15 @@ void Weapon_Switch(handle weapon) AddBotAttribute -void AddBotAttribute(int) +void AddBotAttribute(int attribute) Sets attribute flags on this TFBot AddBotTag -void AddBotTag(string) +void AddBotTag(string tag) Adds a bot tag AddWeaponRestriction -void AddWeaponRestriction(int) +void AddWeaponRestriction(int flags) Adds weapon restriction flags ClearAllBotAttributes @@ -1455,27 +1583,27 @@ void ClearAttentionFocus() Clear current focus DelayedThreatNotice -void DelayedThreatNotice(handle, float) - +void DelayedThreatNotice(handle threat, float delay) +Notice the threat after a delay in seconds DisbandCurrentSquad void DisbandCurrentSquad() Forces the current squad to be entirely disbanded by everyone FindVantagePoint -handle FindVantagePoint(float) +handle FindVantagePoint(float max_distance) Get the nav area of the closest vantage point (within distance) GenerateAndWearItem -void GenerateAndWearItem(string) +void GenerateAndWearItem(string item_name) Give me an item! GetHomeArea handle GetHomeArea() -Sets the home nav area of the bot +Gets the home nav area of the bot GetDifficulty -int GetDifficulty() +ETFBotDifficultyType GetDifficulty() Returns the bot's difficulty level GetMaxVisionRangeOverride @@ -1495,15 +1623,15 @@ float GetSquadFormationError() Gets our formation error coefficient. HasBotAttribute -bool HasBotAttribute(int) +bool HasBotAttribute(int attribute) Checks if this TFBot has the given attributes HasBotTag -bool HasBotTag(string) +bool HasBotTag(string tag) Checks if this TFBot has the given bot tag HasWeaponRestriction -bool HasWeaponRestriction(int) +bool HasWeaponRestriction(int flags) Checks if this TFBot has the given weapon restriction flags IsAmmoFull @@ -1519,11 +1647,11 @@ bool IsAttentionFocused() Is our attention focused right now? IsAttentionFocusedOn -bool IsAttentionFocusedOn(handle) +bool IsAttentionFocusedOn(handle entity) Is our attention focused on this entity IsDifficulty -bool IsDifficulty(int) +bool IsDifficulty(int difficulty) Returns true/false if the bot's difficulty level matches. IsInASquad @@ -1531,7 +1659,7 @@ bool IsInASquad() Checks if we are in a squad IsWeaponRestricted -bool IsWeaponRestricted(handle) +bool IsWeaponRestricted(handle weapon) Checks if the given weapon is restricted for use on the bot LeaveSquad @@ -1539,59 +1667,59 @@ void LeaveSquad() Makes us leave the current squad (if any) PressAltFireButton -void PressAltFireButton(float) +void PressAltFireButton(float duration) PressFireButton -void PressFireButton(float) +void PressFireButton(float duration) PressSpecialFireButton -void PressSpecialFireButton(float) +void PressSpecialFireButton(float duration) RemoveBotAttribute -void RemoveBotAttribute(int) +void RemoveBotAttribute(int attribute) Removes attribute flags on this TFBot RemoveBotTag -void RemoveBotTag(string) +void RemoveBotTag(string tag) Removes a bot tag RemoveWeaponRestriction -void RemoveWeaponRestriction(int) +void RemoveWeaponRestriction(int flags) Removes weapon restriction flags SetAttentionFocus -void SetAttentionFocus(handle) +void SetAttentionFocus(handle entity) Sets our current attention focus to this entity SetAutoJump -void SetAutoJump(float, float) +void SetAutoJump(float minTime, float maxTime) Sets if the bot should automatically jump SetDifficulty -void SetDifficulty(int) +void SetDifficulty(int difficulty) Sets the bots difficulty level SetHomeArea -void SetHomeArea(handle) -Returns the home nav area of the bot -- may be nil. +void SetHomeArea(handle area) +Set the home nav area of the bot, may be null. SetMaxVisionRangeOverride -void SetMaxVisionRangeOverride(float) +void SetMaxVisionRangeOverride(float range) Sets max vision range override for the bot SetScaleOverride -void SetScaleOverride(float) +void SetScaleOverride(float scale) Sets the scale override for the bot SetShouldQuickBuild -void SetShouldQuickBuild(bool) +void SetShouldQuickBuild(bool toggle) Sets if the bot should build instantly SetSquadFormationError -void SetSquadFormationError(float) +void SetSquadFormationError(float coefficient) Sets our formation error coefficient. ShouldAutoJump @@ -1640,15 +1768,15 @@ Creates an entity by classname DispatchSpawn void DispatchSpawn(handle entity) -Dispatches spawn of an entity! +Dispatches spawn of an entity! Use this on entities created via CreateByClassname to actually spawn them into the world. FindByClassname handle FindByClassname(handle previous, string classname) -Find entities by the value of their classname keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search. Note: the classname keyvalue of an entity can be manipulated and does not necessarily reflect its code class. There might be entities that have a different classname than the one they are created with. +Find entities by the string of their classname keyvalue. Pass 'null' value to start an iteration, or reference to a previously found entity to continue a search FindByClassnameNearest handle FindByClassnameNearest(string classname, Vector center, float radius) -Find entities by classname nearest to a point. +Find entities by classname nearest to a point within a radius. FindByClassnameWithin handle FindByClassnameWithin(handle previous, string classname, Vector center, float radius) @@ -1664,7 +1792,7 @@ Find entities by the value of their enttargetname keyvalue. Pass 'null' to start FindByNameNearest handle FindByNameNearest(string targetname, Vector center, float radius) -Find entities by targetname nearest to a point. +Find entities by targetname nearest to a point within a radius. FindByNameWithin handle FindByNameWithin(handle previous, string targetname, Vector center, float radius) @@ -1691,84 +1819,84 @@ void AddIncomingConnection(handle area, int dir) Add areas that connect TO this area by a ONE-WAY link ClearAttributeTF -void ClearAttributeTF(int) -Clear TF-specific area attribute bits +void ClearAttributeTF(int bits) +Clear TF-specific area attribute bits. ComputeClosestPointInPortal -Vector ComputeClosestPointInPortal(handle, int, Vector) +Vector ComputeClosestPointInPortal(handle to, ENavDirType dir, Vector closePos) Compute closest point within the portal between to adjacent areas. ComputeDirection int ComputeDirection(Vector point) -Return direction from this area to the given point +Return direction from this area to the given point. ConnectTo void ConnectTo(handle area, int dir) -Connect this area to given area in given direction +Connect this area to given area in given direction. Contains bool Contains(handle area) -Return true if other area is on or above this area, but no others +Return true if other area is on or above this area, but no others. ContainsOrigin bool ContainsOrigin(Vector point) -Return true if given point is on or above this area, but no others +Return true if given point is on or above this area, but no others. DebugDrawFilled -void DebugDrawFilled(int, int, int, int, float, bool, float) -Draw area as a filled rect of the given color +void DebugDrawFilled(int r, int g, int b, int a, float duration, bool noDepthTest, float margin) +Draw area as a filled rect of the given color. Disconnect void Disconnect(handle area) -Disconnect this area from given area +Disconnect this area from given area. FindRandomSpot Vector FindRandomSpot() -Get random origin within extent of area +Get random origin within extent of area. GetAdjacentArea handle GetAdjacentArea(int dir, int n) -Return the n'th adjacent area in the given direction +Return the n'th adjacent area in the given direction. GetAdjacentAreas void GetAdjacentAreas(int dir, handle table) -Fills a passed in table with all adjacent areas in the given direction +Fills a passed in table with all adjacent areas in the given direction. GetAdjacentCount int GetAdjacentCount(int dir) -Get the number of adjacent areas in the given direction +Get the number of adjacent areas in the given direction. GetAttributes int GetAttributes() -Get area attribute bits +Get area attribute bits. GetAvoidanceObstacleHeight float GetAvoidanceObstacleHeight() -Returns the maximum height of the obstruction above the ground +Returns the maximum height of the obstruction above the ground. GetCenter Vector GetCenter() -Get center origin of area +Get center origin of area. GetCorner Vector GetCorner(int dir) -Get corner origin of area +Get corner origin of area. GetDistanceSquaredToPoint float GetDistanceSquaredToPoint(Vector pos) -Return shortest distance between point and this area +Return shortest distance between point and this area. GetDoor handle GetDoor() -Returns the door entity above the area +Returns the door entity above the area. GetElevator handle GetElevator() -Returns the elevator if in an elevator's path +Returns the elevator if in an elevator's path. GetElevatorAreas void GetElevatorAreas(handle table) -Fills table with a collection of areas reachable via elevator from this area +Fills table with a collection of areas reachable via elevator from this area. GetID int GetID() @@ -1776,71 +1904,71 @@ Get area ID. GetIncomingConnections void GetIncomingConnections(int dir, handle table) -Fills a passed in table with areas connected TO this area by a ONE-WAY link (ie: we have no connection back to them) +Fills a passed in table with areas connected TO this area by a ONE-WAY link (ie: we have no connection back to them). GetParent handle GetParent() -Returns the area just prior to this one in the search path +Returns the area just prior to this one in the search path. GetParentHow int GetParentHow() -Returns how we get from parent to us +Returns how we get from parent to us. GetPlaceName string GetPlaceName() -Get place name +Get place name if it exists, null otherwise. GetPlayerCount int GetPlayerCount(int team) -Return number of players of given team currently within this area (team of zero means any/all) +Return number of players of given team currently within this area (team of zero means any/all). GetRandomAdjacentArea handle GetRandomAdjacentArea(int dir) -Return a random adjacent area in the given direction +Return a random adjacent area in the given direction. GetSizeX float GetSizeX() -Return the area size along the X axis +Return the area size along the X axis. GetSizeY float GetSizeY() -Return the area size along the Y axis +Return the area size along the Y axis. GetTravelDistanceToBombTarget float GetTravelDistanceToBombTarget() -Gets the travel distance to the MvM bomb target +Gets the travel distance to the MvM bomb target. GetZ float GetZ(Vector pos) Return Z of area at (x,y) of 'pos' HasAttributeTF -bool HasAttributeTF(int) -Has TF-specific area attribute bits +bool HasAttributeTF(int bits) +Has TF-specific area attribute bits of the given ones. HasAttributes -bool HasAttributes(int) -Has area attribute bits +bool HasAttributes(int bits) +Has area attribute bits of the given ones. HasAvoidanceObstacle bool HasAvoidanceObstacle(float maxheight) Returns true if there's a large, immobile object obstructing this area IsBlocked -bool IsBlocked(int team, bool) -Return true if team is blocked in this area +bool IsBlocked(int team, bool affectsFlow) +Return true if team is blocked in this area. IsBottleneck bool IsBottleneck() -Returns true if area is a bottleneck +Returns true if area is a bottleneck. (tiny narrow areas with only one path) IsCompletelyVisibleToTeam bool IsCompletelyVisibleToTeam(int team) -Return true if given area is completely visible from somewhere in this area by someone on the team +Return true if given area is completely visible from somewhere in this area by someone on the team. IsConnected bool IsConnected(handle area, int dir) -Return true if given area is connected in given direction +Return true if this area is connected to other area in given direction. (If you set direction to -1 or 4, it will automatically check all directions for a connection). IsCoplanar bool IsCoplanar(handle area) @@ -1848,39 +1976,39 @@ Return true if this area and given area are approximately co-planar IsDamaging bool IsDamaging() -Return true if continuous damage (ie: fire) is in this area +Return true if this area is marked to have continuous damage. IsDegenerate bool IsDegenerate() -Return true if this area is badly formed +Return true if this area is badly formed. IsEdge -bool IsEdge(int dir) -Return true if there are no bi-directional links on the given side +bool IsEdge(ENavDirType dir) +Return true if there are no bi-directional links on the given side. IsFlat bool IsFlat() -Return true if this area is approximately flat +Return true if this area is approximately flat. IsOverlapping bool IsOverlapping(handle area) -Return true if 'area' overlaps our 2D extents +Return true if 'area' overlaps our 2D extents. IsOverlappingOrigin bool IsOverlappingOrigin(Vector pos, float tolerance) -Return true if 'pos' is within 2D extents of area +Return true if 'pos' is within 2D extents of area. IsPotentiallyVisibleToTeam bool IsPotentiallyVisibleToTeam(int team) -Return true if any portion of this area is visible to anyone on the given team +Return true if any portion of this area is visible to anyone on the given team. IsReachableByTeam -bool IsReachableByTeam(int) +bool IsReachableByTeam(int team) Is this area reachable by the given team? IsRoughlySquare bool IsRoughlySquare() -Return true if this area is approximately square +Return true if this area is approximately square. IsTFMarked bool IsTFMarked() @@ -1888,47 +2016,47 @@ Is this nav area marked with the current marking scope? IsUnderwater bool IsUnderwater() -Return true if area is underwater +Return true if area is underwater. IsValidForWanderingPopulation bool IsValidForWanderingPopulation() -Returns true if area is valid for wandering population +Returns true if area is valid for wandering population. IsVisible bool IsVisible(Vector point) -Return true if area is visible from the given eyepoint +Return true if area is visible from the given eyepoint. MarkAsBlocked void MarkAsBlocked(int team) -Mark this area as blocked for team +Mark this area as blocked for team. MarkAsDamaging void MarkAsDamaging(float duration) -Mark this area is damaging for the next 'duration' seconds +Mark this area is damaging for the next 'duration' seconds. MarkObstacleToAvoid void MarkObstacleToAvoid(float height) -Marks the obstructed status of the nav area +Marks the obstructed status of the nav area. RemoveAttributes -void RemoveAttributes(int) -Removes area attribute bits +void RemoveAttributes(int bits) +Removes area attribute bits. RemoveOrthogonalConnections -void RemoveOrthogonalConnections(int dir) -Removes all connections in directions to left and right of specified direction +void RemoveOrthogonalConnections(ENavDirType dir) +Removes all connections in directions to left and right of specified direction. SetAttributeTF -void SetAttributeTF(int) -Set TF-specific area attributes +void SetAttributeTF(int bits) +Set TF-specific area attributes. SetAttributes -void SetAttributes(int) -Set area attribute bits +void SetAttributes(int bits) +Set area attribute bits. SetPlaceName void SetPlaceName(string name) -Set place name +Set place name. If you pass null, the place name will be set to nothing. TFMark void TFMark() @@ -1936,7 +2064,7 @@ Mark this nav area with the current marking scope. UnblockArea void UnblockArea() -Unblocks this area +Unblocks this area. FindNavAreaAlongRay handle FindNavAreaAlongRay(Vector startpos, Vector endpos, handle ignoreAreaID) @@ -1963,7 +2091,7 @@ int GetNavAreaCount() return total number of nav areas GetNavAreasFromBuildPath -bool GetNavAreasFromBuildPath(CTFNavArea startArea, CTFNavArea endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers, handle table) +bool GetNavAreasFromBuildPath(handle startArea, handle endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers, handle table) Fills the table with areas from a path. Returns whether a path was found. If 'endArea' is NULL, will compute a path as close as possible to 'goalPos'. GetNavAreasInRadius @@ -1983,11 +2111,11 @@ void GetObstructingEntities(handle table) fills a passed in table of all obstructing entities NavAreaBuildPath -bool NavAreaBuildPath(CTFNavArea startArea, CTFNavArea endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers) +bool NavAreaBuildPath(handle startArea, handle endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers) returns true if a path exists NavAreaTravelDistance -float NavAreaTravelDistance(TFNavArea startArea, CTFNavArea endArea, float flMaxPathLength) +float NavAreaTravelDistance(handle startArea, handle endArea, float flMaxPathLength) compute distance between two areas. Return -1 if can't reach 'endArea' from 'startArea' RegisterAvoidanceObstacle @@ -2179,11 +2307,11 @@ void ReleaseKeyValues() Releases the contents of the instance. GetPlayerSpeechDuration -float GetPlayerSpeechDuration(int) +float GetPlayerSpeechDuration(int playerIndex) Returns the number of seconds the player has been continuously speaking. IsPlayerSpeaking -bool IsPlayerSpeaking(int) +bool IsPlayerSpeaking(int playerIndex) Returns whether the player specified is speaking. SpawnEntity @@ -2191,16 +2319,16 @@ void SpawnEntity() Create an entity at the location of the maker SpawnEntityAtEntityOrigin -void SpawnEntityAtEntityOrigin(handle) +void SpawnEntityAtEntityOrigin(handle entity) Create an entity at the location of a specified entity instance SpawnEntityAtLocation -void SpawnEntityAtLocation(Vector, Vector) +void SpawnEntityAtLocation(Vector origin, Vector orientation) Create an entity at a specified location and orientaton, orientation is Euler angle in degrees (pitch, yaw, roll) SpawnEntityAtNamedEntityOrigin -void SpawnEntityAtNamedEntityOrigin(string) -Create an entity at the location of a named entity +void SpawnEntityAtNamedEntityOrigin(string targetname) +Create an entity at the location of a named entity. If multiple entities have the same name, only the one with the lowest entity index will be targeted. PreSpawnInstance table PreSpawnInstance(string entityClass, string entityName) @@ -2211,19 +2339,19 @@ void PostSpawn(table entities) Called after the entities are spawned. A table with the handles of the spawned entities indexed by name is passed to the function. Could use this to connect outputs or do whatever needs to be done after the entity was created. GetFuturePosition -Vector GetFuturePosition(float, float) -Get a position on the track x seconds in the future +Vector GetFuturePosition(float x, float speed) +Get a position on the track X seconds in the future. AddTemplate -void AddTemplate(string, handle) +void AddTemplate(string, table) Add an entity to the template spawner SetGroupSpawnTables -void SetGroupSpawnTables(handle, handle) +void SetGroupSpawnTables(table) Cache the group spawn tables AddBroadcastTeamTarget -void AddBroadcastTeamTarget(int) +void AddBroadcastTeamTarget(int index) Adds a team (by index) to the broadcast list EstimateLength @@ -2231,7 +2359,7 @@ float EstimateLength() Returns length of this scene in seconds. FindNamedEntity -handle FindNamedEntity(string) +handle FindNamedEntity(string reference) given an entity reference, such as !target, get actual entity from scene object IsPaused @@ -2243,63 +2371,75 @@ bool IsPlayingBack() If this scene is currently playing. LoadSceneFromString -bool LoadSceneFromString(string, string) +bool LoadSceneFromString(string sceneName, string scene) given a dummy scene name and a vcd string, load the scene RemoveBroadcastTeamTarget -void RemoveBroadcastTeamTarget(int) +void RemoveBroadcastTeamTarget(int index) Removes a team (by index) from the broadcast list -Call -Call() - - -chain -chain() - +CCallChainer +CCallChainer(string functionPrefix, table scope = null) +Creates a CCallChainer object that'll collect functions that have a matching prefix in the given scope. PostScriptExecute -PostScriptExecute() +void PostScriptExecute() +Search for all non-native functions with matching prefixes, then push them into the chains table. +Call +bool Call(string event, any ...) +Find an unprefixed function name in the chains table and call it with the given arguments. -prefix -prefix() +chains +chains +Contains names of unprefixed functions, each with an array of functions to call. +prefix +prefix +Prefix that functions should have to be added into the chains table. Set by the constructor. scope -scope() - - -Call -Call() +scope +If set, seek functions in this scope instead. Set by the constructor. +CSimpleCallChainer +CSimpleCallChainer(string functionPrefix, table scope = null, exactMatch = false) +Creates a CSimpleCallChainer object that'll collect functions that have a matching prefix in the given scope, unless it seek for an exact name match. -chains -chains() +PostScriptExecute +void PostScriptExecute() +Begin searching for all non-native functions with matching prefixes, then push them into the chain array. +Call +bool Call(any ...) +Call all functions inside the chain array with the given arguments. -PostScriptExecute -PostScriptExecute() +chain +chain +All functions to be called by the Call() method. +exactMatch +exactMatch +If set, names of non-native functions and prefix must be an exact match. Set by the constructor. prefix -prefix() - +prefix +Prefix that functions should have to be added into the chain array. Set by the constructor. scope -scope() - +scope +If set, seek functions in this scope instead. Set by the constructor. ClearImmobileStatus void ClearImmobileStatus() Clear immobile status FlagForUpdate -void FlagForUpdate(bool) +void FlagForUpdate(bool toggle) Flag this bot for update GetBodyInterface -handle GetBodyInterface() +INextBotComponent GetBodyInterface() Get this bot's body interface GetBotId @@ -2315,11 +2455,11 @@ float GetImmobileSpeedThreshold() Return units/second below which this actor is considered immobile GetIntentionInterface -handle GetIntentionInterface() +INextBotComponent GetIntentionInterface() Get this bot's intention interface GetLocomotionInterface -handle GetLocomotionInterface() +ILocomotion GetLocomotionInterface() Get this bot's locomotion interface GetTickLastUpdate @@ -2327,11 +2467,11 @@ int GetTickLastUpdate() Get last update tick GetVisionInterface -handle GetVisionInterface() +INextBotComponent GetVisionInterface() Get this bot's vision interface IsEnemy -bool IsEnemy(handle) +bool IsEnemy(handle entity) Return true if given entity is our enemy IsFlaggedForUpdate @@ -2339,44 +2479,52 @@ bool IsFlaggedForUpdate() Is this bot flagged for update IsFriend -bool IsFriend(handle) +bool IsFriend(handle entity) Return true if given entity is our friend IsImmobile bool IsImmobile() Return true if we haven't moved in awhile +ComputeUpdateInterval +bool ComputeUpdateInterval() +Recomputes the component update interval + +GetUpdateInterval +float GetUpdateInterval() +Returns the component update interval + +Reset +void Reset() +Resets the internal update state + Approach -void Approach(Vector, float) -The primary locomotive method. Sets the goal destination for the bot +void Approach(Vector goal, float goalWeight) +The primary locomotive method. Goal determines the destination position to move towards. goalWeight determines the priority of this path, you can set this to 1.0 generally speaking. ClearStuckStatus -void ClearStuckStatus(string) -Reset stuck status to un-stuck +void ClearStuckStatus(string reason) +Reset stuck status to un-stuck. Reason message is shown when debugging nextbots. ClimbUpToLedge -bool ClimbUpToLedge(Vector, Vector, handle) +bool ClimbUpToLedge(Vector goalPos, vector goalForward, handle obstacle) Initiate a jump to an adjacent high ledge, return false if climb can't start -ComputeUpdateInterval -ComputeUpdateInterval() - - DriveTo -void DriveTo(Vector) +void DriveTo(Vector pos) Move the bot to the precise given position immediately, updating internal state FaceTowards -void FaceTowards(Vector) +void FaceTowards(Vector target) Rotate body to face towards target FractionPotentialGap -float FractionPotentialGap(Vector, Vector) +float FractionPotentialGap(Vector from, Vector to) If the locomotor cannot jump over the gap, returns the fraction of the jumpable ray FractionPotentiallyTraversable -float FractionPotentiallyTraversable(Vector, Vector, bool) -If the locomotor could not move along the line given, returns the fraction of the walkable ray. +float FractionPotentiallyTraversable(Vector from, Vector to, bool immediately) +If the locomotor could not move along the line given, returns the fraction of the walkable ray. If immediately is true, breakables are considered non-traverseable GetDeathDropHeight float GetDeathDropHeight() @@ -2436,7 +2584,7 @@ Get maximum speed bot can reach, regardless of desired speed GetStepHeight float GetStepHeight() -If delta Z is greater than this, we have to jump to get up +If delta Z is lower than this, we can step up the surface (like a stair step), but if delta Z is greater than this, we have to jump to get up. GetStuckDuration float GetStuckDuration() @@ -2448,7 +2596,7 @@ Return Z component of unit normal of steepest traversable slope GetUpdateInterval GetUpdateInterval() - +Returns time between updates GetVelocity Vector GetVelocity() @@ -2459,8 +2607,8 @@ float GetWalkSpeed() Get maximum walking speed HasPotentialGap -float HasPotentialGap(Vector, Vector) -Return true if there is a possible gap that will need to be jumped over +float HasPotentialGap(Vector from, Vector to) +Checks if there is a possible gap that will need to be jumped over. Returns fraction of ray from 0 to 1. IsAbleToClimb bool IsAbleToClimb() @@ -2471,7 +2619,7 @@ bool IsAbleToJumpAcrossGaps() Return true if this bot can jump across gaps in its path IsAreaTraversable -bool IsAreaTraversable(handle) +bool IsAreaTraversable(handle area) Return true if given area can be used for navigation IsAttemptingToMove @@ -2487,12 +2635,12 @@ bool IsClimbingUpToLedge() Is climbing up to a high ledge IsEntityTraversable -bool IsEntityTraversable(handle, bool) -Return true if the entity handle is traversable +bool IsEntityTraversable(handle entity, bool immediately) +Return true if the entity handle is traversable. If immediately is true, breakables are considered non-traverseable IsGap -bool IsGap(Vector, Vector) -Return true if there is a gap here when moving in the given direction +bool IsGap(Vector pos, Vector forward) +Return true if there is a gap at this position. IsJumpingAcrossGap bool IsJumpingAcrossGap() @@ -2503,8 +2651,8 @@ bool IsOnGround() Return true if standing on something IsPotentiallyTraversable -float IsPotentiallyTraversable(Vector, Vector, bool) -Return true if this locomotor could potentially move along the line given. +float IsPotentiallyTraversable(Vector from, Vector to, bool immediately) +Checks if this locomotor could potentially move along the line given. Returns fraction of trace result (1 = clear). If immediately is true, breakables are considered non-traverseable IsRunning bool IsRunning() @@ -2518,29 +2666,25 @@ IsStuck bool IsStuck() Return true if bot is stuck. If the locomotor cannot make progress, it becomes stuck and can only leave this stuck state by successfully movingand becoming un-stuck. -IsValid -IsValid() - - Jump void Jump() Initiate a simple undirected jump in the air JumpAcrossGap -void JumpAcrossGap(Vector, Vector) +void JumpAcrossGap(Vector goalPos, Vector goalForward) Initiate a jump across an empty volume of space to far side OnLandOnGround -void OnLandOnGround(handle) +void OnLandOnGround(handle ground) Manually run the OnLandOnGround callback. Typically invoked when bot lands on the ground after being in the air OnLeaveGround -void OnLeaveGround(handle) +void OnLeaveGround(handle ground) Manually run the OnLeaveGround callback. Typically invoked when bot leaves ground for any reason Reset Reset() - +Resets motion, stuck state, etc Run void Run() @@ -2562,22 +2706,6 @@ Walk void Walk() Set desired movement speed to walking -ComputeUpdateInterval -bool ComputeUpdateInterval() -Recomputes the component update interval - -GetUpdateInterval -float GetUpdateInterval() -Returns the component update interval - -IsValid -IsValid() - - -Reset -void Reset() -Resets the internal update state - Begin Begin() @@ -2594,32 +2722,36 @@ HookRootMetamethod HookRootMetamethod() -Log -Log() +UnhookRootMetamethod +UnhookRootMetamethod() -m_bindNamesStack -m_bindNamesStack() +RemoveDelegation +RemoveDelegation() -m_fixupSet -m_fixupSet() +Resolve +Resolve() -m_targetTable -m_targetTable() +m_bindNamesStack +m_bindNamesStack -RemoveDelegation -RemoveDelegation() +m_fixupSet +m_fixupSet -Resolve -Resolve() +m_log +m_log -UnhookRootMetamethod -UnhookRootMetamethod() +m_logIndent +m_logIndent + + +m_targetTable +m_targetTable regexp @@ -2627,7 +2759,7 @@ regexp() capture -table capture(str, start) +table capture(str, [start]) Returns an array of tables containing two indexes ("begin" and "end") of the first match of the regular expression in the string str. An array entry is created for each captured sub expressions. If no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string. match @@ -2635,13 +2767,17 @@ bool match(str) Returns a true if the regular expression matches the string str, otherwise returns false. search -table search(str, start) +table search(str, [start]) Returns a table containing two indexes ("begin" and "end") of the first match of the regular expression in the string st, otherwise if no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string. subexpcount subexpcount() +Vector +Vector(float x = 0, float y = 0, float z = 0) +Creates a new vector with the specified Cartesian coordiantes. + Cross float Cross(Vector factor) The vector product of two vectors. Returns a vector orthogonal to the input vectors. @@ -2682,52 +2818,52 @@ tostring string tostring() Returns a human-readable string. -constructor -constructor() - +QAngle +QAngle(float pitch = 0, float yaw = 0, float roll = 0) +Creates a new QAngle. Forward -Forward() - +Vector Forward() +Returns the Forward Vector of the angles. Left -Left() - +Vector Left() +Returns the left Vector of the angles. Pitch -Pitch() - +float Pitch() +Returns the pitch angle in degrees. Roll -Roll() - +float Roll() +Returns the roll angle in degrees. ToKVString -ToKVString() - +string ToKVString() +Returns a string with the values separated by one space. ToQuat -ToQuat() - +Quaternion ToQuat() +Returns a quaternion representation of the orientation. Up -Up() - +Vector Up() +Returns the Up Vector of the angles. Yaw -Yaw() - +float Yaw() +Returns the yaw angle in degrees. Vector2D -Vector2D(float, float) +Vector2D(float x, float y) Creates a new 2D vector with the specified Cartesian coordiantes. Vector4D -Vector4D(float, float, float, float) +Vector4D(float x, float y, float z, float w) Creates a new 4D vector with the specified Cartesian coordiantes. Dot -float Dot(Vector) +float Dot(VectorXD factor) The scalar product of two vectors. Length @@ -2752,7 +2888,7 @@ Creates a new identity quaternion. Quaternion Quaternion(float x, float y, float z, float w) -Creates a new quaternion of the form w + x i + y j + z k. +Creates a new quaternion of the form w + xi + yj + zk. Dot float Dot(Quaternion factor) @@ -2763,7 +2899,7 @@ Quaternion Invert() Returns a quaternion with the complimentary rotation. Norm -Quaternion Norm() +float Norm() Normalizes the 4D vector length. SetPitchYawRoll @@ -2780,7 +2916,7 @@ Returns the angles resulting from the rotation. AddThinkToEnt void AddThinkToEnt(handle entity, string FuncName) -Sets a function in the entity's script to rerun by itself constantly. Pass null as the function name to remove a think function. +Sets a function in the entity's script to rerun by itself constantly. Pass null as the function name to remove a think function. The default think interval is 0.1s, unless overridden by returning a different time interval in seconds in the think function AddToScriptHelp AddToScriptHelp() @@ -2795,23 +2931,19 @@ bool ArePlayersInHell() Assert -void Assert(bool value, string optional message) +void Assert(bool value, string optional_message) Test value and if not true, throws exception, optionally with message. -BeginScriptDebug -BeginScriptDebug() - - ClearGameEventCallbacks void ClearGameEventCallbacks() Empties the tables of game event callback functions. CreateProp -handle CreateProp(string, Vector, string, int) -Create a physics prop +handle CreateProp(string classname, Vector origin, string model_name, int activity) +Create a prop CreateSceneEntity -handle CreateSceneEntity(string) +handle CreateSceneEntity(string scene) Create a scene entity to play the specified scene. developer @@ -2819,7 +2951,7 @@ int developer() The current level of the developer console variable. DispatchParticleEffect -void DispatchParticleEffect(string, Vector, Vector) +void DispatchParticleEffect(string name, Vector origin, Vector angles) Dispatches a one-off particle system Document @@ -2840,15 +2972,19 @@ Wrapper for DoIncludeScript EmitAmbientSoundOn void EmitAmbientSoundOn(string soundName, float volume, int soundlevel, int pitch, handle entity) -Play named sound on an entity using configurations similar to ambient_generic. +Play named sound on an entity using configurations similar to ambient_generic. Soundlevel is in decibels. StopAmbientSoundOn void StopAmbientSoundOn(string soundName, handle entity) Stop named sound on an entity using configurations similar to ambient_generic. +EmitSoundEx +void EmitSoundEx(handle table) +Play a sound. Takes in a script table of params: sound_name, channel, volume, sound_level, flags, pitch, special_dsp, origin, delay, sound_time, entity, speaker_entity, filter_type, filter_param. All parameters are optional except sound_name. See the main page for more details. + EmitSoundOn void EmitSoundOn(string soundScript, handle entity) -Play named sound on an entity. +Play named sound on an entity. Legacy only, use EmitSoundEx StopSoundOn void StopSoundOn(string soundScript, handle entity) @@ -2856,18 +2992,14 @@ Stop named sound on an entity. EmitSoundOnClient void EmitSoundOnClient(string soundScript, handle player) -Play named sound only on the client for the specified player. - -EndScriptDebug -EndScriptDebug() - +Play named sound only on the client for the specified player. NOTE: This only supports soundscripts. Legacy only, use EmitSoundEx. EntFire void EntFire(string target, string action, string value = null, float delay = 0, handle activator = null) -Wrapper for DoEntFire() that setsactivator to null, but has nocallerparam. +Wrapper for DoEntFire() that setsactivator to null, but has no caller param. EntFireByHandle -void EntFireByHandle(handle, string, string, float, handle, handle) +void EntFireByHandle(handle entity, string action, string value, float delay, handle activator, handle caller) Generate and entity i/o event. First parameter is an entity instance. EntIndexToHScript @@ -2876,7 +3008,7 @@ Turn an entity index integer to an HScript representing that entity's script ins FileToString string FileToString(string file) -Reads a string from file. Returns the string from the file, null if no file or file is greater than 16384 bytes. The game will crash to desktop if the file is exactly 16384 bytes. +Reads a string from file located in the game's scriptdata folder. Returns the string from the file, null if no file or file is greater than 16384 bytes. FindCircularReference FindCircularReference() @@ -2887,11 +3019,11 @@ FindCircularReferences() FireGameEvent -bool FireGameEvent(string, handle) +bool FireGameEvent(string name, handle table) Fire a game event to a listening callback function in script. Parameters are passed in a squirrel table. FireScriptHook -bool FireScriptHook(string, handle) +bool FireScriptHook(string name, handle table) Fire a script hoook to a listening callback function in script. Parameters are passed in a squirrel table. FireScriptEvent @@ -2899,11 +3031,11 @@ void FireScriptEvent(string event, table params) Wrapper for __RunEventCallbacks() ForceEnableUpgrades -void ForceEnableUpgrades(int) +void ForceEnableUpgrades(int state) Whether to force on MvM-styled upgrades on/off. 0 -> default, 1 -> force off, 2 -> force on ForceEscortPushLogic -void ForceEscortPushLogic(int) +void ForceEscortPushLogic(int state) Forces payload pushing logic. 0 -> default, 1 -> force off, 2 -> force on FlagsMayBeCapped @@ -2927,7 +3059,7 @@ bool GameModeUsesUpgrades() Does the current gamemode have upgrades? GetClassLimit -int GetClassLimit(int) +int GetClassLimit(int class) Get class limit for class. See Constants.ETFClass GetDeveloperLevel @@ -2943,7 +3075,7 @@ float GetFriction(handle player) Returns the Friction on a player entity, meaningless if not a player GetFunctionSignature -GetFunctionSignature() +string GetFunctionSignature(function func, string prefix) GetGravityMultiplier @@ -2972,14 +3104,14 @@ bool GetOvertimeAllowedForCTF() GetPhysAngularVelocity Vector GetPhysAngularVelocity(handle entity) -Returns the Angular velocity of the entity. +Returns the Angular velocity of the entity. Deprecated, use the GetPhysAngularVelocity method on the entity instead. GetPhysVelocity Vector GetPhysVelocity(handle entity) -Returns the velocity of the entity. +Returns the velocity of the entity. Deprecated, use the GetPhysVelocity method on the entity instead. GetPlayerFromUserID -handle GetPlayerFromUserID(int ID) +handle GetPlayerFromUserID(int userid) Given a user id, return the entity, or null. GetRoundState @@ -2987,8 +3119,8 @@ int GetRoundState() Get current round state. See Constants.ERoundState GetSoundDuration -float GetSoundDuration(string soundname, string actormodel) -Returns float dur +float GetSoundDuration(string soundname, string actormodelname) +Returns float duration of the sound. Actor model name is optional and can be left null. GetStopWatchState int GetStopWatchState() @@ -3004,7 +3136,7 @@ bool HaveStopWatchWinner() InMatchStartCountdown bool InMatchStartCountdown() -Are we in the pre-match state? +Are we in the pre-match/setup state? InOvertime bool InOvertime() @@ -3115,11 +3247,11 @@ bool IsWeakref() LocalTime -void LocalTime(table) +void LocalTime(table out) Fills out a table with the local time (second, minute, hour, day, month, year, dayofweek, dayofyear, daylightsavings) MakeNamespace -MakeNamespace() +void MakeNamespace() MapHasMatchSummaryStage @@ -3130,6 +3262,10 @@ MatchmakingShouldUseStopwatchMode bool MatchmakingShouldUseStopwatchMode() +MaxClients +float MaxClients() +Get the current number of max clients set by the maxplayers command. + PickupObject void PickupObject(handle player, handle entity) Object from world is put into the "Held" slot of the player. Warning: it will smoothly interpolate from where it is to the players hand - which is a bit goofy if it is on other side of level. @@ -3139,7 +3275,7 @@ CBasePlayer PlayerInstanceFromIndex(int index) Get a script handle of a player using the player index. PlayerReadyStatus_ArePlayersOnTeamReady -bool PlayerReadyStatus_ArePlayersOnTeamReady(int) +bool PlayerReadyStatus_ArePlayersOnTeamReady(int team) PlayerReadyStatus_HaveMinPlayersToEnable @@ -3160,19 +3296,23 @@ Are points able to be captured? PrecacheEntityFromTable bool PrecacheEntityFromTable(table keyvalues) -Precache an entity from KeyValues in a table; useful for entenv_shake. +Precache an entity from KeyValues in a table. Internally this function creates the entity, fire DispatchSpawn and removes it instantly. PrecacheModel int PrecacheModel(string filename) Precache a model and return index of the model. +PrecacheScriptSound +bool PrecacheScriptSound(string soundName) +Preache a soundscript. + PrecacheSound void PrecacheSound(string soundName) -Precache a sound. +Precache a raw sound. PrintHelp PrintHelp() - +Equivalent to running script_help command. RandomFloat float RandomFloat(float min, float max) @@ -3191,11 +3331,11 @@ void RegisterScriptGameEventListener(string eventName) Register as a listener for a game event from script. It's what __CollectGameEventCallbacks() uses to register event callbacks to the C++ code. RegisterScriptHookListener -void RegisterScriptHookListener(string) +void RegisterScriptHookListener(string name) Register as a listener for a script hook from script. RetrieveNativeSignature -RetrieveNativeSignature() +string RetrieveNativeSignature(function func) RotateOrientation @@ -3208,7 +3348,7 @@ Rotate the input Vector around an origin. ScreenFade void ScreenFade(handle player, int red, int green, int blue, int alpha, float fadeTime, float fadeHold, int flags) -Start a customisable screenfade. +Start a customisable screenfade. If no player is specified, the fade will apply to all players. ScreenShake void ScreenShake(Vector vecCenter, float flAmplitude, float flFrequency, float flDuration, float flRadius, int eCommand, bool bAirShake) @@ -3219,16 +3359,16 @@ bool ScriptHooksEnabled() Returns whether script hooks are currently enabled. SendGlobalGameEvent -bool SendGlobalGameEvent(string, handle) +bool SendGlobalGameEvent(string event_name, handle params) Sends a real game event to everything. Parameters are passed in a squirrel table. SendToConsole void SendToConsole(string command) -Send a string to the console as a command. Note: this obeys the behavior of the sv_allow_point_servercommand convar. By default, this command will do nothing unless the server has this command to set to "always" +Issues a command to the local client, as if they typed in the command in their console. Does nothing on dedicated servers. SendToServerConsole void SendToServerConsole(string command) -Send a string that gets executed on the server as a ServerCommand. +Issues a command to the server, as if typed in the console. SendToConsoleServer void SendToConsoleServer(string command) @@ -3255,8 +3395,8 @@ void SetPlayersInHell(bool state) SetSkyboxTexture -void SetSkyboxTexture(string) -Sets the current skybox texture +void SetSkyboxTexture(string texture) +Sets the current skybox texture. The path is relative to "materials/skybox/". Only the main name of a skybox texture is needed, for example "sky_gravel_01". SetUsingSpells void SetUsingSpells(bool state) @@ -3267,24 +3407,24 @@ handle SpawnEntityFromTable(string name, handle keyvalues) Spawn entity from KeyValues in table - 'name' is entity name, rest are KeyValues for spawn. SpawnEntityGroupFromTable -bool SpawnEntityGroupFromTable(handle entityGroup) -Hierarchically spawn an entity group from a set of spawn tables. See L4D2_EMS/Appendix:_Spawning. +bool SpawnEntityGroupFromTable(handle groups) +Hierarchically spawn an entity group from a set of spawn tables. This computes a spawn order for entities so that parenting is resolved correctly. StringToFile void StringToFile(string file, string string) -Stores a string as a file. +Stores a string as a file, located in the game's scriptdata folder. Time float Time() Get the current server time TraceLine -float TraceLine(Vector, Vector, handle) -given 2 points & ent to ignore, return fraction along line that hits world or models +float TraceLine(Vector start, Vector end, handle ignore) +Return fraction along line that hits world or models TraceLineEx bool TraceLineEx(table traceTable) -Input Table: start, end, mask, ignore. Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props +Input Table: start, end, mask (optional), ignore (optional). Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props. Returns false if start or end is not specified. TraceLinePlayersIncluded float TraceLinePlayersIncluded(Vector, Vector, handle) @@ -3292,7 +3432,7 @@ given 2 points & ent to ignore, return fraction along line that hits world, mode TraceHull bool TraceHull(table traceTable) -Input Table: start, end, hullmin, hullmax, mask, ignore. Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props +Input Table: start, end, hullmin, hullmax, mask (optional), ignore (optional). Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props. Returns false if start, end, hullmin or hullmax is not specified. UniqueString string UniqueString(string input) @@ -3319,7 +3459,7 @@ void __CollectEventCallbacks(scope, prefix, globalTableName, regFunc) Overloaded function. Its only used for this: __CollectEventCallbacks(scope, "OnGameEvent_", "GameEventCallbacks", ::RegisterScriptGameEventListener) __CollectGameEventCallbacks -void __CollectGameEventCallbacks(scope) +void __CollectGameEventCallbacks(table scope) Wrapper that registers callbacks for both OnGameEvent_x and OnScriptEvent_ functions. Done using the __CollectEventCallbacks function. __ReplaceClosures @@ -3339,8 +3479,8 @@ void __RunScriptHookCallbacks() ClientPrint -void ClientPrint(CBasePlayer player, int destination, string message) -Print a client message. If you pass null instead of a valid player, the message will be sent to all clients. +void ClientPrint(CBasePlayer player, EHudNotify destination, string message) +Print a client message. If you pass null instead of a valid player, the message will be sent to all clients. When printing to chat (HUD_PRINTTALK), the color of the text can be changed by inserting this sequence: \x07RRGGBB where RR GG BB is the hexadecimal format of the color. Transparency can be specified by a different sequence: \x08RRGGBBAA, where RR GG BB AA is the hexadecimal format of the color + alpha. All text following this sequence will be colored. Multiple sequences can be used in combination. If using color sequences, there MUST be a color sequence at the beginning of the string, or color codes won't work!. DebugDrawBox void DebugDrawBox(Vector origin, vector min, vector max, int r, int g, int b, int alpha, float duration) @@ -3380,7 +3520,7 @@ Draw text on the screen, starting on the position of origin. __DumpScope void __DumpScope(int indentation, handle scope) -Dumps contents of everything in the scope. +Dumps a scope's contents and expands all tables and arrays; this is what the ent_script_dump command uses. DumpObject void DumpObject(handle object) @@ -3390,6 +3530,10 @@ Msg void Msg(string message) Prints message to console without any line feed after. +printf +void printf(string format, args...) +Prints message to console with C style formatting. The line feed is not included. + printl void printl(string message) Prints message to console with a line feed after. @@ -3418,6 +3562,14 @@ callee function callee() Returns the currently running closure. +castf2i +int castf2i(float value) +Interprets the float's bytes as if it were a 32-bit integer representation + +casti2f +float casti2f(int value) +Interprets the integer's bytes as if it were a floating-point encoding + collectgarbage int collectgarbage() Runs the garbage collector and returns the number of reference cycles found(and deleted) This function only works on garbage collector builds. @@ -3472,7 +3624,7 @@ Sets the debug hook. seterrorhandler void seterrorhandler(function func) -Sets the runtime error handler . +Sets the runtime error handler. setroottable table setroottable(table roottable) @@ -3552,7 +3704,7 @@ void writen(num value, char dataType) abs abs(num x) -Returns x as integer unlike fabs() +Returns |x| as integer unlike fabs() acos acos(num x) @@ -3568,7 +3720,7 @@ Returns tan^-1(x) atan2 atan2(num y, num x) (!) -Returns the angle between the ray from the point (0, 0) through (x, y) and the positive x-axis, confined to (−PI, PI]. Note the order of the parameters x and y! +Returns the angle between the ray from the point (0, 0) through (x, y) and the positive x-axis, confined to (-PI, PI). Note the order of the parameters x and y! ceil ceil(num x) @@ -3584,11 +3736,11 @@ Returns exp(x) = e^x fabs fabs(num x) -Returns x as float unlike abs() +Returns |x| as float unlike abs() floor floor(num x) -Returns the largest integer that is x +Returns the largest integer that is <= x log log(num x) @@ -3600,7 +3752,7 @@ Returns log_10(x) pow pow(num x, num y) -Returns x_y +Returns x^y rand rand() @@ -3622,26 +3774,74 @@ tan tan(num x) Returns tan(x) +find +int find(string searchString, int startIndex = null) +Looks for the sub-string passed as its first parameter, starting at either the beginning of the string or at a specific character index if one is provided as a second parameter. If the sub-string is found, returns the index at which it first occurs, otherwise returns null. + +len +int len() +Returns the length of the string, ie. the number of characters it comprises. + +slice +string slice(int startIndex, int endIndex = null) +Creates a sub-string from a string. Copies characters from startIndex to endIndex. If endIndex is not specified, copies until the last character. If the provided end index is beyond the string, an exception is thrown. + +tofloat +float tofloat() +Returns float value represented by the string. Must only contain numeric characters and/or plus and minus symbols. An exception is thrown otherwise. + +tointeger +int tointeger() +Returns integer value represented by the string. Must only contain numeric characters. An exception is thrown otherwise. Hexadecimal notation is supported (i.e. 0xFF). If a hexadecimal string contains more than 10 characters, including the 0x, returns -1. + +tolower +string tolower() +Returns a new string with all upper-case characters converted to lower-case. + +toupper +string toupper() +Returns a new string with all lower-case characters converted to upper-case. + +endswith +bool endswith(string str, string cmp) +Returns true if the end of the string matches the comparison string. + +escape +string escape(string str) +Returns a string with backslashes before characters that need to be escaped: “ a b t n v f r \ ” ’ 0 xNN + format -format(string, args...) -Returns a formatted string +format(string format, args...) +Returns a formatted string. Same rules as the standard C functions (except * is not supported). lstrip -lstrip(string) +lstrip(string str) Removes whitespace at the beginning of the given string rstrip -rstrip(string) +rstrip(string str) Removes whitespace at the end of the given string split -string split(string str, string separator') -Returns an array of strings split at each point where a separator character occurs in str. The separator is not returned as part of any array element. the parameter separators is a string that specifies the characters as to be used for the splitting. +string split(string str, string separator, bool skipempty = false) +Returns an array of strings split at each point where a separator character occurs in str. The separator is not returned as part of any array element. the parameter separators is a string that specifies the characters as to be used for the splitting. If skipempty is true, empty strings are not added to array. + +startswith +bool startswith(string str, string cmp) +Returns true if the beginning of the string matches the comparison string. strip -strip(string) +strip(string str) Removes whitespace at the beginning and end of the given string +BeginScriptDebug +void BeginScriptDebug() + + +EndScriptDebug +void EndScriptDebug() + + ScriptDebugAddTextFilter void ScriptDebugAddTextFilter() @@ -3746,6 +3946,10 @@ __VScriptServerDebugHook __VScriptServerDebugHook() +TF_BOT_TYPE +TF_BOT_TYPE +1337 + COLLISION_GROUP_NONE COLLISION_GROUP_NONE 0 @@ -3930,9 +4134,13 @@ kHoliday_Soldier kHoliday_Soldier 12 +kHoliday_Summer +kHoliday_Summer +13 + kHolidayCount kHolidayCount -13 +14 HUD_PRINTNOTIFY HUD_PRINTNOTIFY @@ -4322,10 +4530,46 @@ GR_STATE_GAME_OVER GR_STATE_GAME_OVER 8 +GR_STATE_BONUS +GR_STATE_BONUS +9 + +GR_STATE_BETWEEN_RNDS +GR_STATE_BETWEEN_RNDS +10 + GR_NUM_ROUND_STATES GR_NUM_ROUND_STATES 11 +RECIPIENT_FILTER_DEFAULT +RECIPIENT_FILTER_DEFAULT +0 + +RECIPIENT_FILTER_PAS_ATTENUATION +RECIPIENT_FILTER_PAS_ATTENUATION +1 + +RECIPIENT_FILTER_PAS +RECIPIENT_FILTER_PAS +2 + +RECIPIENT_FILTER_PVS +RECIPIENT_FILTER_PVS +3 + +RECIPIENT_FILTER_SINGLE_PLAYER +RECIPIENT_FILTER_SINGLE_PLAYER +4 + +RECIPIENT_FILTER_GLOBAL +RECIPIENT_FILTER_GLOBAL +5 + +RECIPIENT_FILTER_TEAM +RECIPIENT_FILTER_TEAM +6 + SOLID_NONE SOLID_NONE 0 @@ -5002,6 +5246,10 @@ TF_COND_POWERUPMODE_DOMINANT TF_COND_POWERUPMODE_DOMINANT 129 +TF_COND_IMMUNE_TO_PUSHBACK +TF_COND_IMMUNE_TO_PUSHBACK +130 + TF_COND_INVALID TF_COND_INVALID -1 @@ -5380,7 +5628,7 @@ TF_TEAM_PVE_INVADERS_GIANTS TEAM_ANY TEAM_ANY --1 +-2 TEAM_INVALID TEAM_INVALID @@ -5426,9 +5674,13 @@ ConstantNamingConvention ConstantNamingConvention Constants are named as follows: F -> flags, E -> enums, (nothing) -> random values/constants +DIST_EPSILON +DIST_EPSILON +0.03125 + MAX_PLAYERS MAX_PLAYERS -33 +101 MAX_EDICTS MAX_EDICTS @@ -5990,14 +6242,14 @@ HIDEHUD_HEALTH HIDEHUD_HEALTH 8 -HIDEHUD_BITCOUNT -HIDEHUD_BITCOUNT -12 - HIDEHUD_PLAYERDEAD HIDEHUD_PLAYERDEAD 16 +HIDEHUD_BITCOUNT +HIDEHUD_BITCOUNT +17 + HIDEHUD_NEEDSUIT HIDEHUD_NEEDSUIT 32 @@ -6026,6 +6278,26 @@ HIDEHUD_BONUS_PROGRESS HIDEHUD_BONUS_PROGRESS 2048 +HIDEHUD_BUILDING_STATUS +HIDEHUD_BUILDING_STATUS +4096 + +HIDEHUD_CLOAK_AND_FEIGN +HIDEHUD_CLOAK_AND_FEIGN +8192 + +HIDEHUD_PIPES_AND_CHARGE +HIDEHUD_PIPES_AND_CHARGE +16384 + +HIDEHUD_METAL +HIDEHUD_METAL +32768 + +HIDEHUD_TARGET_ID +HIDEHUD_TARGET_ID +65536 + NAV_MESH_INVALID NAV_MESH_INVALID 0 @@ -6354,6 +6626,26 @@ SURF_HITBOX SURF_HITBOX 32768 +TAUNT_BASE_WEAPON +TAUNT_BASE_WEAPON +0 + +TAUNT_MISC_ITEM +TAUNT_MISC_ITEM +1 + +TAUNT_SHOW_ITEM +TAUNT_SHOW_ITEM +2 + +TAUNT_LONG +TAUNT_LONG +3 + +TAUNT_SPECIAL +TAUNT_SPECIAL +4 + REMOVE_ON_DEATH REMOVE_ON_DEATH 1 diff --git a/gen.py b/gen.py index 8b548d5..f55bb76 100755 --- a/gen.py +++ b/gen.py @@ -1,23 +1,35 @@ #!/usr/bin/env python3 -defs = open("defs.txt", "r") +defs = open("defs.txt", "r", encoding="utf-8") lines = defs.readlines() +defs.close() + functions = {} i = 0 mostRecentFunction = "" + for line in lines: text = line[0:-1] match ["function", "signature", "description", "space"][i % 4]: case "function": mostRecentFunction = text - functions[mostRecentFunction] = {"function": text, "signature": "", "description": ""} + functions[mostRecentFunction] = { + "function": text, + "signature": "", + "description": "", + } case "signature": - if (functions[mostRecentFunction]["signature"] == ""): + if functions[mostRecentFunction]["signature"] == "": functions[mostRecentFunction]["signature"] = text case "description": - if (functions[mostRecentFunction]["description"] == ""): - functions[mostRecentFunction]["description"] = text.replace("\"", "\\\"") + if functions[mostRecentFunction]["description"] == "": + functions[mostRecentFunction]["description"] = text.replace( + "\\", "\\\\" + ) + functions[mostRecentFunction]["description"] = functions[ + mostRecentFunction + ]["description"].replace('"', '\\"') i += 1 defs.close() @@ -25,20 +37,19 @@ outputString = "{\n\t///// BEGIN TF2 VScript Snippets /////\n" sortedKeys = sorted(list(functions.keys())) for key in sortedKeys: - prefix, body = "", "" baseSignature = functions[key]["signature"] parenIndex = baseSignature.find("(") - if (parenIndex >= 0): + if parenIndex >= 0: prefix = baseSignature[0:parenIndex].split(" ")[-1] # We need to parse params - params = baseSignature[parenIndex+1:-1].split(", ") + params = baseSignature[parenIndex + 1 : -1].split(", ") body = prefix + "(" i = 1 - if (params[0] != ""): + if params[0] != "": for param in params: body += "${" + str(i) + ":" + param + "}" - if (i != len(params)): + if i != len(params): body += ", " i += 1 body += ")$0" @@ -46,6 +57,22 @@ # This is a constant prefix, body = baseSignature, baseSignature + "$0" - outputString += ("\t\"" + baseSignature + "\": {\n\t\t\"prefix\": \"" + prefix + "\",\n\t\t\"body\": [\n\t\t\t\"" + body + "\"\n\t\t],\n\t\t\"description\": \"" + functions[key]["description"] + "\"\n\t},\n") -outputString = outputString[:len(outputString)-2] + "\n\t///// END TF2 VScript Snippets /////\n}" -print(outputString, end="") + outputString += ( + '\t"' + + baseSignature + + '": {\n\t\t"prefix": "' + + prefix + + '",\n\t\t"body": [\n\t\t\t"' + + body + + '"\n\t\t],\n\t\t"description": "' + + functions[key]["description"] + + '"\n\t},\n' + ) +outputString = ( + outputString[: len(outputString) - 2] + + "\n\t///// END TF2 VScript Snippets /////\n}" +) + +outputFile = open("squirrel.json", "w") +outputFile.write(outputString) +outputFile.close() diff --git a/squirrel.json b/squirrel.json index dfdb6c6..39f083e 100644 --- a/squirrel.json +++ b/squirrel.json @@ -42,31 +42,31 @@ ], "description": "262144" }, - "void AddAttribute(string, float, float)": { + "void AddAttribute(string name, float value, float duration)": { "prefix": "AddAttribute", "body": [ - "AddAttribute(${1:string}, ${2:float}, ${3:float})$0" + "AddAttribute(${1:string name}, ${2:float value}, ${3:float duration})$0" ], - "description": "Add an attribute to the entity" + "description": "Add an attribute to the entity. Set duration to -1 for the attribute to be applied forever." }, - "void AddBotAttribute(int)": { + "void AddBotAttribute(int attribute)": { "prefix": "AddBotAttribute", "body": [ - "AddBotAttribute(${1:int})$0" + "AddBotAttribute(${1:int attribute})$0" ], "description": "Sets attribute flags on this TFBot" }, - "void AddBotTag(string)": { + "void AddBotTag(string tag)": { "prefix": "AddBotTag", "body": [ - "AddBotTag(${1:string})$0" + "AddBotTag(${1:string tag})$0" ], "description": "Adds a bot tag" }, - "void AddBroadcastTeamTarget(int)": { + "void AddBroadcastTeamTarget(int index)": { "prefix": "AddBroadcastTeamTarget", "body": [ - "AddBroadcastTeamTarget(${1:int})$0" + "AddBroadcastTeamTarget(${1:int index})$0" ], "description": "Adds a team (by index) to the broadcast list" }, @@ -84,26 +84,40 @@ ], "description": "" }, - "void AddCustomAttribute(string, float, float)": { + "void AddCurrency(int amount)": { + "prefix": "AddCurrency", + "body": [ + "AddCurrency(${1:int amount})$0" + ], + "description": "Kaching! Give the player some cash for game modes with upgrades, ie. MvM" + }, + "void AddCustomAttribute(string name, float value, float duration)": { "prefix": "AddCustomAttribute", "body": [ - "AddCustomAttribute(${1:string}, ${2:float}, ${3:float})$0" + "AddCustomAttribute(${1:string name}, ${2:float value}, ${3:float duration})$0" ], - "description": "Add a custom attribute to the player" + "description": "Add a custom attribute to the player. Set duration to -1 for the attribute to be applied forever." }, - "AddEFlags(int)": { + "void AddEFlags(int flags)": { "prefix": "AddEFlags", "body": [ - "AddEFlags(${1:int})$0" + "AddEFlags(${1:int flags})$0" ], - "description": "" + "description": "Adds the supplied flags to the Entity Flags in the entity. (m_iEFlags datamap). See Constants.FEntityEFlags." }, - "AddFlag(int)": { + "void AddFlag(int flags)": { "prefix": "AddFlag", "body": [ - "AddFlag(${1:int})$0" + "AddFlag(${1:int flags})$0" ], - "description": "" + "description": "Adds the supplied flags to another separate player-related entity flags system in the entity. (m_fFlags datamap). See Constants.FPlayer." + }, + "void AddHudHideFlags(int flags)": { + "prefix": "AddHudHideFlags", + "body": [ + "AddHudHideFlags(${1:int flags})$0" + ], + "description": "Hides a hud element based on Constants.FHideHUD" }, "void AddIncomingConnection(handle area, int dir)": { "prefix": "AddIncomingConnection", @@ -119,17 +133,17 @@ ], "description": "Adds a new output to the entity." }, - "AddSolidFlags(int)": { + "void AddSolidFlags(int flags)": { "prefix": "AddSolidFlags", "body": [ - "AddSolidFlags(${1:int})$0" + "AddSolidFlags(${1:int flags})$0" ], - "description": "" + "description": "Adds the supplied flags to the Solid Flags in the entity. (m_Collision.m_usSolidFlags datamap). See Constants.FSolid." }, - "void AddTemplate(string, handle)": { + "void AddTemplate(string, table)": { "prefix": "AddTemplate", "body": [ - "AddTemplate(${1:string}, ${2:handle})$0" + "AddTemplate(${1:string}, ${2:table})$0" ], "description": "Add an entity to the template spawner" }, @@ -138,7 +152,7 @@ "body": [ "AddThinkToEnt(${1:handle entity}, ${2:string FuncName})$0" ], - "description": "Sets a function in the entity's script to rerun by itself constantly. Pass null as the function name to remove a think function." + "description": "Sets a function in the entity's script to rerun by itself constantly. Pass null as the function name to remove a think function. The default think interval is 0.1s, unless overridden by returning a different time interval in seconds in the think function" }, "AddToScriptHelp()": { "prefix": "AddToScriptHelp", @@ -147,10 +161,10 @@ ], "description": "" }, - "void AddWeaponRestriction(int)": { + "void AddWeaponRestriction(int flags)": { "prefix": "AddWeaponRestriction", "body": [ - "AddWeaponRestriction(${1:int})$0" + "AddWeaponRestriction(${1:int flags})$0" ], "description": "Adds weapon restriction flags" }, @@ -161,33 +175,33 @@ ], "description": "" }, - "void ApplyAbsVelocityImpulse(Vector)": { + "void ApplyAbsVelocityImpulse(Vector impulse)": { "prefix": "ApplyAbsVelocityImpulse", "body": [ - "ApplyAbsVelocityImpulse(${1:Vector})$0" + "ApplyAbsVelocityImpulse(${1:Vector impulse})$0" ], - "description": "Apply a Velocity Impulse" + "description": "Apply a Velocity Impulse as a world space impulse vector. Works for most physics-based objects including dropped weapons and even dropped Sandviches." }, - "void ApplyLocalAngularVelocityImpulse(Vector)": { + "void ApplyLocalAngularVelocityImpulse(Vector impulse)": { "prefix": "ApplyLocalAngularVelocityImpulse", "body": [ - "ApplyLocalAngularVelocityImpulse(${1:Vector})$0" + "ApplyLocalAngularVelocityImpulse(${1:Vector impulse})$0" ], - "description": "Apply an Ang Velocity Impulse" + "description": "Apply an Angular Velocity Impulse in entity local space. The direction of the input vector is the rotation axis, and the length is the magnitude of the impulse." }, - "bool ApplyPunchImpulseX(float)": { + "bool ApplyPunchImpulseX(float impulse)": { "prefix": "ApplyPunchImpulseX", "body": [ - "ApplyPunchImpulseX(${1:float})$0" + "ApplyPunchImpulseX(${1:float impulse})$0" ], - "description": "" + "description": "Apply a view punch along the pitch angle. Used to flinch players when hit. If the player is a fully charged scoped-in sniper and the weapon has the aiming_no_flinch attribute, the punch will not apply. Returns true if the punch was applied." }, - "void Approach(Vector, float)": { + "void Approach(Vector goal, float goalWeight)": { "prefix": "Approach", "body": [ - "Approach(${1:Vector}, ${2:float})$0" + "Approach(${1:Vector goal}, ${2:float goalWeight})$0" ], - "description": "The primary locomotive method. Sets the goal destination for the bot" + "description": "The primary locomotive method. Goal determines the destination position to move towards. goalWeight determines the priority of this path, you can set this to 1.0 generally speaking." }, "bool ArePlayersInHell()": { "prefix": "ArePlayersInHell", @@ -196,10 +210,10 @@ ], "description": "" }, - "void Assert(bool value, string optional message)": { + "void Assert(bool value, string optional_message)": { "prefix": "Assert", "body": [ - "Assert(${1:bool value}, ${2:string optional message})$0" + "Assert(${1:bool value}, ${2:string optional_message})$0" ], "description": "Test value and if not true, throws exception, optionally with message." }, @@ -231,12 +245,12 @@ ], "description": "8388608" }, - "bool BecomeRagdollOnClient(Vector)": { + "bool BecomeRagdollOnClient(Vector impulse)": { "prefix": "BecomeRagdollOnClient", "body": [ - "BecomeRagdollOnClient(${1:Vector})$0" + "BecomeRagdollOnClient(${1:Vector impulse})$0" ], - "description": "Becomes a ragdoll with a force" + "description": "Acts like the BecomeRagdoll input, with the required impulse value applied as a force on the ragdoll. Does NOT spawn a prop_ragdoll or any other entity." }, "Begin()": { "prefix": "Begin", @@ -245,26 +259,33 @@ ], "description": "" }, - "BeginScriptDebug()": { + "void BeginScriptDebug()": { "prefix": "BeginScriptDebug", "body": [ "BeginScriptDebug()$0" ], "description": "" }, - "void BleedPlayer(float)": { + "void BleedPlayer(float duration)": { "prefix": "BleedPlayer", "body": [ - "BleedPlayer(${1:float})$0" + "BleedPlayer(${1:float duration})$0" ], - "description": "" + "description": "Make a player bleed for a set duration of time." }, - "void BleedPlayerEx(float, int, bool, int)": { + "void BleedPlayerEx(float duration, int damage, bool endless, int nCustomDamageType)": { "prefix": "BleedPlayerEx", "body": [ - "BleedPlayerEx(${1:float}, ${2:int}, ${3:bool}, ${4:int})$0" + "BleedPlayerEx(${1:float duration}, ${2:int damage}, ${3:bool endless}, ${4:int nCustomDamageType})$0" ], - "description": "" + "description": "Make a player bleed for a set duration of time, or forever, with specific damage per tick and damage_custom index." + }, + "CCallChainer(string functionPrefix, table scope = null)": { + "prefix": "CCallChainer", + "body": [ + "CCallChainer(${1:string functionPrefix}, ${2:table scope = null})$0" + ], + "description": "Creates a CCallChainer object that'll collect functions that have a matching prefix in the given scope." }, "COLLISION_GROUP_BREAKABLE_GLASS": { "prefix": "COLLISION_GROUP_BREAKABLE_GLASS", @@ -651,19 +672,26 @@ ], "description": "0" }, - "Call()": { + "CSimpleCallChainer(string functionPrefix, table scope = null, exactMatch = false)": { + "prefix": "CSimpleCallChainer", + "body": [ + "CSimpleCallChainer(${1:string functionPrefix}, ${2:table scope = null}, ${3:exactMatch = false})$0" + ], + "description": "Creates a CSimpleCallChainer object that'll collect functions that have a matching prefix in the given scope, unless it seek for an exact name match." + }, + "bool Call(any ...)": { "prefix": "Call", "body": [ - "Call()$0" + "Call(${1:any ...})$0" ], - "description": "" + "description": "Call all functions inside the chain array with the given arguments." }, "bool CanAirDash()": { "prefix": "CanAirDash", "body": [ "CanAirDash()$0" ], - "description": "" + "description": "Can the player air dash/double jump?" }, "bool CanBeDebuffed()": { "prefix": "CanBeDebuffed", @@ -698,7 +726,7 @@ "body": [ "CanGetWet()$0" ], - "description": "" + "description": "Can the player get wet by jarate/milk?" }, "bool CanJump()": { "prefix": "CanJump", @@ -714,6 +742,13 @@ ], "description": "Can the player move?" }, + "void CancelTaunt()": { + "prefix": "CancelTaunt", + "body": [ + "CancelTaunt()$0" + ], + "description": "Cancels any taunt in progress" + }, "void ClearAllBotAttributes()": { "prefix": "ClearAllBotAttributes", "body": [ @@ -742,12 +777,12 @@ ], "description": "Clear current focus" }, - "void ClearAttributeTF(int)": { + "void ClearAttributeTF(int bits)": { "prefix": "ClearAttributeTF", "body": [ - "ClearAttributeTF(${1:int})$0" + "ClearAttributeTF(${1:int bits})$0" ], - "description": "Clear TF-specific area attribute bits" + "description": "Clear TF-specific area attribute bits." }, "void ClearCustomModelRotation()": { "prefix": "ClearCustomModelRotation", @@ -756,12 +791,12 @@ ], "description": "" }, - "ClearFlags()": { + "void ClearFlags()": { "prefix": "ClearFlags", "body": [ "ClearFlags()$0" ], - "description": "" + "description": "Sets the player-related entity flags to 0 on an entity, clearing them." }, "void ClearGameEventCallbacks()": { "prefix": "ClearGameEventCallbacks", @@ -777,12 +812,12 @@ ], "description": "Clear immobile status" }, - "ClearSolidFlags()": { + "void ClearSolidFlags()": { "prefix": "ClearSolidFlags", "body": [ "ClearSolidFlags()$0" ], - "description": "" + "description": "Sets Solid Flags to 0 on an entity, clearing them." }, "void ClearSpells()": { "prefix": "ClearSpells", @@ -791,24 +826,31 @@ ], "description": "" }, - "void ClearStuckStatus(string)": { + "void ClearStuckStatus(string reason)": { "prefix": "ClearStuckStatus", "body": [ - "ClearStuckStatus(${1:string})$0" + "ClearStuckStatus(${1:string reason})$0" ], - "description": "Reset stuck status to un-stuck" + "description": "Reset stuck status to un-stuck. Reason message is shown when debugging nextbots." }, - "void ClientPrint(CBasePlayer player, int destination, string message)": { + "void ClearTauntAttack()": { + "prefix": "ClearTauntAttack", + "body": [ + "ClearTauntAttack()$0" + ], + "description": "Stops active taunt from damaging or cancels Rock-Paper-Scissors result" + }, + "void ClientPrint(CBasePlayer player, EHudNotify destination, string message)": { "prefix": "ClientPrint", "body": [ - "ClientPrint(${1:CBasePlayer player}, ${2:int destination}, ${3:string message})$0" + "ClientPrint(${1:CBasePlayer player}, ${2:EHudNotify destination}, ${3:string message})$0" ], - "description": "Print a client message. If you pass null instead of a valid player, the message will be sent to all clients." + "description": "Print a client message. If you pass null instead of a valid player, the message will be sent to all clients. When printing to chat (HUD_PRINTTALK), the color of the text can be changed by inserting this sequence: \\x07RRGGBB where RR GG BB is the hexadecimal format of the color. Transparency can be specified by a different sequence: \\x08RRGGBBAA, where RR GG BB AA is the hexadecimal format of the color + alpha. All text following this sequence will be colored. Multiple sequences can be used in combination. If using color sequences, there MUST be a color sequence at the beginning of the string, or color codes won't work!." }, - "bool ClimbUpToLedge(Vector, Vector, handle)": { + "bool ClimbUpToLedge(Vector goalPos, vector goalForward, handle obstacle)": { "prefix": "ClimbUpToLedge", "body": [ - "ClimbUpToLedge(${1:Vector}, ${2:Vector}, ${3:handle})$0" + "ClimbUpToLedge(${1:Vector goalPos}, ${2:vector goalForward}, ${3:handle obstacle})$0" ], "description": "Initiate a jump to an adjacent high ledge, return false if climb can't start" }, @@ -826,10 +868,10 @@ ], "description": "Current ammo in clip2" }, - "Vector ComputeClosestPointInPortal(handle, int, Vector)": { + "Vector ComputeClosestPointInPortal(handle to, ENavDirType dir, Vector closePos)": { "prefix": "ComputeClosestPointInPortal", "body": [ - "ComputeClosestPointInPortal(${1:handle}, ${2:int}, ${3:Vector})$0" + "ComputeClosestPointInPortal(${1:handle to}, ${2:ENavDirType dir}, ${3:Vector closePos})$0" ], "description": "Compute closest point within the portal between to adjacent areas." }, @@ -838,7 +880,7 @@ "body": [ "ComputeDirection(${1:Vector point})$0" ], - "description": "Return direction from this area to the given point" + "description": "Return direction from this area to the given point." }, "bool ComputeUpdateInterval()": { "prefix": "ComputeUpdateInterval", @@ -847,19 +889,19 @@ ], "description": "Recomputes the component update interval" }, - "void ConnectOutput(string, string)": { + "void ConnectOutput(string output, string function)": { "prefix": "ConnectOutput", "body": [ - "ConnectOutput(${1:string}, ${2:string})$0" + "ConnectOutput(${1:string output}, ${2:string function})$0" ], - "description": "Adds an I/O connection that will call the named function when the specified output fires" + "description": "Adds an I/O connection that will call the named function when the specified output fires." }, "void ConnectTo(handle area, int dir)": { "prefix": "ConnectTo", "body": [ "ConnectTo(${1:handle area}, ${2:int dir})$0" ], - "description": "Connect this area to given area in given direction" + "description": "Connect this area to given area in given direction." }, "ConstantNamingConvention": { "prefix": "ConstantNamingConvention", @@ -868,19 +910,26 @@ ], "description": "Constants are named as follows: F -> flags, E -> enums, (nothing) -> random values/constants" }, + "Constants": { + "prefix": "Constants", + "body": [ + "Constants$0" + ], + "description": "Enumerations for various function arguments or netprops." + }, "bool Contains(handle area)": { "prefix": "Contains", "body": [ "Contains(${1:handle area})$0" ], - "description": "Return true if other area is on or above this area, but no others" + "description": "Return true if other area is on or above this area, but no others." }, "bool ContainsOrigin(Vector point)": { "prefix": "ContainsOrigin", "body": [ "ContainsOrigin(${1:Vector point})$0" ], - "description": "Return true if given point is on or above this area, but no others" + "description": "Return true if given point is on or above this area, but no others." }, "handle CreateByClassname(string classname)": { "prefix": "CreateByClassname", @@ -889,17 +938,17 @@ ], "description": "Creates an entity by classname" }, - "handle CreateProp(string, Vector, string, int)": { + "handle CreateProp(string classname, Vector origin, string model_name, int activity)": { "prefix": "CreateProp", "body": [ - "CreateProp(${1:string}, ${2:Vector}, ${3:string}, ${4:int})$0" + "CreateProp(${1:string classname}, ${2:Vector origin}, ${3:string model_name}, ${4:int activity})$0" ], - "description": "Create a physics prop" + "description": "Create a prop" }, - "handle CreateSceneEntity(string)": { + "handle CreateSceneEntity(string scene)": { "prefix": "CreateSceneEntity", "body": [ - "CreateSceneEntity(${1:string})$0" + "CreateSceneEntity(${1:string scene})$0" ], "description": "Create a scene entity to play the specified scene." }, @@ -917,6 +966,13 @@ ], "description": "16" }, + "DIST_EPSILON": { + "prefix": "DIST_EPSILON", + "body": [ + "DIST_EPSILON$0" + ], + "description": "0.03125" + }, "DMG_ACID": { "prefix": "DMG_ACID", "body": [ @@ -1176,12 +1232,12 @@ ], "description": "Try to clear all the debug overlay info." }, - "void DebugDrawFilled(int, int, int, int, float, bool, float)": { + "void DebugDrawFilled(int r, int g, int b, int a, float duration, bool noDepthTest, float margin)": { "prefix": "DebugDrawFilled", "body": [ - "DebugDrawFilled(${1:int}, ${2:int}, ${3:int}, ${4:int}, ${5:float}, ${6:bool}, ${7:float})$0" + "DebugDrawFilled(${1:int r}, ${2:int g}, ${3:int b}, ${4:int a}, ${5:float duration}, ${6:bool noDepthTest}, ${7:float margin})$0" ], - "description": "Draw area as a filled rect of the given color" + "description": "Draw area as a filled rect of the given color." }, "void DebugDrawLine(Vector start, Vector end, int red, int green, int blue', bool zTest, float time)": { "prefix": "DebugDrawLine", @@ -1211,26 +1267,26 @@ ], "description": "Draw text on the screen, starting on the position of origin." }, - "void DelayedThreatNotice(handle, float)": { + "void DelayedThreatNotice(handle threat, float delay)": { "prefix": "DelayedThreatNotice", "body": [ - "DelayedThreatNotice(${1:handle}, ${2:float})$0" + "DelayedThreatNotice(${1:handle threat}, ${2:float delay})$0" ], - "description": "" + "description": "Notice the threat after a delay in seconds" }, "void Destroy()": { "prefix": "Destroy", "body": [ "Destroy()$0" ], - "description": "" + "description": "Removes the entity. Simply calls UTIL_Remove." }, "void DisableDraw()": { "prefix": "DisableDraw", "body": [ "DisableDraw()$0" ], - "description": "Enable drawing (removes EF_NODRAW)" + "description": "Disable drawing and transmitting the entity to clients. (adds EF_NODRAW)" }, "void DisbandCurrentSquad()": { "prefix": "DisbandCurrentSquad", @@ -1244,7 +1300,7 @@ "body": [ "Disconnect(${1:handle area})$0" ], - "description": "Disconnect this area from given area" + "description": "Disconnect this area from given area." }, "void DisconnectOutput(string, string)": { "prefix": "DisconnectOutput", @@ -1253,17 +1309,17 @@ ], "description": "Removes a connected script function from an I/O event." }, - "void DispatchAnimEvents(handle)": { + "void DispatchAnimEvents(handle entity)": { "prefix": "DispatchAnimEvents", "body": [ - "DispatchAnimEvents(${1:handle})$0" + "DispatchAnimEvents(${1:handle entity})$0" ], "description": "Dispatch animation events to a CBaseAnimating" }, - "void DispatchParticleEffect(string, Vector, Vector)": { + "void DispatchParticleEffect(string name, Vector origin, Vector angles)": { "prefix": "DispatchParticleEffect", "body": [ - "DispatchParticleEffect(${1:string}, ${2:Vector}, ${3:Vector})$0" + "DispatchParticleEffect(${1:string name}, ${2:Vector origin}, ${3:Vector angles})$0" ], "description": "Dispatches a one-off particle system" }, @@ -1272,7 +1328,7 @@ "body": [ "DispatchSpawn(${1:handle entity})$0" ], - "description": "Dispatches spawn of an entity!" + "description": "Dispatches spawn of an entity! Use this on entities created via CreateByClassname to actually spawn them into the world." }, "void DoEntFire(string target, string action, string value, float delay, handle activator, handle caller)": { "prefix": "DoEntFire", @@ -1288,6 +1344,13 @@ ], "description": "Execute a script. and put all its content for the argument passed to thescopeparameter. (internal)" }, + "void DoAttackTaunt()": { + "prefix": "DoAttackTaunt", + "body": [ + "DoAttackTaunt()$0" + ], + "description": "Performs taunts attacks if available. Player must be already taunting and taunt must have a valid attack assigned (taunt attack name attribute)" + }, "string DoUniqueString(string input)": { "prefix": "DoUniqueString", "body": [ @@ -1302,6 +1365,13 @@ ], "description": "" }, + "Documentation": { + "prefix": "Documentation", + "body": [ + "Documentation$0" + ], + "description": "Contains the printed strings from the script_help command." + }, "float Dot(Quaternion factor)": { "prefix": "Dot", "body": [ @@ -1309,24 +1379,24 @@ ], "description": "The 4D scalar product of two quaternions. represents the angle between the quaternions in the range [1, 0]." }, - "void DriveTo(Vector)": { + "void DriveTo(Vector pos)": { "prefix": "DriveTo", "body": [ - "DriveTo(${1:Vector})$0" + "DriveTo(${1:Vector pos})$0" ], "description": "Move the bot to the precise given position immediately, updating internal state" }, - "void DropFlag(bool)": { + "void DropFlag(bool silent)": { "prefix": "DropFlag", "body": [ - "DropFlag(${1:bool})$0" + "DropFlag(${1:bool silent})$0" ], "description": "Force player to drop the flag." }, - "void DropRune(bool, int)": { + "void DropRune(bool apply_force, int team)": { "prefix": "DropRune", "body": [ - "DropRune(${1:bool}, ${2:int})$0" + "DropRune(${1:bool apply_force}, ${2:int team})$0" ], "description": "Force player to drop the rune." }, @@ -1678,7 +1748,7 @@ "body": [ "EmitAmbientSoundOn(${1:string soundName}, ${2:float volume}, ${3:int soundlevel}, ${4:int pitch}, ${5:handle entity})$0" ], - "description": "Play named sound on an entity using configurations similar to ambient_generic." + "description": "Play named sound on an entity using configurations similar to ambient_generic. Soundlevel is in decibels." }, "void EmitSound(string)": { "prefix": "EmitSound", @@ -1687,26 +1757,33 @@ ], "description": "Plays a sound from this entity." }, + "void EmitSoundEx(handle table)": { + "prefix": "EmitSoundEx", + "body": [ + "EmitSoundEx(${1:handle table})$0" + ], + "description": "Play a sound. Takes in a script table of params: sound_name, channel, volume, sound_level, flags, pitch, special_dsp, origin, delay, sound_time, entity, speaker_entity, filter_type, filter_param. All parameters are optional except sound_name. See the main page for more details." + }, "void EmitSoundOn(string soundScript, handle entity)": { "prefix": "EmitSoundOn", "body": [ "EmitSoundOn(${1:string soundScript}, ${2:handle entity})$0" ], - "description": "Play named sound on an entity." + "description": "Play named sound on an entity. Legacy only, use EmitSoundEx" }, "void EmitSoundOnClient(string soundScript, handle player)": { "prefix": "EmitSoundOnClient", "body": [ "EmitSoundOnClient(${1:string soundScript}, ${2:handle player})$0" ], - "description": "Play named sound only on the client for the specified player." + "description": "Play named sound only on the client for the specified player. NOTE: This only supports soundscripts. Legacy only, use EmitSoundEx." }, "void EnableDraw()": { "prefix": "EnableDraw", "body": [ "EnableDraw()$0" ], - "description": "Disable drawing (sets EF_NODRAW)" + "description": "Enable drawing and transmitting the entity to clients. (removes EF_NODRAW)" }, "End()": { "prefix": "End", @@ -1715,7 +1792,14 @@ ], "description": "" }, - "EndScriptDebug()": { + "void EndLongTaunt()": { + "prefix": "EndLongTaunt", + "body": [ + "EndLongTaunt()$0" + ], + "description": "Stops a looping taunt (obeys minimum time rules and plays outro animation if available)" + }, + "void EndScriptDebug()": { "prefix": "EndScriptDebug", "body": [ "EndScriptDebug()$0" @@ -1727,12 +1811,12 @@ "body": [ "EntFire(${1:string target}, ${2:string action}, ${3:string value = null}, ${4:float delay = 0}, ${5:handle activator = null})$0" ], - "description": "Wrapper for DoEntFire() that setsactivator to null, but has nocallerparam." + "description": "Wrapper for DoEntFire() that setsactivator to null, but has no caller param." }, - "void EntFireByHandle(handle, string, string, float, handle, handle)": { + "void EntFireByHandle(handle entity, string action, string value, float delay, handle activator, handle caller)": { "prefix": "EntFireByHandle", "body": [ - "EntFireByHandle(${1:handle}, ${2:string}, ${3:string}, ${4:float}, ${5:handle}, ${6:handle})$0" + "EntFireByHandle(${1:handle entity}, ${2:string action}, ${3:string value}, ${4:float delay}, ${5:handle activator}, ${6:handle caller})$0" ], "description": "Generate and entity i/o event. First parameter is an entity instance." }, @@ -1750,6 +1834,13 @@ ], "description": "1.19209e-07" }, + "void EquipWearableViewModel(handle ent)": { + "prefix": "EquipWearableViewModel", + "body": [ + "EquipWearableViewModel(${1:handle ent})$0" + ], + "description": "Equips a wearble on the viewmodel. Intended to be used with tf_wearable_vm entities." + }, "EstablishDelegation()": { "prefix": "EstablishDelegation", "body": [ @@ -1776,14 +1867,14 @@ "body": [ "EyeAngles()$0" ], - "description": "Returns the entity's eye angles" + "description": "Returns the entity's eye angles. Acts like GetAbsAngles if the entity does not support it." }, "Vector EyePosition()": { "prefix": "EyePosition", "body": [ "EyePosition()$0" ], - "description": "Get vector to eye position - absolute coords" + "description": "Get vector to eye position - absolute coords. Acts like GetOrigin if the entity does not support it." }, "FIRE_IMMUNE": { "prefix": "FIRE_IMMUNE", @@ -2100,10 +2191,10 @@ ], "description": "32" }, - "void FaceTowards(Vector)": { + "void FaceTowards(Vector target)": { "prefix": "FaceTowards", "body": [ - "FaceTowards(${1:Vector})$0" + "FaceTowards(${1:Vector target})$0" ], "description": "Rotate body to face towards target" }, @@ -2112,28 +2203,28 @@ "body": [ "FileToString(${1:string file})$0" ], - "description": "Reads a string from file. Returns the string from the file, null if no file or file is greater than 16384 bytes. The game will crash to desktop if the file is exactly 16384 bytes." + "description": "Reads a string from file located in the game's scriptdata folder. Returns the string from the file, null if no file or file is greater than 16384 bytes." }, - "int FindBodygroupByName(string)": { + "int FindBodygroupByName(string name)": { "prefix": "FindBodygroupByName", "body": [ - "FindBodygroupByName(${1:string})$0" + "FindBodygroupByName(${1:string name})$0" ], - "description": "Find a bodygroup id by name" + "description": "Find a bodygroup ID by name. Returns -1 if the bodygroup does not exist." }, "handle FindByClassname(handle previous, string classname)": { "prefix": "FindByClassname", "body": [ "FindByClassname(${1:handle previous}, ${2:string classname})$0" ], - "description": "Find entities by the value of their classname keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search. Note: the classname keyvalue of an entity can be manipulated and does not necessarily reflect its code class. There might be entities that have a different classname than the one they are created with." + "description": "Find entities by the string of their classname keyvalue. Pass 'null' value to start an iteration, or reference to a previously found entity to continue a search" }, "handle FindByClassnameNearest(string classname, Vector center, float radius)": { "prefix": "FindByClassnameNearest", "body": [ "FindByClassnameNearest(${1:string classname}, ${2:Vector center}, ${3:float radius})$0" ], - "description": "Find entities by classname nearest to a point." + "description": "Find entities by classname nearest to a point within a radius." }, "handle FindByClassnameWithin(handle previous, string classname, Vector center, float radius)": { "prefix": "FindByClassnameWithin", @@ -2161,7 +2252,7 @@ "body": [ "FindByNameNearest(${1:string targetname}, ${2:Vector center}, ${3:float radius})$0" ], - "description": "Find entities by targetname nearest to a point." + "description": "Find entities by targetname nearest to a point within a radius." }, "handle FindByNameWithin(handle previous, string targetname, Vector center, float radius)": { "prefix": "FindByNameWithin", @@ -2205,10 +2296,10 @@ ], "description": "Find a sub key by the key name." }, - "handle FindNamedEntity(string)": { + "handle FindNamedEntity(string reference)": { "prefix": "FindNamedEntity", "body": [ - "FindNamedEntity(${1:string})$0" + "FindNamedEntity(${1:string reference})$0" ], "description": "given an entity reference, such as !target, get actual entity from scene object" }, @@ -2224,19 +2315,19 @@ "body": [ "FindRandomSpot()$0" ], - "description": "Get random origin within extent of area" + "description": "Get random origin within extent of area." }, - "handle FindVantagePoint(float)": { + "handle FindVantagePoint(float max_distance)": { "prefix": "FindVantagePoint", "body": [ - "FindVantagePoint(${1:float})$0" + "FindVantagePoint(${1:float max_distance})$0" ], "description": "Get the nav area of the closest vantage point (within distance)" }, - "bool FireGameEvent(string, handle)": { + "bool FireGameEvent(string name, handle table)": { "prefix": "FireGameEvent", "body": [ - "FireGameEvent(${1:string}, ${2:handle})$0" + "FireGameEvent(${1:string name}, ${2:handle table})$0" ], "description": "Fire a game event to a listening callback function in script. Parameters are passed in a squirrel table." }, @@ -2247,12 +2338,12 @@ ], "description": "Wrapper for __RunEventCallbacks()" }, - "bool FireScriptHook(string, handle)": { + "bool FireScriptHook(string name, handle table)": { "prefix": "FireScriptHook", "body": [ - "FireScriptHook(${1:string}, ${2:handle})$0" + "FireScriptHook(${1:string name}, ${2:handle table})$0" ], - "description": "Fire a script hook to a listening callback function in script. Parameters are passed in a squirrel table." + "description": "Fire a script hoook to a listening callback function in script. Parameters are passed in a squirrel table." }, "void FiringTalk()": { "prefix": "FiringTalk", @@ -2268,17 +2359,17 @@ ], "description": "Begin an iteration over the list of entities" }, - "FirstMoveChild()": { + "handle FirstMoveChild()": { "prefix": "FirstMoveChild", "body": [ "FirstMoveChild()$0" ], - "description": "" + "description": "Returns the most-recent entity parented to this one." }, - "void FlagForUpdate(bool)": { + "void FlagForUpdate(bool toggle)": { "prefix": "FlagForUpdate", "body": [ - "FlagForUpdate(${1:bool})$0" + "FlagForUpdate(${1:bool toggle})$0" ], "description": "Flag this bot for update" }, @@ -2289,61 +2380,61 @@ ], "description": "May a flag be captured?" }, - "void ForceChangeTeam(int, bool)": { + "void ForceChangeTeam(int team, bool full_team_switch)": { "prefix": "ForceChangeTeam", "body": [ - "ForceChangeTeam(${1:int}, ${2:bool})$0" + "ForceChangeTeam(${1:int team}, ${2:bool full_team_switch})$0" ], - "description": "Force player to change their team." + "description": "Force player to change their team. Setting the bool to true will not remove nemesis relationships or reset the player's class, as well as not slaying the player." }, - "void ForceEnableUpgrades(int)": { + "void ForceEnableUpgrades(int state)": { "prefix": "ForceEnableUpgrades", "body": [ - "ForceEnableUpgrades(${1:int})$0" + "ForceEnableUpgrades(${1:int state})$0" ], "description": "Whether to force on MvM-styled upgrades on/off. 0 -> default, 1 -> force off, 2 -> force on" }, - "void ForceEscortPushLogic(int)": { + "void ForceEscortPushLogic(int state)": { "prefix": "ForceEscortPushLogic", "body": [ - "ForceEscortPushLogic(${1:int})$0" + "ForceEscortPushLogic(${1:int state})$0" ], "description": "Forces payload pushing logic. 0 -> default, 1 -> force off, 2 -> force on" }, - "void ForceRegenerateAndRespawn(int, bool)": { + "void ForceRegenerateAndRespawn()": { "prefix": "ForceRegenerateAndRespawn", "body": [ - "ForceRegenerateAndRespawn(${1:int}, ${2:bool})$0" + "ForceRegenerateAndRespawn()$0" ], "description": "Force regenerates and respawns the player" }, - "void ForceRespawn(int)": { + "void ForceRespawn()": { "prefix": "ForceRespawn", "body": [ - "ForceRespawn(${1:int})$0" + "ForceRespawn()$0" ], "description": "Force respawns the player" }, - "Forward()": { + "Vector Forward()": { "prefix": "Forward", "body": [ "Forward()$0" ], - "description": "" + "description": "Returns the Forward Vector of the angles." }, - "float FractionPotentialGap(Vector, Vector)": { + "float FractionPotentialGap(Vector from, Vector to)": { "prefix": "FractionPotentialGap", "body": [ - "FractionPotentialGap(${1:Vector}, ${2:Vector})$0" + "FractionPotentialGap(${1:Vector from}, ${2:Vector to})$0" ], "description": "If the locomotor cannot jump over the gap, returns the fraction of the jumpable ray" }, - "float FractionPotentiallyTraversable(Vector, Vector, bool)": { + "float FractionPotentiallyTraversable(Vector from, Vector to, bool immediately)": { "prefix": "FractionPotentiallyTraversable", "body": [ - "FractionPotentiallyTraversable(${1:Vector}, ${2:Vector}, ${3:bool})$0" + "FractionPotentiallyTraversable(${1:Vector from}, ${2:Vector to}, ${3:bool immediately})$0" ], - "description": "If the locomotor could not move along the line given, returns the fraction of the walkable ray." + "description": "If the locomotor could not move along the line given, returns the fraction of the walkable ray. If immediately is true, breakables are considered non-traverseable" }, "float FrameTime()": { "prefix": "FrameTime", @@ -2422,6 +2513,20 @@ ], "description": "11" }, + "GR_STATE_BETWEEN_RNDS": { + "prefix": "GR_STATE_BETWEEN_RNDS", + "body": [ + "GR_STATE_BETWEEN_RNDS$0" + ], + "description": "10" + }, + "GR_STATE_BONUS": { + "prefix": "GR_STATE_BONUS", + "body": [ + "GR_STATE_BONUS$0" + ], + "description": "9" + }, "GR_STATE_GAME_OVER": { "prefix": "GR_STATE_GAME_OVER", "body": [ @@ -2485,6 +2590,13 @@ ], "description": "5" }, + "GameEventCallbacks": { + "prefix": "GameEventCallbacks", + "body": [ + "GameEventCallbacks$0" + ], + "description": "Table of registered game event callbacks." + }, "bool GameModeUsesCurrency()": { "prefix": "GameModeUsesCurrency", "body": [ @@ -2506,10 +2618,10 @@ ], "description": "Does the current gamemode have upgrades?" }, - "void GenerateAndWearItem(string)": { + "void GenerateAndWearItem(string item_name)": { "prefix": "GenerateAndWearItem", "body": [ - "GenerateAndWearItem(${1:string})$0" + "GenerateAndWearItem(${1:string item_name})$0" ], "description": "Give me an item!" }, @@ -2539,21 +2651,21 @@ "body": [ "GetAdjacentArea(${1:int dir}, ${2:int n})$0" ], - "description": "Return the n'th adjacent area in the given direction" + "description": "Return the n'th adjacent area in the given direction." }, "void GetAdjacentAreas(int dir, handle table)": { "prefix": "GetAdjacentAreas", "body": [ "GetAdjacentAreas(${1:int dir}, ${2:handle table})$0" ], - "description": "Fills a passed in table with all adjacent areas in the given direction" + "description": "Fills a passed in table with all adjacent areas in the given direction." }, "int GetAdjacentCount(int dir)": { "prefix": "GetAdjacentCount", "body": [ "GetAdjacentCount(${1:int dir})$0" ], - "description": "Get the number of adjacent areas in the given direction" + "description": "Get the number of adjacent areas in the given direction." }, "void GetAllAreas(handle table)": { "prefix": "GetAllAreas", @@ -2567,14 +2679,14 @@ "body": [ "GetAngles()$0" ], - "description": "Get entity pitch, yaw, roll as a vector" + "description": "Get entity pitch, yaw, roll as a Vector" }, "Vector GetAngularVelocity()": { "prefix": "GetAngularVelocity", "body": [ "GetAngularVelocity()$0" ], - "description": "Get the local angular velocity - returns a vector of pitch,yaw,roll" + "description": "Get the local angular velocity - returns a vector of pitch, yaw, and roll" }, "void GetAreasWithAttributes(int bits, handle table)": { "prefix": "GetAreasWithAttributes", @@ -2583,40 +2695,40 @@ ], "description": "fills a passed in table of all nav areas that have the specified attributes" }, - "QAngle GetAttachmentAngles(int)": { + "QAngle GetAttachmentAngles(int ID)": { "prefix": "GetAttachmentAngles", "body": [ - "GetAttachmentAngles(${1:int})$0" + "GetAttachmentAngles(${1:int ID})$0" ], - "description": "Get the attachement id's angles as a p,y,r vector" + "description": "Get an attachment's angles as a QAngle, by ID." }, - "int GetAttachmentBone(int)": { + "int GetAttachmentBone(int ID)": { "prefix": "GetAttachmentBone", "body": [ - "GetAttachmentBone(${1:int})$0" + "GetAttachmentBone(${1:int ID})$0" ], - "description": "Get the named attachement's parent bone index" + "description": "Get an attachment's parent bone index by ID." }, - "Vector GetAttachmentOrigin(int)": { + "Vector GetAttachmentOrigin(int ID)": { "prefix": "GetAttachmentOrigin", "body": [ - "GetAttachmentOrigin(${1:int})$0" + "GetAttachmentOrigin(${1:int ID})$0" ], - "description": "Get the attachement id's origin vector" + "description": "Get an attachment's origin as a Vector, by ID." }, "int GetAttributes()": { "prefix": "GetAttributes", "body": [ "GetAttributes()$0" ], - "description": "Get area attribute bits" + "description": "Get area attribute bits." }, "float GetAvoidanceObstacleHeight()": { "prefix": "GetAvoidanceObstacleHeight", "body": [ "GetAvoidanceObstacleHeight()$0" ], - "description": "Returns the maximum height of the obstruction above the ground" + "description": "Returns the maximum height of the obstruction above the ground." }, "int GetBackstabs()": { "prefix": "GetBackstabs", @@ -2632,47 +2744,47 @@ ], "description": "Returns any constant velocity currently being imparted onto the entity. This includes being pushed by effects like enttrigger_push and players standing on moving geometry like elevators. Should always returns a zero vector if the entity is not affected by any movement effects." }, - "handle GetBodyInterface()": { + "INextBotComponent GetBodyInterface()": { "prefix": "GetBodyInterface", "body": [ "GetBodyInterface()$0" ], "description": "Get this bot's body interface" }, - "int GetBodygroup(int)": { + "int GetBodygroup(int ID)": { "prefix": "GetBodygroup", "body": [ - "GetBodygroup(${1:int})$0" + "GetBodygroup(${1:int ID})$0" ], - "description": "Get a bodygroup by id" + "description": "Get the bodygroup value by bodygroup ID." }, - "string GetBodygroupName(int)": { + "string GetBodygroupName(int ID)": { "prefix": "GetBodygroupName", "body": [ - "GetBodygroupName(${1:int})$0" + "GetBodygroupName(${1:int ID})$0" ], - "description": "Get the bodygroup id's name" + "description": "Get the bodygroup's name by ID." }, - "string GetBodygroupPartName(int, int)": { + "string GetBodygroupPartName(int group, int part)": { "prefix": "GetBodygroupPartName", "body": [ - "GetBodygroupPartName(${1:int}, ${2:int})$0" + "GetBodygroupPartName(${1:int group}, ${2:int part})$0" ], - "description": "Get name by group and part" + "description": "Get the bodygroup's name by group and part." }, - "QAngle GetBoneAngles(int)": { + "QAngle GetBoneAngles(int ID)": { "prefix": "GetBoneAngles", "body": [ - "GetBoneAngles(${1:int})$0" + "GetBoneAngles(${1:int ID})$0" ], - "description": "Get the bone id's angles as a p,y,r vector" + "description": "Get the bone's angles as a QAngle, by ID." }, - "Vector GetBoneOrigin(int)": { + "Vector GetBoneOrigin(int ID)": { "prefix": "GetBoneOrigin", "body": [ - "GetBoneOrigin(${1:int})$0" + "GetBoneOrigin(${1:int ID})$0" ], - "description": "Get the bone id's origin vector" + "description": "Get the bone's origin Vector by ID." }, "int GetBonusPoints()": { "prefix": "GetBonusPoints", @@ -2695,6 +2807,13 @@ ], "description": "Get this bot's id" }, + "int GetBotType()": { + "prefix": "GetBotType", + "body": [ + "GetBotType()$0" + ], + "description": "" + }, "Vector GetBoundingMaxs()": { "prefix": "GetBoundingMaxs", "body": [ @@ -2742,7 +2861,7 @@ "body": [ "GetCenter()$0" ], - "description": "Get center origin of area" + "description": "Get center origin of area." }, "Vector GetClassEyeHeight()": { "prefix": "GetClassEyeHeight", @@ -2751,10 +2870,10 @@ ], "description": "Gets the eye height of the player" }, - "int GetClassLimit(int)": { + "int GetClassLimit(int class)": { "prefix": "GetClassLimit", "body": [ - "GetClassLimit(${1:int})$0" + "GetClassLimit(${1:int class})$0" ], "description": "Get class limit for class. See Constants.ETFClass" }, @@ -2777,21 +2896,21 @@ "body": [ "GetCollisionGroup()$0" ], - "description": "" + "description": "Gets the current collision group of the entity." }, "float GetCondDuration(ETFCond cond)": { "prefix": "GetCondDuration", "body": [ "GetCondDuration(${1:ETFCond cond})$0" ], - "description": "" + "description": "Returns duration of the condition. Returns 0 if the cond is not applied. Returns -1 if the cond is infinite." }, "Vector GetCorner(int dir)": { "prefix": "GetCorner", "body": [ "GetCorner(${1:int dir})$0" ], - "description": "Get corner origin of area" + "description": "Get corner origin of area." }, "int GetCurrency()": { "prefix": "GetCurrency", @@ -2812,7 +2931,7 @@ "body": [ "GetCycle()$0" ], - "description": "Gets the models current cycle" + "description": "Gets the model's current animation cycle rate." }, "float GetDeathDropHeight()": { "prefix": "GetDeathDropHeight", @@ -2856,7 +2975,7 @@ ], "description": "Gets the level of 'developer'" }, - "int GetDifficulty()": { + "ETFBotDifficultyType GetDifficulty()": { "prefix": "GetDifficulty", "body": [ "GetDifficulty()$0" @@ -2889,7 +3008,7 @@ "body": [ "GetDistanceSquaredToPoint(${1:Vector pos})$0" ], - "description": "Return shortest distance between point and this area" + "description": "Return shortest distance between point and this area." }, "int GetDominations()": { "prefix": "GetDominations", @@ -2903,7 +3022,7 @@ "body": [ "GetDoor()$0" ], - "description": "Returns the door entity above the area" + "description": "Returns the door entity above the area." }, "int GetEFlags()": { "prefix": "GetEFlags", @@ -2917,14 +3036,14 @@ "body": [ "GetElevator()$0" ], - "description": "Returns the elevator if in an elevator's path" + "description": "Returns the elevator if in an elevator's path." }, "void GetElevatorAreas(handle table)": { "prefix": "GetElevatorAreas", "body": [ "GetElevatorAreas(${1:handle table})$0" ], - "description": "Fills table with a collection of areas reachable via elevator from this area" + "description": "Fills table with a collection of areas reachable via elevator from this area." }, "GetEntityHandle()": { "prefix": "GetEntityHandle", @@ -2973,7 +3092,7 @@ "body": [ "GetForceLocalDraw()$0" ], - "description": "Gets the state of whether the player is being forced by SetForceLocalDraw to be drawn" + "description": "Whether the player is being forced by SetForceLocalDraw to be drawn." }, "Vector GetForwardVector()": { "prefix": "GetForwardVector", @@ -2996,19 +3115,19 @@ ], "description": "Returns the Friction on a player entity, meaningless if not a player" }, - "GetFunctionSignature()": { + "string GetFunctionSignature(function func, string prefix)": { "prefix": "GetFunctionSignature", "body": [ - "GetFunctionSignature()$0" + "GetFunctionSignature(${1:function func}, ${2:string prefix})$0" ], "description": "" }, - "Vector GetFuturePosition(float, float)": { + "Vector GetFuturePosition(float x, float speed)": { "prefix": "GetFuturePosition", "body": [ - "GetFuturePosition(${1:float}, ${2:float})$0" + "GetFuturePosition(${1:float x}, ${2:float speed})$0" ], - "description": "Get a position on the track x seconds in the future" + "description": "Get a position on the track X seconds in the future." }, "handle GetGrapplingHookTarget()": { "prefix": "GetGrapplingHookTarget", @@ -3092,7 +3211,14 @@ "body": [ "GetHomeArea()$0" ], - "description": "Sets the home nav area of the bot" + "description": "Gets the home nav area of the bot" + }, + "int GetHudHideFlags()": { + "prefix": "GetHudHideFlags", + "body": [ + "GetHudHideFlags()$0" + ], + "description": "" }, "int GetID()": { "prefix": "GetID", @@ -3120,7 +3246,7 @@ "body": [ "GetIncomingConnections(${1:int dir}, ${2:handle table})$0" ], - "description": "Fills a passed in table with areas connected TO this area by a ONE-WAY link (ie: we have no connection back to them)" + "description": "Fills a passed in table with areas connected TO this area by a ONE-WAY link (ie: we have no connection back to them)." }, "int GetInt(string name)": { "prefix": "GetInt", @@ -3129,7 +3255,7 @@ ], "description": "Returns the convar as an int. May return null if no such convar." }, - "handle GetIntentionInterface()": { + "INextBotComponent GetIntentionInterface()": { "prefix": "GetIntentionInterface", "body": [ "GetIntentionInterface()$0" @@ -3183,7 +3309,7 @@ "body": [ "GetLastKnownArea()$0" ], - "description": "Return the last nav area occupied - NULL if unknown" + "description": "Return the last nav area occupied, NULL if unknown. See CTFNavArea." }, "GetLastWeapon()": { "prefix": "GetLastWeapon", @@ -3227,7 +3353,7 @@ ], "description": "Get Entity relative velocity" }, - "handle GetLocomotionInterface()": { + "ILocomotion GetLocomotionInterface()": { "prefix": "GetLocomotionInterface", "body": [ "GetLocomotionInterface()$0" @@ -3323,7 +3449,7 @@ "body": [ "GetModelScale()$0" ], - "description": "" + "description": "Get the model's scale." }, "Vector GetMotionVector()": { "prefix": "GetMotionVector", @@ -3374,10 +3500,10 @@ ], "description": "return total number of nav areas" }, - "bool GetNavAreasFromBuildPath(CTFNavArea startArea, CTFNavArea endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers, handle table)": { + "bool GetNavAreasFromBuildPath(handle startArea, handle endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers, handle table)": { "prefix": "GetNavAreasFromBuildPath", "body": [ - "GetNavAreasFromBuildPath(${1:CTFNavArea startArea}, ${2:CTFNavArea endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers}, ${7:handle table})$0" + "GetNavAreasFromBuildPath(${1:handle startArea}, ${2:handle endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers}, ${7:handle table})$0" ], "description": "Fills the table with areas from a path. Returns whether a path was found. If 'endArea' is NULL, will compute a path as close as possible to 'goalPos'." }, @@ -3484,42 +3610,42 @@ "body": [ "GetParent()$0" ], - "description": "Returns the area just prior to this one in the search path" + "description": "Returns the area just prior to this one in the search path." }, "int GetParentHow()": { "prefix": "GetParentHow", "body": [ "GetParentHow()$0" ], - "description": "Returns how we get from parent to us" + "description": "Returns how we get from parent to us." }, "Vector GetPhysAngularVelocity(handle entity)": { "prefix": "GetPhysAngularVelocity", "body": [ "GetPhysAngularVelocity(${1:handle entity})$0" ], - "description": "Returns the Angular velocity of the entity." + "description": "Returns the Angular velocity of the entity. Deprecated, use the GetPhysAngularVelocity method on the entity instead." }, "Vector GetPhysVelocity(handle entity)": { "prefix": "GetPhysVelocity", "body": [ "GetPhysVelocity(${1:handle entity})$0" ], - "description": "Returns the velocity of the entity." + "description": "Returns the velocity of the entity. Deprecated, use the GetPhysVelocity method on the entity instead." }, "string GetPlaceName()": { "prefix": "GetPlaceName", "body": [ "GetPlaceName()$0" ], - "description": "Get place name" + "description": "Get place name if it exists, null otherwise." }, "float GetPlaybackRate()": { "prefix": "GetPlaybackRate", "body": [ "GetPlaybackRate()$0" ], - "description": "Set the current playback rate." + "description": "Get the current animation's playback rate." }, "int GetPlayerClass()": { "prefix": "GetPlayerClass", @@ -3533,12 +3659,12 @@ "body": [ "GetPlayerCount(${1:int team})$0" ], - "description": "Return number of players of given team currently within this area (team of zero means any/all)" + "description": "Return number of players of given team currently within this area (team of zero means any/all)." }, - "handle GetPlayerFromUserID(int ID)": { + "handle GetPlayerFromUserID(int userid)": { "prefix": "GetPlayerFromUserID", "body": [ - "GetPlayerFromUserID(${1:int ID})$0" + "GetPlayerFromUserID(${1:int userid})$0" ], "description": "Given a user id, return the entity, or null." }, @@ -3547,19 +3673,19 @@ "body": [ "GetPlayerMaxs()$0" ], - "description": "" + "description": "Get a vector containing max bounds of the player in local space. The player's model scale will affect the result." }, "Vector GetPlayerMins()": { "prefix": "GetPlayerMins", "body": [ "GetPlayerMins()$0" ], - "description": "" + "description": "Get a vector containing min bounds of the player in local space. The player's model scale will affect the result." }, - "float GetPlayerSpeechDuration(int)": { + "float GetPlayerSpeechDuration(int playerIndex)": { "prefix": "GetPlayerSpeechDuration", "body": [ - "GetPlayerSpeechDuration(${1:int})$0" + "GetPlayerSpeechDuration(${1:int playerIndex})$0" ], "description": "Returns the number of seconds the player has been continuously speaking." }, @@ -3715,7 +3841,7 @@ "body": [ "GetRandomAdjacentArea(${1:int dir})$0" ], - "description": "Return a random adjacent area in the given direction" + "description": "Return a random adjacent area in the given direction." }, "int GetResupplyPoints()": { "prefix": "GetResupplyPoints", @@ -3778,7 +3904,7 @@ "body": [ "GetScriptOverlayMaterial()$0" ], - "description": "Gets the current view overlay material" + "description": "Gets the current overlay material set by SetScriptOverlayMaterial." }, "handle GetScriptScope()": { "prefix": "GetScriptScope", @@ -3813,42 +3939,42 @@ "body": [ "GetSequence()$0" ], - "description": "Get the current sequence id" + "description": "Get the current-playing sequence's ID." }, - "string GetSequenceActivityName(int)": { + "string GetSequenceActivityName(int ID)": { "prefix": "GetSequenceActivityName", "body": [ - "GetSequenceActivityName(${1:int})$0" + "GetSequenceActivityName(${1:int ID})$0" ], - "description": "Get the activity name for a sequence by id" + "description": "Get the activity name for a sequence by sequence ID." }, - "float GetSequenceDuration(int)": { + "float GetSequenceDuration(int ID)": { "prefix": "GetSequenceDuration", "body": [ - "GetSequenceDuration(${1:int})$0" + "GetSequenceDuration(${1:int ID})$0" ], - "description": "Get a sequence duration by id" + "description": "Get a sequence duration in seconds by sequence ID." }, - "string GetSequenceName(int)": { + "string GetSequenceName(int ID)": { "prefix": "GetSequenceName", "body": [ - "GetSequenceName(${1:int})$0" + "GetSequenceName(${1:int ID})$0" ], - "description": "Get a sequence name by id" + "description": "Get a sequence name by sequence ID." }, "float GetSizeX()": { "prefix": "GetSizeX", "body": [ "GetSizeX()$0" ], - "description": "Return the area size along the X axis" + "description": "Return the area size along the X axis." }, "float GetSizeY()": { "prefix": "GetSizeY", "body": [ "GetSizeY()$0" ], - "description": "Return the area size along the Y axis" + "description": "Return the area size along the Y axis." }, "int GetSkin()": { "prefix": "GetSkin", @@ -3871,12 +3997,12 @@ ], "description": "" }, - "float GetSoundDuration(string soundname, string actormodel)": { + "float GetSoundDuration(string soundname, string actormodelname)": { "prefix": "GetSoundDuration", "body": [ - "GetSoundDuration(${1:string soundname}, ${2:string actormodel})$0" + "GetSoundDuration(${1:string soundname}, ${2:string actormodelname})$0" ], - "description": "Returns float dur" + "description": "Returns float duration of the sound. Actor model name is optional and can be left null." }, "handle GetSpawnArea()": { "prefix": "GetSpawnArea", @@ -3918,7 +4044,7 @@ "body": [ "GetStepHeight()$0" ], - "description": "If delta Z is greater than this, we have to jump to get up" + "description": "If delta Z is lower than this, we can step up the surface (like a stair step), but if delta Z is greater than this, we have to jump to get up." }, "int GetStopWatchState()": { "prefix": "GetStopWatchState", @@ -3955,6 +4081,20 @@ ], "description": "Fills in a passed table with all props of a specified type for the provided entity (set iPropType to 0 for SendTable or 1 for DataMap)" }, + "float GetTauntAttackTime()": { + "prefix": "GetTauntAttackTime", + "body": [ + "GetTauntAttackTime()$0" + ], + "description": "Timestamp until a taunt attack \"lasts\". 0 if unavailable" + }, + "float GetTauntRemoveTime()": { + "prefix": "GetTauntRemoveTime", + "body": [ + "GetTauntRemoveTime()$0" + ], + "description": "Timestamp until taunt is stopped" + }, "int GetTeam()": { "prefix": "GetTeam", "body": [ @@ -3988,7 +4128,7 @@ "body": [ "GetTravelDistanceToBombTarget()$0" ], - "description": "Gets the travel distance to the MvM bomb target" + "description": "Gets the travel distance to the MvM bomb target." }, "float GetTraversableSlopeLimit()": { "prefix": "GetTraversableSlopeLimit", @@ -4004,12 +4144,19 @@ ], "description": "Get the up vector of the entity" }, - "float GetUpdateInterval()": { + "GetUpdateInterval()": { "prefix": "GetUpdateInterval", "body": [ "GetUpdateInterval()$0" ], - "description": "Returns the component update interval" + "description": "Returns time between updates" + }, + "float GetVehicleReverseTime()": { + "prefix": "GetVehicleReverseTime", + "body": [ + "GetVehicleReverseTime()$0" + ], + "description": "Timestamp when kart was reversed" }, "Vector GetVelocity()": { "prefix": "GetVelocity", @@ -4018,7 +4165,7 @@ ], "description": "Return current world space velocity" }, - "handle GetVisionInterface()": { + "INextBotComponent GetVisionInterface()": { "prefix": "GetVisionInterface", "body": [ "GetVisionInterface()$0" @@ -4037,14 +4184,14 @@ "body": [ "GetWaterLevel()$0" ], - "description": "" + "description": "This function tells you how much of the entity is underwater. It returns a value of 0 if not underwater, 1 if the feet are (touching water brush), 2 if the waist is (center of the hull of the entity), and 3 if the head is (eyes position)." }, "int GetWaterType()": { "prefix": "GetWaterType", "body": [ "GetWaterType()$0" ], - "description": "" + "description": "It returns the type of water the entity is currently submerged in. 32 for water and 16 for slime." }, "int GetWeaponFlags()": { "prefix": "GetWeaponFlags", @@ -4081,6 +4228,13 @@ ], "description": "1.61803" }, + "void GrantOrRemoveAllUpgrades(bool remove, bool refund)": { + "prefix": "GrantOrRemoveAllUpgrades", + "body": [ + "GrantOrRemoveAllUpgrades(${1:bool remove}, ${2:bool refund})$0" + ], + "description": "" + }, "HARD": { "prefix": "HARD", "body": [ @@ -4100,7 +4254,7 @@ "body": [ "HIDEHUD_BITCOUNT$0" ], - "description": "12" + "description": "17" }, "HIDEHUD_BONUS_PROGRESS": { "prefix": "HIDEHUD_BONUS_PROGRESS", @@ -4109,6 +4263,13 @@ ], "description": "2048" }, + "HIDEHUD_BUILDING_STATUS": { + "prefix": "HIDEHUD_BUILDING_STATUS", + "body": [ + "HIDEHUD_BUILDING_STATUS$0" + ], + "description": "4096" + }, "HIDEHUD_CHAT": { "prefix": "HIDEHUD_CHAT", "body": [ @@ -4116,6 +4277,13 @@ ], "description": "128" }, + "HIDEHUD_CLOAK_AND_FEIGN": { + "prefix": "HIDEHUD_CLOAK_AND_FEIGN", + "body": [ + "HIDEHUD_CLOAK_AND_FEIGN$0" + ], + "description": "8192" + }, "HIDEHUD_CROSSHAIR": { "prefix": "HIDEHUD_CROSSHAIR", "body": [ @@ -4144,6 +4312,13 @@ ], "description": "1024" }, + "HIDEHUD_METAL": { + "prefix": "HIDEHUD_METAL", + "body": [ + "HIDEHUD_METAL$0" + ], + "description": "32768" + }, "HIDEHUD_MISCSTATUS": { "prefix": "HIDEHUD_MISCSTATUS", "body": [ @@ -4158,6 +4333,13 @@ ], "description": "32" }, + "HIDEHUD_PIPES_AND_CHARGE": { + "prefix": "HIDEHUD_PIPES_AND_CHARGE", + "body": [ + "HIDEHUD_PIPES_AND_CHARGE$0" + ], + "description": "16384" + }, "HIDEHUD_PLAYERDEAD": { "prefix": "HIDEHUD_PLAYERDEAD", "body": [ @@ -4165,6 +4347,13 @@ ], "description": "16" }, + "HIDEHUD_TARGET_ID": { + "prefix": "HIDEHUD_TARGET_ID", + "body": [ + "HIDEHUD_TARGET_ID$0" + ], + "description": "65536" + }, "HIDEHUD_VEHICLE_CROSSHAIR": { "prefix": "HIDEHUD_VEHICLE_CROSSHAIR", "body": [ @@ -4291,19 +4480,19 @@ ], "description": "Do we have any ammo?" }, - "bool HasAttributeTF(int)": { + "bool HasAttributeTF(int bits)": { "prefix": "HasAttributeTF", "body": [ - "HasAttributeTF(${1:int})$0" + "HasAttributeTF(${1:int bits})$0" ], - "description": "Has TF-specific area attribute bits" + "description": "Has TF-specific area attribute bits of the given ones." }, - "bool HasAttributes(int)": { + "bool HasAttributes(int bits)": { "prefix": "HasAttributes", "body": [ - "HasAttributes(${1:int})$0" + "HasAttributes(${1:int bits})$0" ], - "description": "Has area attribute bits" + "description": "Has area attribute bits of the given ones." }, "bool HasAvoidanceObstacle(float maxheight)": { "prefix": "HasAvoidanceObstacle", @@ -4312,17 +4501,17 @@ ], "description": "Returns true if there's a large, immobile object obstructing this area" }, - "bool HasBotAttribute(int)": { + "bool HasBotAttribute(int attribute)": { "prefix": "HasBotAttribute", "body": [ - "HasBotAttribute(${1:int})$0" + "HasBotAttribute(${1:int attribute})$0" ], "description": "Checks if this TFBot has the given attributes" }, - "bool HasBotTag(string)": { + "bool HasBotTag(string tag)": { "prefix": "HasBotTag", "body": [ - "HasBotTag(${1:string})$0" + "HasBotTag(${1:string tag})$0" ], "description": "Checks if this TFBot has the given bot tag" }, @@ -4340,12 +4529,12 @@ ], "description": "Returns true if the output exists." }, - "float HasPotentialGap(Vector, Vector)": { + "float HasPotentialGap(Vector from, Vector to)": { "prefix": "HasPotentialGap", "body": [ - "HasPotentialGap(${1:Vector}, ${2:Vector})$0" + "HasPotentialGap(${1:Vector from}, ${2:Vector to})$0" ], - "description": "Return true if there is a possible gap that will need to be jumped over" + "description": "Checks if there is a possible gap that will need to be jumped over. Returns fraction of ray from 0 to 1." }, "bool HasPrimaryAmmo()": { "prefix": "HasPrimaryAmmo", @@ -4368,10 +4557,10 @@ ], "description": "Do we have any secondary ammo?" }, - "bool HasWeaponRestriction(int)": { + "bool HasWeaponRestriction(int flags)": { "prefix": "HasWeaponRestriction", "body": [ - "HasWeaponRestriction(${1:int})$0" + "HasWeaponRestriction(${1:int flags})$0" ], "description": "Checks if this TFBot has the given weapon restriction flags" }, @@ -4625,7 +4814,7 @@ "body": [ "InMatchStartCountdown()$0" ], - "description": "Are we in the pre-match state?" + "description": "Are we in the pre-match/setup state?" }, "bool InOvertime()": { "prefix": "InOvertime", @@ -4641,12 +4830,12 @@ ], "description": "Wrapper for DoIncludeScript" }, - "bool Input[InputName]()": { - "prefix": "Input[InputName]", + "bool Input()": { + "prefix": "Input", "body": [ - "Input[InputName]()$0" + "Input()$0" ], - "description": "Called when the entity receives an input from the I/O system that matches the function's name. The name of the function needs to beInputfollowed by the name of the input with the same casing (PascalCase). E.g. for the FireUser1 input, it would beInputFireUser1. When the function is called, Script Handles of the activator and caller entities are accessible to the function under the variablesactivatorandcaller. The function needs to return a boolean value; Returningtrueprocesses the input, whilefalsecancels it." + "description": "Called when the entity receives an input from the I/O system that matches the function's name. The name of the function needs to be Input followed by the name of the input. E.g. for the FireUser1 input, it would be InputFireUser1 When the function is called, Script Handles of the activator and caller entities are accessible to the function under the variables activator and caller. The function needs to return a boolean value; Returning true processes the input, while false cancels it." }, "Quaternion Invert()": { "prefix": "Invert", @@ -4676,6 +4865,13 @@ ], "description": "" }, + "bool IsAllowedToRemoveTaunt()": { + "prefix": "IsAllowedToRemoveTaunt", + "body": [ + "IsAllowedToRemoveTaunt()$0" + ], + "description": "Returns true if the taunt will be stopped" + }, "bool IsAllowedToSwitch()": { "prefix": "IsAllowedToSwitch", "body": [ @@ -4704,10 +4900,10 @@ ], "description": "" }, - "bool IsAreaTraversable(handle)": { + "bool IsAreaTraversable(handle area)": { "prefix": "IsAreaTraversable", "body": [ - "IsAreaTraversable(${1:handle})$0" + "IsAreaTraversable(${1:handle area})$0" ], "description": "Return true if given area can be used for navigation" }, @@ -4732,10 +4928,10 @@ ], "description": "Is our attention focused right now?" }, - "bool IsAttentionFocusedOn(handle)": { + "bool IsAttentionFocusedOn(handle entity)": { "prefix": "IsAttentionFocusedOn", "body": [ - "IsAttentionFocusedOn(${1:handle})$0" + "IsAttentionFocusedOn(${1:handle entity})$0" ], "description": "Is our attention focused on this entity" }, @@ -4746,19 +4942,26 @@ ], "description": "Are we in birthday mode?" }, - "bool IsBlocked(int team, bool)": { + "bool IsBlocked(int team, bool affectsFlow)": { "prefix": "IsBlocked", "body": [ - "IsBlocked(${1:int team}, ${2:bool})$0" + "IsBlocked(${1:int team}, ${2:bool affectsFlow})$0" + ], + "description": "Return true if team is blocked in this area." + }, + "bool IsBotOfType(int type)": { + "prefix": "IsBotOfType", + "body": [ + "IsBotOfType(${1:int type})$0" ], - "description": "Return true if team is blocked in this area" + "description": "" }, "bool IsBottleneck()": { "prefix": "IsBottleneck", "body": [ "IsBottleneck()$0" ], - "description": "Returns true if area is a bottleneck" + "description": "Returns true if area is a bottleneck. (tiny narrow areas with only one path)" }, "bool IsCallingForMedic()": { "prefix": "IsCallingForMedic", @@ -4800,7 +5003,7 @@ "body": [ "IsCompletelyVisibleToTeam(${1:int team})$0" ], - "description": "Return true if given area is completely visible from somewhere in this area by someone on the team" + "description": "Return true if given area is completely visible from somewhere in this area by someone on the team." }, "bool IsConVarOnAllowList(string name)": { "prefix": "IsConVarOnAllowList", @@ -4814,7 +5017,7 @@ "body": [ "IsConnected(${1:handle area}, ${2:int dir})$0" ], - "description": "Return true if given area is connected in given direction" + "description": "Return true if this area is connected to other area in given direction. (If you set direction to -1 or 4, it will automatically check all directions for a connection)." }, "bool IsControlStunned()": { "prefix": "IsControlStunned", @@ -4842,7 +5045,7 @@ "body": [ "IsDamaging()$0" ], - "description": "Return true if continuous damage (ie: fire) is in this area" + "description": "Return true if this area is marked to have continuous damage." }, "bool IsDedicatedServer()": { "prefix": "IsDedicatedServer", @@ -4863,42 +5066,49 @@ "body": [ "IsDegenerate()$0" ], - "description": "Return true if this area is badly formed" + "description": "Return true if this area is badly formed." }, - "bool IsDifficulty(int)": { + "bool IsDifficulty(int difficulty)": { "prefix": "IsDifficulty", "body": [ - "IsDifficulty(${1:int})$0" + "IsDifficulty(${1:int difficulty})$0" ], "description": "Returns true/false if the bot's difficulty level matches." }, - "bool IsEFlagSet(int)": { + "bool IsEFlagSet(int eflag)": { "prefix": "IsEFlagSet", "body": [ - "IsEFlagSet(${1:int})$0" + "IsEFlagSet(${1:int eflag})$0" ], "description": "" }, - "bool IsEdge(int dir)": { + "bool IsEdge(ENavDirType dir)": { "prefix": "IsEdge", "body": [ - "IsEdge(${1:int dir})$0" + "IsEdge(${1:ENavDirType dir})$0" ], - "description": "Return true if there are no bi-directional links on the given side" + "description": "Return true if there are no bi-directional links on the given side." }, - "bool IsEnemy(handle)": { + "bool IsEnemy(handle entity)": { "prefix": "IsEnemy", "body": [ - "IsEnemy(${1:handle})$0" + "IsEnemy(${1:handle entity})$0" ], "description": "Return true if given entity is our enemy" }, - "bool IsEntityTraversable(handle, bool)": { + "bool IsEntityTraversable(handle entity, bool immediately)": { "prefix": "IsEntityTraversable", "body": [ - "IsEntityTraversable(${1:handle}, ${2:bool})$0" + "IsEntityTraversable(${1:handle entity}, ${2:bool immediately})$0" + ], + "description": "Return true if the entity handle is traversable. If immediately is true, breakables are considered non-traverseable" + }, + "bool IsFakeClient()": { + "prefix": "IsFakeClient", + "body": [ + "IsFakeClient()$0" ], - "description": "Return true if the entity handle is traversable" + "description": "" }, "bool IsFireproof()": { "prefix": "IsFireproof", @@ -4919,12 +5129,12 @@ "body": [ "IsFlat()$0" ], - "description": "Return true if this area is approximately flat" + "description": "Return true if this area is approximately flat." }, - "bool IsFriend(handle)": { + "bool IsFriend(handle entity)": { "prefix": "IsFriend", "body": [ - "IsFriend(${1:handle})$0" + "IsFriend(${1:handle entity})$0" ], "description": "Return true if given entity is our friend" }, @@ -4935,12 +5145,12 @@ ], "description": "" }, - "bool IsGap(Vector, Vector)": { + "bool IsGap(Vector pos, Vector forward)": { "prefix": "IsGap", "body": [ - "IsGap(${1:Vector}, ${2:Vector})$0" + "IsGap(${1:Vector pos}, ${2:Vector forward})$0" ], - "description": "Return true if there is a gap here when moving in the given direction" + "description": "Return true if there is a gap at this position." }, "bool IsHolidayActive(int holiday)": { "prefix": "IsHolidayActive", @@ -5115,14 +5325,14 @@ "body": [ "IsOverlapping(${1:handle area})$0" ], - "description": "Return true if 'area' overlaps our 2D extents" + "description": "Return true if 'area' overlaps our 2D extents." }, "bool IsOverlappingOrigin(Vector pos, float tolerance)": { "prefix": "IsOverlappingOrigin", "body": [ "IsOverlappingOrigin(${1:Vector pos}, ${2:float tolerance})$0" ], - "description": "Return true if 'pos' is within 2D extents of area" + "description": "Return true if 'pos' is within 2D extents of area." }, "bool IsPVEModeActive()": { "prefix": "IsPVEModeActive", @@ -5159,12 +5369,12 @@ ], "description": "Returns true if we placed a sapper in the last few moments" }, - "IsPlayer()": { + "bool IsPlayer()": { "prefix": "IsPlayer", "body": [ "IsPlayer()$0" ], - "description": "" + "description": "Checks whether the entity is a player or not." }, "bool IsPlayerABot(handle player)": { "prefix": "IsPlayerABot", @@ -5173,10 +5383,10 @@ ], "description": "Is this player/entity a bot." }, - "bool IsPlayerSpeaking(int)": { + "bool IsPlayerSpeaking(int playerIndex)": { "prefix": "IsPlayerSpeaking", "body": [ - "IsPlayerSpeaking(${1:int})$0" + "IsPlayerSpeaking(${1:int playerIndex})$0" ], "description": "Returns whether the player specified is speaking." }, @@ -5187,19 +5397,19 @@ ], "description": "If this scene is currently playing." }, - "float IsPotentiallyTraversable(Vector, Vector, bool)": { + "float IsPotentiallyTraversable(Vector from, Vector to, bool immediately)": { "prefix": "IsPotentiallyTraversable", "body": [ - "IsPotentiallyTraversable(${1:Vector}, ${2:Vector}, ${3:bool})$0" + "IsPotentiallyTraversable(${1:Vector from}, ${2:Vector to}, ${3:bool immediately})$0" ], - "description": "Return true if this locomotor could potentially move along the line given." + "description": "Checks if this locomotor could potentially move along the line given. Returns fraction of trace result (1 = clear). If immediately is true, breakables are considered non-traverseable" }, "bool IsPotentiallyVisibleToTeam(int team)": { "prefix": "IsPotentiallyVisibleToTeam", "body": [ "IsPotentiallyVisibleToTeam(${1:int team})$0" ], - "description": "Return true if any portion of this area is visible to anyone on the given team" + "description": "Return true if any portion of this area is visible to anyone on the given team." }, "bool IsPowerupMode()": { "prefix": "IsPowerupMode", @@ -5222,10 +5432,10 @@ ], "description": "" }, - "bool IsReachableByTeam(int)": { + "bool IsReachableByTeam(int team)": { "prefix": "IsReachableByTeam", "body": [ - "IsReachableByTeam(${1:int})$0" + "IsReachableByTeam(${1:int team})$0" ], "description": "Is this area reachable by the given team?" }, @@ -5241,7 +5451,7 @@ "body": [ "IsRoughlySquare()$0" ], - "description": "Return true if this area is approximately square" + "description": "Return true if this area is approximately square." }, "bool IsRunning()": { "prefix": "IsRunning", @@ -5285,10 +5495,10 @@ ], "description": "" }, - "bool IsSolidFlagSet(int)": { + "bool IsSolidFlagSet(int solidflag)": { "prefix": "IsSolidFlagSet", "body": [ - "IsSolidFlagSet(${1:int})$0" + "IsSolidFlagSet(${1:int solidflag})$0" ], "description": "" }, @@ -5320,6 +5530,13 @@ ], "description": "Is this nav area marked with the current marking scope?" }, + "bool IsTaunting()": { + "prefix": "IsTaunting", + "body": [ + "IsTaunting()$0" + ], + "description": "" + }, "bool IsTruceActive()": { "prefix": "IsTruceActive", "body": [ @@ -5332,7 +5549,7 @@ "body": [ "IsUnderwater()$0" ], - "description": "Return true if area is underwater" + "description": "Return true if area is underwater." }, "bool IsUsingActionSlot()": { "prefix": "IsUsingActionSlot", @@ -5355,19 +5572,19 @@ ], "description": "" }, - "IsValid()": { + "bool IsValid()": { "prefix": "IsValid", "body": [ "IsValid()$0" ], - "description": "" + "description": "Whether the handle belongs to a valid key." }, "bool IsValidForWanderingPopulation()": { "prefix": "IsValidForWanderingPopulation", "body": [ "IsValidForWanderingPopulation()$0" ], - "description": "Returns true if area is valid for wandering population" + "description": "Returns true if area is valid for wandering population." }, "bool IsViewingCYOAPDA()": { "prefix": "IsViewingCYOAPDA", @@ -5381,7 +5598,7 @@ "body": [ "IsVisible(${1:Vector point})$0" ], - "description": "Return true if area is visible from the given eyepoint" + "description": "Return true if area is visible from the given eyepoint." }, "bool IsWeakref()": { "prefix": "IsWeakref", @@ -5390,10 +5607,10 @@ ], "description": "" }, - "bool IsWeaponRestricted(handle)": { + "bool IsWeaponRestricted(handle weapon)": { "prefix": "IsWeaponRestricted", "body": [ - "IsWeaponRestricted(${1:handle})$0" + "IsWeaponRestricted(${1:handle weapon})$0" ], "description": "Checks if the given weapon is restricted for use on the bot" }, @@ -5404,38 +5621,38 @@ ], "description": "Initiate a simple undirected jump in the air" }, - "void JumpAcrossGap(Vector, Vector)": { + "void JumpAcrossGap(Vector goalPos, Vector goalForward)": { "prefix": "JumpAcrossGap", "body": [ - "JumpAcrossGap(${1:Vector}, ${2:Vector})$0" + "JumpAcrossGap(${1:Vector goalPos}, ${2:Vector goalForward})$0" ], "description": "Initiate a jump across an empty volume of space to far side" }, - "bool KeyValueFromFloat(string, float)": { + "bool KeyValueFromFloat(string key, float value)": { "prefix": "KeyValueFromFloat", "body": [ - "KeyValueFromFloat(${1:string}, ${2:float})$0" + "KeyValueFromFloat(${1:string key}, ${2:float value})$0" ], "description": "Executes KeyValue with a float" }, - "bool KeyValueFromInt(string, int)": { + "bool KeyValueFromInt(string key, int value)": { "prefix": "KeyValueFromInt", "body": [ - "KeyValueFromInt(${1:string}, ${2:int})$0" + "KeyValueFromInt(${1:string key}, ${2:int value})$0" ], "description": "Executes KeyValue with an int" }, - "bool KeyValueFromString(string, string)": { + "bool KeyValueFromString(string key, string value)": { "prefix": "KeyValueFromString", "body": [ - "KeyValueFromString(${1:string}, ${2:string})$0" + "KeyValueFromString(${1:string key}, ${2:string value})$0" ], "description": "Executes KeyValue with a string" }, - "bool KeyValueFromVector(string, Vector)": { + "bool KeyValueFromVector(string key, Vector value)": { "prefix": "KeyValueFromVector", "body": [ - "KeyValueFromVector(${1:string}, ${2:Vector})$0" + "KeyValueFromVector(${1:string key}, ${2:Vector value})$0" ], "description": "Executes KeyValue with a vector" }, @@ -5444,7 +5661,7 @@ "body": [ "Kill()$0" ], - "description": "" + "description": "Removes the entity. Equivalent of firing the Kill I/O input, but instantaneous." }, "LAST_SHARED_COLLISION_GROUP": { "prefix": "LAST_SHARED_COLLISION_GROUP", @@ -5474,12 +5691,12 @@ ], "description": "Makes us leave the current squad (if any)" }, - "Left()": { + "Vector Left()": { "prefix": "Left", "body": [ "Left()$0" ], - "description": "" + "description": "Returns the left Vector of the angles." }, "float Length()": { "prefix": "Length", @@ -5509,10 +5726,10 @@ ], "description": "The magnitude of the vector squared. Faster than the above method." }, - "bool LoadSceneFromString(string, string)": { + "bool LoadSceneFromString(string sceneName, string scene)": { "prefix": "LoadSceneFromString", "body": [ - "LoadSceneFromString(${1:string}, ${2:string})$0" + "LoadSceneFromString(${1:string sceneName}, ${2:string scene})$0" ], "description": "given a dummy scene name and a vcd string, load the scene" }, @@ -5523,54 +5740,47 @@ ], "description": "Returns the entity's local eye angles" }, - "void LocalTime(table)": { + "void LocalTime(table out)": { "prefix": "LocalTime", "body": [ - "LocalTime(${1:table})$0" + "LocalTime(${1:table out})$0" ], "description": "Fills out a table with the local time (second, minute, hour, day, month, year, dayofweek, dayofyear, daylightsavings)" }, - "Log()": { - "prefix": "Log", - "body": [ - "Log()$0" - ], - "description": "" - }, - "int LookupActivity(string)": { + "int LookupActivity(string activity)": { "prefix": "LookupActivity", "body": [ - "LookupActivity(${1:string})$0" + "LookupActivity(${1:string activity})$0" ], - "description": "Get the named activity index" + "description": "Get the named activity index. Returns -1 if the activity does not exist." }, - "int LookupAttachment(string)": { + "int LookupAttachment(string name)": { "prefix": "LookupAttachment", "body": [ - "LookupAttachment(${1:string})$0" + "LookupAttachment(${1:string name})$0" ], - "description": "Get the named attachement id" + "description": "Get the named attachment index. Returns 0 if the attachment does not exist." }, - "int LookupBone(string)": { + "int LookupBone(string bone)": { "prefix": "LookupBone", "body": [ - "LookupBone(${1:string})$0" + "LookupBone(${1:string bone})$0" ], - "description": "Get the named bone index" + "description": "Get the named bone index. Returns -1 if the bone does not exist." }, - "int LookupPoseParameter(string)": { + "int LookupPoseParameter(string name)": { "prefix": "LookupPoseParameter", "body": [ - "LookupPoseParameter(${1:string})$0" + "LookupPoseParameter(${1:string name})$0" ], - "description": "Looks up a pose parameter index by name" + "description": "Gets the pose parameter's index. Returns -1 if the pose parameter does not exist." }, - "int LookupSequence(string)": { + "int LookupSequence(string name)": { "prefix": "LookupSequence", "body": [ - "LookupSequence(${1:string})$0" + "LookupSequence(${1:string name})$0" ], - "description": "Looks up a sequence by sequence name or activity name" + "description": "Looks up a sequence by names of sequences or activities. Returns -1 if the sequence does not exist." }, "MAX_EDICTS": { "prefix": "MAX_EDICTS", @@ -5584,7 +5794,7 @@ "body": [ "MAX_PLAYERS$0" ], - "description": "33" + "description": "101" }, "MINIBOSS": { "prefix": "MINIBOSS", @@ -5726,7 +5936,7 @@ ], "description": "2" }, - "MakeNamespace()": { + "void MakeNamespace()": { "prefix": "MakeNamespace", "body": [ "MakeNamespace()$0" @@ -5745,21 +5955,21 @@ "body": [ "MarkAsBlocked(${1:int team})$0" ], - "description": "Mark this area as blocked for team" + "description": "Mark this area as blocked for team." }, "void MarkAsDamaging(float duration)": { "prefix": "MarkAsDamaging", "body": [ "MarkAsDamaging(${1:float duration})$0" ], - "description": "Mark this area is damaging for the next 'duration' seconds" + "description": "Mark this area is damaging for the next 'duration' seconds." }, "void MarkObstacleToAvoid(float height)": { "prefix": "MarkObstacleToAvoid", "body": [ "MarkObstacleToAvoid(${1:float height})$0" ], - "description": "Marks the obstructed status of the nav area" + "description": "Marks the obstructed status of the nav area." }, "bool MatchmakingShouldUseStopwatchMode()": { "prefix": "MatchmakingShouldUseStopwatchMode", @@ -5768,6 +5978,13 @@ ], "description": "" }, + "float MaxClients()": { + "prefix": "MaxClients", + "body": [ + "MaxClients()$0" + ], + "description": "Get the current number of max clients set by the maxplayers command." + }, "void Msg(string message)": { "prefix": "Msg", "body": [ @@ -5999,17 +6216,17 @@ ], "description": "9" }, - "bool NavAreaBuildPath(CTFNavArea startArea, CTFNavArea endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers)": { + "bool NavAreaBuildPath(handle startArea, handle endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers)": { "prefix": "NavAreaBuildPath", "body": [ - "NavAreaBuildPath(${1:CTFNavArea startArea}, ${2:CTFNavArea endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers})$0" + "NavAreaBuildPath(${1:handle startArea}, ${2:handle endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers})$0" ], "description": "returns true if a path exists" }, - "float NavAreaTravelDistance(TFNavArea startArea, CTFNavArea endArea, float flMaxPathLength)": { + "float NavAreaTravelDistance(handle startArea, handle endArea, float flMaxPathLength)": { "prefix": "NavAreaTravelDistance", "body": [ - "NavAreaTravelDistance(${1:TFNavArea startArea}, ${2:CTFNavArea endArea}, ${3:float flMaxPathLength})$0" + "NavAreaTravelDistance(${1:handle startArea}, ${2:handle endArea}, ${3:float flMaxPathLength})$0" ], "description": "compute distance between two areas. Return -1 if can't reach 'endArea' from 'startArea'" }, @@ -6025,9 +6242,9 @@ "body": [ "NextMovePeer()$0" ], - "description": "" + "description": "Returns the next entity parented with the entity. Intended for iteration use with FirstMoveChild()." }, - "Quaternion Norm()": { + "float Norm()": { "prefix": "Norm", "body": [ "Norm()$0" @@ -6090,17 +6307,24 @@ ], "description": "7" }, - "void OnLandOnGround(handle)": { + "void OnGameEvent_(table params)": { + "prefix": "OnGameEvent_", + "body": [ + "OnGameEvent_(${1:table params})$0" + ], + "description": "Called each time a game event with the specified name occurs. The name of the function needs to be OnGameEvent_ followed by the name of the game event. E.g. for the player_spawn input, it would be OnGameEvent_player_spawn." + }, + "void OnLandOnGround(handle ground)": { "prefix": "OnLandOnGround", "body": [ - "OnLandOnGround(${1:handle})$0" + "OnLandOnGround(${1:handle ground})$0" ], "description": "Manually run the OnLandOnGround callback. Typically invoked when bot lands on the ground after being in the air" }, - "void OnLeaveGround(handle)": { + "void OnLeaveGround(handle ground)": { "prefix": "OnLeaveGround", "body": [ - "OnLeaveGround(${1:handle})$0" + "OnLeaveGround(${1:handle ground})$0" ], "description": "Manually run the OnLeaveGround callback. Typically invoked when bot leaves ground for any reason" }, @@ -6137,7 +6361,7 @@ "body": [ "PI$0" ], - "description": "" + "description": "3.14158" }, "PLAYER_FLAG_BITS": { "prefix": "PLAYER_FLAG_BITS", @@ -6195,19 +6419,19 @@ ], "description": "Object from world is put into the \"Held\" slot of the player. Warning: it will smoothly interpolate from where it is to the players hand - which is a bit goofy if it is on other side of level." }, - "Pitch()": { + "float Pitch()": { "prefix": "Pitch", "body": [ "Pitch()$0" ], - "description": "" + "description": "Returns the pitch angle in degrees." }, - "float PlayScene(string, float)": { + "float PlayScene(string scene_file, float delay)": { "prefix": "PlayScene", "body": [ - "PlayScene(${1:string}, ${2:float})$0" + "PlayScene(${1:string scene_file}, ${2:float delay})$0" ], - "description": "Play the specified .vcd file." + "description": "Play the specified .vcd file, causing the related characters to speak and subtitles to play." }, "CBasePlayer PlayerInstanceFromIndex(int index)": { "prefix": "PlayerInstanceFromIndex", @@ -6216,10 +6440,10 @@ ], "description": "Get a script handle of a player using the player index." }, - "bool PlayerReadyStatus_ArePlayersOnTeamReady(int)": { + "bool PlayerReadyStatus_ArePlayersOnTeamReady(int team)": { "prefix": "PlayerReadyStatus_ArePlayersOnTeamReady", "body": [ - "PlayerReadyStatus_ArePlayersOnTeamReady(${1:int})$0" + "PlayerReadyStatus_ArePlayersOnTeamReady(${1:int team})$0" ], "description": "" }, @@ -6251,12 +6475,12 @@ ], "description": "Are points able to be captured?" }, - "PostScriptExecute()": { + "void PostScriptExecute()": { "prefix": "PostScriptExecute", "body": [ "PostScriptExecute()$0" ], - "description": "" + "description": "Begin searching for all non-native functions with matching prefixes, then push them into the chain array." }, "void PostSpawn(table entities)": { "prefix": "PostSpawn", @@ -6284,7 +6508,7 @@ "body": [ "PrecacheEntityFromTable(${1:table keyvalues})$0" ], - "description": "Precache an entity from KeyValues in a table; useful for entenv_shake." + "description": "Precache an entity from KeyValues in a table. Internally this function creates the entity, fire DispatchSpawn and removes it instantly." }, "int PrecacheModel(string filename)": { "prefix": "PrecacheModel", @@ -6293,45 +6517,45 @@ ], "description": "Precache a model and return index of the model." }, - "void PrecacheScriptSound(string)": { + "bool PrecacheScriptSound(string soundName)": { "prefix": "PrecacheScriptSound", "body": [ - "PrecacheScriptSound(${1:string})$0" + "PrecacheScriptSound(${1:string soundName})$0" ], - "description": "" + "description": "Preache a soundscript." }, "void PrecacheSound(string soundName)": { "prefix": "PrecacheSound", "body": [ "PrecacheSound(${1:string soundName})$0" ], - "description": "Precache a sound." + "description": "Precache a raw sound." }, - "void PrecacheSoundScript(string)": { + "void PrecacheSoundScript(string soundscript)": { "prefix": "PrecacheSoundScript", "body": [ - "PrecacheSoundScript(${1:string})$0" + "PrecacheSoundScript(${1:string soundscript})$0" ], - "description": "Precache a sound for later playing." + "description": "Precache a sound script. Same as PrecacheScriptSound." }, - "void PressAltFireButton(float)": { + "void PressAltFireButton(float duration)": { "prefix": "PressAltFireButton", "body": [ - "PressAltFireButton(${1:float})$0" + "PressAltFireButton(${1:float duration})$0" ], "description": "" }, - "void PressFireButton(float)": { + "void PressFireButton(float duration)": { "prefix": "PressFireButton", "body": [ - "PressFireButton(${1:float})$0" + "PressFireButton(${1:float duration})$0" ], "description": "" }, - "void PressSpecialFireButton(float)": { + "void PressSpecialFireButton(float duration)": { "prefix": "PressSpecialFireButton", "body": [ - "PressSpecialFireButton(${1:float})$0" + "PressSpecialFireButton(${1:float duration})$0" ], "description": "" }, @@ -6347,7 +6571,14 @@ "body": [ "PrintHelp()$0" ], - "description": "" + "description": "Equivalent to running script_help command." + }, + "QAngle(float pitch = 0, float yaw = 0, float roll = 0)": { + "prefix": "QAngle", + "body": [ + "QAngle(${1:float pitch = 0}, ${2:float yaw = 0}, ${3:float roll = 0})$0" + ], + "description": "Creates a new QAngle." }, "QUOTA_MANANGED": { "prefix": "QUOTA_MANANGED", @@ -6361,14 +6592,63 @@ "body": [ "Quaternion(${1:float x}, ${2:float y}, ${3:float z}, ${4:float w})$0" ], - "description": "Creates a new quaternion of the form w + x i + y j + z k." + "description": "Creates a new quaternion of the form w + xi + yj + zk." }, "RAND_MAX": { "prefix": "RAND_MAX", "body": [ "RAND_MAX$0" ], - "description": "" + "description": "32767" + }, + "RECIPIENT_FILTER_DEFAULT": { + "prefix": "RECIPIENT_FILTER_DEFAULT", + "body": [ + "RECIPIENT_FILTER_DEFAULT$0" + ], + "description": "0" + }, + "RECIPIENT_FILTER_GLOBAL": { + "prefix": "RECIPIENT_FILTER_GLOBAL", + "body": [ + "RECIPIENT_FILTER_GLOBAL$0" + ], + "description": "5" + }, + "RECIPIENT_FILTER_PAS": { + "prefix": "RECIPIENT_FILTER_PAS", + "body": [ + "RECIPIENT_FILTER_PAS$0" + ], + "description": "2" + }, + "RECIPIENT_FILTER_PAS_ATTENUATION": { + "prefix": "RECIPIENT_FILTER_PAS_ATTENUATION", + "body": [ + "RECIPIENT_FILTER_PAS_ATTENUATION$0" + ], + "description": "1" + }, + "RECIPIENT_FILTER_PVS": { + "prefix": "RECIPIENT_FILTER_PVS", + "body": [ + "RECIPIENT_FILTER_PVS$0" + ], + "description": "3" + }, + "RECIPIENT_FILTER_SINGLE_PLAYER": { + "prefix": "RECIPIENT_FILTER_SINGLE_PLAYER", + "body": [ + "RECIPIENT_FILTER_SINGLE_PLAYER$0" + ], + "description": "4" + }, + "RECIPIENT_FILTER_TEAM": { + "prefix": "RECIPIENT_FILTER_TEAM", + "body": [ + "RECIPIENT_FILTER_TEAM$0" + ], + "description": "6" }, "REMOVE_ON_DEATH": { "prefix": "REMOVE_ON_DEATH", @@ -6412,10 +6692,10 @@ ], "description": "Relinks attributes to provisioners, e.g. calling this on a weapon will add it's attributes to the player" }, - "void Regenerate(bool)": { + "void Regenerate(bool refill_health_ammo)": { "prefix": "Regenerate", "body": [ - "Regenerate(${1:bool})$0" + "Regenerate(${1:bool refill_health_ammo})$0" ], "description": "Resupplies a player. If regen health/ammo is set, clears negative conds, gives back player health/ammo" }, @@ -6440,10 +6720,10 @@ ], "description": "Register as a listener for a game event from script. It's what __CollectGameEventCallbacks() uses to register event callbacks to the C++ code." }, - "void RegisterScriptHookListener(string)": { + "void RegisterScriptHookListener(string name)": { "prefix": "RegisterScriptHookListener", "body": [ - "RegisterScriptHookListener(${1:string})$0" + "RegisterScriptHookListener(${1:string name})$0" ], "description": "Register as a listener for a script hook from script." }, @@ -6454,52 +6734,52 @@ ], "description": "Releases the contents of the instance." }, - "void RemoveAllItems(bool)": { + "void RemoveAllItems(bool unused)": { "prefix": "RemoveAllItems", "body": [ - "RemoveAllItems(${1:bool})$0" + "RemoveAllItems(${1:bool unused})$0" ], "description": "" }, - "void RemoveAllObjects(bool)": { + "void RemoveAllObjects(bool explode)": { "prefix": "RemoveAllObjects", "body": [ - "RemoveAllObjects(${1:bool})$0" + "RemoveAllObjects(${1:bool explode})$0" ], "description": "Remove all player objects. Eg. dispensers/sentries." }, - "void RemoveAttribute(string)": { + "void RemoveAttribute(string name)": { "prefix": "RemoveAttribute", "body": [ - "RemoveAttribute(${1:string})$0" + "RemoveAttribute(${1:string name})$0" ], "description": "Remove an attribute to the entity" }, - "void RemoveAttributes(int)": { + "void RemoveAttributes(int bits)": { "prefix": "RemoveAttributes", "body": [ - "RemoveAttributes(${1:int})$0" + "RemoveAttributes(${1:int bits})$0" ], - "description": "Removes area attribute bits" + "description": "Removes area attribute bits." }, - "void RemoveBotAttribute(int)": { + "void RemoveBotAttribute(int attribute)": { "prefix": "RemoveBotAttribute", "body": [ - "RemoveBotAttribute(${1:int})$0" + "RemoveBotAttribute(${1:int attribute})$0" ], "description": "Removes attribute flags on this TFBot" }, - "void RemoveBotTag(string)": { + "void RemoveBotTag(string tag)": { "prefix": "RemoveBotTag", "body": [ - "RemoveBotTag(${1:string})$0" + "RemoveBotTag(${1:string tag})$0" ], "description": "Removes a bot tag" }, - "void RemoveBroadcastTeamTarget(int)": { + "void RemoveBroadcastTeamTarget(int index)": { "prefix": "RemoveBroadcastTeamTarget", "body": [ - "RemoveBroadcastTeamTarget(${1:int})$0" + "RemoveBroadcastTeamTarget(${1:int index})$0" ], "description": "Removes a team (by index) from the broadcast list" }, @@ -6517,17 +6797,17 @@ ], "description": "" }, - "void RemoveCurrency(int)": { + "void RemoveCurrency(int amount)": { "prefix": "RemoveCurrency", "body": [ - "RemoveCurrency(${1:int})$0" + "RemoveCurrency(${1:int amount})$0" ], "description": "Take away money from a player for reasons such as ie. spending." }, - "void RemoveCustomAttribute(string)": { + "void RemoveCustomAttribute(string name)": { "prefix": "RemoveCustomAttribute", "body": [ - "RemoveCustomAttribute(${1:string})$0" + "RemoveCustomAttribute(${1:string name})$0" ], "description": "Remove a custom attribute to the player" }, @@ -6545,20 +6825,27 @@ ], "description": "Undisguise a spy." }, - "void RemoveEFlags(int)": { + "void RemoveEFlags(int eflags)": { "prefix": "RemoveEFlags", "body": [ - "RemoveEFlags(${1:int})$0" + "RemoveEFlags(${1:int eflags})$0" ], "description": "" }, - "void RemoveFlag(int)": { + "void RemoveFlag(int flags)": { "prefix": "RemoveFlag", "body": [ - "RemoveFlag(${1:int})$0" + "RemoveFlag(${1:int flags})$0" ], "description": "" }, + "void RemoveHudHideFlags(int flags)": { + "prefix": "RemoveHudHideFlags", + "body": [ + "RemoveHudHideFlags(${1:int flags})$0" + ], + "description": "Unhides a hud element based on Constants.FHideHUD" + }, "void RemoveInvisibility()": { "prefix": "RemoveInvisibility", "body": [ @@ -6566,12 +6853,12 @@ ], "description": "Un-invisible a spy." }, - "void RemoveOrthogonalConnections(int dir)": { + "void RemoveOrthogonalConnections(ENavDirType dir)": { "prefix": "RemoveOrthogonalConnections", "body": [ - "RemoveOrthogonalConnections(${1:int dir})$0" + "RemoveOrthogonalConnections(${1:ENavDirType dir})$0" ], - "description": "Removes all connections in directions to left and right of specified direction" + "description": "Removes all connections in directions to left and right of specified direction." }, "void RemoveOutput(handle entity, string outputName, string targetName, string inputName, string parameter)": { "prefix": "RemoveOutput", @@ -6580,10 +6867,10 @@ ], "description": "Removes an output from the entity." }, - "void RemoveSolidFlags(int)": { + "void RemoveSolidFlags(int solidflags)": { "prefix": "RemoveSolidFlags", "body": [ - "RemoveSolidFlags(${1:int})$0" + "RemoveSolidFlags(${1:int solidflags})$0" ], "description": "" }, @@ -6594,19 +6881,19 @@ ], "description": "" }, - "void RemoveWeaponRestriction(int)": { + "void RemoveWeaponRestriction(int flags)": { "prefix": "RemoveWeaponRestriction", "body": [ - "RemoveWeaponRestriction(${1:int})$0" + "RemoveWeaponRestriction(${1:int flags})$0" ], "description": "Removes weapon restriction flags" }, - "void Reset()": { + "Reset()": { "prefix": "Reset", "body": [ "Reset()$0" ], - "description": "Resets the internal update state" + "description": "Resets motion, stuck state, etc" }, "void ResetScores()": { "prefix": "ResetScores", @@ -6615,12 +6902,12 @@ ], "description": "" }, - "void ResetSequence(int)": { + "void ResetSequence(int ID)": { "prefix": "ResetSequence", "body": [ - "ResetSequence(${1:int})$0" + "ResetSequence(${1:int ID})$0" ], - "description": "Reset a sequence by id. If the id is different than the current sequence, switch to the new sequence" + "description": "Reset a sequence by sequence ID. If the ID is different than the current sequence, switch to the new sequence." }, "Resolve()": { "prefix": "Resolve", @@ -6629,19 +6916,19 @@ ], "description": "" }, - "RetrieveNativeSignature()": { + "string RetrieveNativeSignature(function func)": { "prefix": "RetrieveNativeSignature", "body": [ - "RetrieveNativeSignature()$0" + "RetrieveNativeSignature(${1:function func})$0" ], "description": "" }, - "Roll()": { + "float Roll()": { "prefix": "Roll", "body": [ "Roll()$0" ], - "description": "" + "description": "Returns the roll angle in degrees." }, "void RollRareSpell()": { "prefix": "RollRareSpell", @@ -6914,7 +7201,7 @@ "body": [ "ScreenFade(${1:handle player}, ${2:int red}, ${3:int green}, ${4:int blue}, ${5:int alpha}, ${6:float fadeTime}, ${7:float fadeHold}, ${8:int flags})$0" ], - "description": "Start a customisable screenfade." + "description": "Start a customisable screenfade. If no player is specified, the fade will apply to all players." }, "void ScreenShake(Vector vecCenter, float flAmplitude, float flFrequency, float flDuration, float flRadius, int eCommand, bool bAirShake)": { "prefix": "ScreenShake", @@ -7147,6 +7434,20 @@ ], "description": "" }, + "ScriptEventCallbacks": { + "prefix": "ScriptEventCallbacks", + "body": [ + "ScriptEventCallbacks$0" + ], + "description": "Table of registered script event callbacks." + }, + "ScriptHookCallbacks": { + "prefix": "ScriptHookCallbacks", + "body": [ + "ScriptHookCallbacks$0" + ], + "description": "Table of registered script hook callbacks." + }, "bool ScriptHooksEnabled()": { "prefix": "ScriptHooksEnabled", "body": [ @@ -7161,10 +7462,10 @@ ], "description": "Force a secondary attack" }, - "bool SendGlobalGameEvent(string, handle)": { + "bool SendGlobalGameEvent(string event_name, handle params)": { "prefix": "SendGlobalGameEvent", "body": [ - "SendGlobalGameEvent(${1:string}, ${2:handle})$0" + "SendGlobalGameEvent(${1:string event_name}, ${2:handle params})$0" ], "description": "Sends a real game event to everything. Parameters are passed in a squirrel table." }, @@ -7173,7 +7474,7 @@ "body": [ "SendToConsole(${1:string command})$0" ], - "description": "Send a string to the console as a command. Note: this obeys the behavior of the sv_allow_point_servercommand convar. By default, this command will do nothing unless the server has this command to set to \"always\"" + "description": "Issues a command to the local client, as if they typed in the command in their console. Does nothing on dedicated servers." }, "void SendToConsoleServer(string command)": { "prefix": "SendToConsoleServer", @@ -7187,77 +7488,77 @@ "body": [ "SendToServerConsole(${1:string command})$0" ], - "description": "Send a string that gets executed on the server as a ServerCommand." + "description": "Issues a command to the server, as if typed in the console." }, - "void SetAbsAngles(QAngle)": { + "void SetAbsAngles(QAngle angles)": { "prefix": "SetAbsAngles", "body": [ - "SetAbsAngles(${1:QAngle})$0" + "SetAbsAngles(${1:QAngle angles})$0" ], "description": "Set entity pitch, yaw, roll as QAngles" }, - "void SetAbsOrigin(Vector)": { + "void SetAbsOrigin(Vector origin)": { "prefix": "SetAbsOrigin", "body": [ - "SetAbsOrigin(${1:Vector})$0" + "SetAbsOrigin(${1:Vector origin})$0" ], - "description": "SetAbsOrigin" + "description": "Sets the absolute origin of the entity." }, "void SetAbsVelocity(Vector)": { "prefix": "SetAbsVelocity", "body": [ "SetAbsVelocity(${1:Vector})$0" ], - "description": "Sets the current absolute velocity of the entity" + "description": "Sets the current absolute velocity velocity of the entity" }, - "void SetAngles(float, float, float)": { + "void SetAngles(float pitch, float yaw, float roll)": { "prefix": "SetAngles", "body": [ - "SetAngles(${1:float}, ${2:float}, ${3:float})$0" + "SetAngles(${1:float pitch}, ${2:float yaw}, ${3:float roll})$0" ], - "description": "Set entity pitch, yaw, roll." + "description": "Set entity angles." }, - "void SetAngularVelocity(float, float, float)": { + "void SetAngularVelocity(float pitch, float yaw, float roll)": { "prefix": "SetAngularVelocity", "body": [ - "SetAngularVelocity(${1:float}, ${2:float}, ${3:float})$0" + "SetAngularVelocity(${1:float pitch}, ${2:float yaw}, ${3:float roll})$0" ], - "description": "Set the local angular velocity - takes float pitch,yaw,roll velocities" + "description": "Set the local angular velocity." }, - "void SetAttentionFocus(handle)": { + "void SetAttentionFocus(handle entity)": { "prefix": "SetAttentionFocus", "body": [ - "SetAttentionFocus(${1:handle})$0" + "SetAttentionFocus(${1:handle entity})$0" ], "description": "Sets our current attention focus to this entity" }, - "void SetAttributeTF(int)": { + "void SetAttributeTF(int bits)": { "prefix": "SetAttributeTF", "body": [ - "SetAttributeTF(${1:int})$0" + "SetAttributeTF(${1:int bits})$0" ], - "description": "Set TF-specific area attributes" + "description": "Set TF-specific area attributes." }, - "void SetAttributes(int)": { + "void SetAttributes(int bits)": { "prefix": "SetAttributes", "body": [ - "SetAttributes(${1:int})$0" + "SetAttributes(${1:int bits})$0" ], - "description": "Set area attribute bits" + "description": "Set area attribute bits." }, - "void SetAutoJump(float, float)": { + "void SetAutoJump(float minTime, float maxTime)": { "prefix": "SetAutoJump", "body": [ - "SetAutoJump(${1:float}, ${2:float})$0" + "SetAutoJump(${1:float minTime}, ${2:float maxTime})$0" ], "description": "Sets if the bot should automatically jump" }, - "void SetBodygroup(int, int)": { + "void SetBodygroup(int ID, int value)": { "prefix": "SetBodygroup", "body": [ - "SetBodygroup(${1:int}, ${2:int})$0" + "SetBodygroup(${1:int ID}, ${2:int value})$0" ], - "description": "Sets a bodygroup" + "description": "Set the bodygroup by ID." }, "void SetClip1(int)": { "prefix": "SetClip1", @@ -7273,12 +7574,12 @@ ], "description": "Set current ammo in clip2" }, - "void SetCollisionGroup(int)": { + "void SetCollisionGroup(int collision_group)": { "prefix": "SetCollisionGroup", "body": [ - "SetCollisionGroup(${1:int})$0" + "SetCollisionGroup(${1:int collision_group})$0" ], - "description": "" + "description": "Set the current collision group of the entity. See Constants.ECollisionGroup" }, "void SetCondDuration(ETFCond cond, float duration)": { "prefix": "SetCondDuration", @@ -7287,82 +7588,82 @@ ], "description": "" }, - "void SetCurrency(int)": { + "void SetCurrency(int amount)": { "prefix": "SetCurrency", "body": [ - "SetCurrency(${1:int})$0" + "SetCurrency(${1:int amount})$0" ], "description": "Set player's cash for game modes with upgrades, ie. MvM" }, - "void SetCurrentTauntMoveSpeed(float)": { + "void SetCurrentTauntMoveSpeed(float speed)": { "prefix": "SetCurrentTauntMoveSpeed", "body": [ - "SetCurrentTauntMoveSpeed(${1:float})$0" + "SetCurrentTauntMoveSpeed(${1:float speed})$0" ], "description": "" }, - "void SetCustomModel(string)": { + "void SetCustomModel(string model_name)": { "prefix": "SetCustomModel", "body": [ - "SetCustomModel(${1:string})$0" + "SetCustomModel(${1:string model_name})$0" ], "description": "" }, - "void SetCustomModelOffset(Vector)": { + "void SetCustomModelOffset(Vector offset)": { "prefix": "SetCustomModelOffset", "body": [ - "SetCustomModelOffset(${1:Vector})$0" + "SetCustomModelOffset(${1:Vector offset})$0" ], "description": "" }, - "void SetCustomModelRotates(bool)": { + "void SetCustomModelRotates(bool toggle)": { "prefix": "SetCustomModelRotates", "body": [ - "SetCustomModelRotates(${1:bool})$0" + "SetCustomModelRotates(${1:bool toggle})$0" ], "description": "" }, - "void SetCustomModelRotation(QAngle)": { + "void SetCustomModelRotation(QAngle angles)": { "prefix": "SetCustomModelRotation", "body": [ - "SetCustomModelRotation(${1:QAngle})$0" + "SetCustomModelRotation(${1:QAngle angles})$0" ], "description": "" }, - "void SetCustomModelVisibleToSelf(bool)": { + "void SetCustomModelVisibleToSelf(bool toggle)": { "prefix": "SetCustomModelVisibleToSelf", "body": [ - "SetCustomModelVisibleToSelf(${1:bool})$0" + "SetCustomModelVisibleToSelf(${1:bool toggle})$0" ], "description": "" }, - "void SetCustomModelWithClassAnimations(string)": { + "void SetCustomModelWithClassAnimations(string model_name)": { "prefix": "SetCustomModelWithClassAnimations", "body": [ - "SetCustomModelWithClassAnimations(${1:string})$0" + "SetCustomModelWithClassAnimations(${1:string model_name})$0" ], "description": "" }, - "void SetCustomViewModel(string)": { + "void SetCustomViewModel(string model_name)": { "prefix": "SetCustomViewModel", "body": [ - "SetCustomViewModel(${1:string})$0" + "SetCustomViewModel(${1:string model_name})$0" ], "description": "Sets a custom view model for this weapon by model name" }, - "void SetCustomViewModelModelIndex(int)": { + "void SetCustomViewModelModelIndex(int model_index)": { "prefix": "SetCustomViewModelModelIndex", "body": [ - "SetCustomViewModelModelIndex(${1:int})$0" + "SetCustomViewModelModelIndex(${1:int model_index})$0" ], "description": "Sets a custom view model for this weapon by modelindex" }, - "void SetCycle(float)": { + "void SetCycle(float cycle)": { "prefix": "SetCycle", "body": [ - "SetCycle(${1:float})$0" + "SetCycle(${1:float cycle})$0" ], - "description": "Sets the models current cycle" + "description": "Sets the model's current animation cycle from 0 to 1." }, "void SetDesiredSpeed(float)": { "prefix": "SetDesiredSpeed", @@ -7371,31 +7672,31 @@ ], "description": "Set desired speed for locomotor movement" }, - "void SetDifficulty(int)": { + "void SetDifficulty(int difficulty)": { "prefix": "SetDifficulty", "body": [ - "SetDifficulty(${1:int})$0" + "SetDifficulty(${1:int difficulty})$0" ], "description": "Sets the bots difficulty level" }, - "void SetDisguiseAmmoCount(int)": { + "void SetDisguiseAmmoCount(int count)": { "prefix": "SetDisguiseAmmoCount", "body": [ - "SetDisguiseAmmoCount(${1:int})$0" + "SetDisguiseAmmoCount(${1:int count})$0" ], "description": "" }, - "void SetDrawEnabled(bool)": { + "void SetDrawEnabled(bool toggle)": { "prefix": "SetDrawEnabled", "body": [ - "SetDrawEnabled(${1:bool})$0" + "SetDrawEnabled(${1:bool toggle})$0" ], "description": "Enables drawing if you pass true, disables drawing if you pass false." }, - "void SetEFlags(int)": { + "void SetEFlags(int eflags)": { "prefix": "SetEFlags", "body": [ - "SetEFlags(${1:int})$0" + "SetEFlags(${1:int eflags})$0" ], "description": "" }, @@ -7406,45 +7707,45 @@ ], "description": "Sets a USERINFO client ConVar for a fakeclient." }, - "void SetForceLocalDraw(bool)": { + "void SetForceLocalDraw(bool forceDraw)": { "prefix": "SetForceLocalDraw", "body": [ - "SetForceLocalDraw(${1:bool})$0" + "SetForceLocalDraw(${1:bool forceDraw})$0" ], - "description": "Forces the player to be drawn as if they are third person" + "description": "Forces the player to be drawn as if they were in thirdperson." }, - "void SetForcedTauntCam(int)": { + "void SetForcedTauntCam(int toggle)": { "prefix": "SetForcedTauntCam", "body": [ - "SetForcedTauntCam(${1:int})$0" + "SetForcedTauntCam(${1:int toggle})$0" ], "description": "" }, - "void SetForwardVector(Vector)": { + "void SetForwardVector(Vector forward)": { "prefix": "SetForwardVector", "body": [ - "SetForwardVector(${1:Vector})$0" + "SetForwardVector(${1:Vector forward})$0" ], "description": "Set the orientation of the entity to have this forward vector" }, - "void SetFriction(float)": { + "void SetFriction(float friction)": { "prefix": "SetFriction", "body": [ - "SetFriction(${1:float})$0" + "SetFriction(${1:float friction})$0" ], "description": "" }, - "void SetGrapplingHookTarget(handle, bool)": { + "void SetGrapplingHookTarget(handle entity, bool bleed)": { "prefix": "SetGrapplingHookTarget", "body": [ - "SetGrapplingHookTarget(${1:handle}, ${2:bool})$0" + "SetGrapplingHookTarget(${1:handle entity}, ${2:bool bleed})$0" ], "description": "Set the player's target grapple entity" }, - "void SetGravity(float)": { + "void SetGravity(float gravity)": { "prefix": "SetGravity", "body": [ - "SetGravity(${1:float})$0" + "SetGravity(${1:float gravity})$0" ], "description": "" }, @@ -7455,45 +7756,52 @@ ], "description": "" }, - "void SetGroupSpawnTables(handle, handle)": { + "void SetGroupSpawnTables(table)": { "prefix": "SetGroupSpawnTables", "body": [ - "SetGroupSpawnTables(${1:handle}, ${2:handle})$0" + "SetGroupSpawnTables(${1:table})$0" ], "description": "Cache the group spawn tables" }, - "void SetHealth(int)": { + "void SetHealth(int health)": { "prefix": "SetHealth", "body": [ - "SetHealth(${1:int})$0" + "SetHealth(${1:int health})$0" ], "description": "" }, - "void SetHomeArea(handle)": { + "void SetHomeArea(handle area)": { "prefix": "SetHomeArea", "body": [ - "SetHomeArea(${1:handle})$0" + "SetHomeArea(${1:handle area})$0" + ], + "description": "Set the home nav area of the bot, may be null." + }, + "void SetHudHideFlags(int flags)": { + "prefix": "SetHudHideFlags", + "body": [ + "SetHudHideFlags(${1:int flags})$0" ], - "description": "Returns the home nav area of the bot -- may be nil." + "description": "Force hud hide flags to a value based on Constants.FHideHUD" }, - "void SetIsMiniBoss(bool)": { + "void SetIsMiniBoss(bool toggle)": { "prefix": "SetIsMiniBoss", "body": [ - "SetIsMiniBoss(${1:bool})$0" + "SetIsMiniBoss(${1:bool toggle})$0" ], "description": "Make this player an MvM mini-boss." }, - "void SetLocalAngles(QAngle)": { + "void SetLocalAngles(QAngle angles)": { "prefix": "SetLocalAngles", "body": [ - "SetLocalAngles(${1:QAngle})$0" + "SetLocalAngles(${1:QAngle angles})$0" ], "description": "" }, - "void SetLocalOrigin(Vector)": { + "void SetLocalOrigin(Vector origin)": { "prefix": "SetLocalOrigin", "body": [ - "SetLocalOrigin(${1:Vector})$0" + "SetLocalOrigin(${1:Vector origin})$0" ], "description": "" }, @@ -7504,38 +7812,38 @@ ], "description": "" }, - "void SetMaxHealth(int)": { + "void SetMaxHealth(int health)": { "prefix": "SetMaxHealth", "body": [ - "SetMaxHealth(${1:int})$0" + "SetMaxHealth(${1:int health})$0" ], - "description": "" + "description": "Sets the maximum health this entity can have. Does not update the current health, so SetHealth should be used afterwards." }, - "void SetMaxVisionRangeOverride(float)": { + "void SetMaxVisionRangeOverride(float range)": { "prefix": "SetMaxVisionRangeOverride", "body": [ - "SetMaxVisionRangeOverride(${1:float})$0" + "SetMaxVisionRangeOverride(${1:float range})$0" ], "description": "Sets max vision range override for the bot" }, - "void SetModel(string)": { + "void SetModel(string model_name)": { "prefix": "SetModel", "body": [ - "SetModel(${1:string})$0" + "SetModel(${1:string model_name})$0" ], "description": "Set a model for this entity" }, - "void SetModelScale(float, float)": { + "void SetModelScale(float scale, float change_duration)": { "prefix": "SetModelScale", "body": [ - "SetModelScale(${1:float}, ${2:float})$0" + "SetModelScale(${1:float scale}, ${2:float change_duration})$0" ], - "description": "(scale, change_duration) Changes a model's scale over time" + "description": "Changes a model's scale over time. Set the change duration to 0.0 to change the scale instantly." }, - "void SetModelSimple(string)": { + "void SetModelSimple(string model_name)": { "prefix": "SetModelSimple", "body": [ - "SetModelSimple(${1:string})$0" + "SetModelSimple(${1:string model_name})$0" ], "description": "Set a model for this entity. Matches easier behaviour of the SetModel input, automatically precaches, maintains sequence/cycle if possible." }, @@ -7546,31 +7854,31 @@ ], "description": "" }, - "void SetNextChangeClassTime(float)": { + "void SetNextChangeClassTime(float time)": { "prefix": "SetNextChangeClassTime", "body": [ - "SetNextChangeClassTime(${1:float})$0" + "SetNextChangeClassTime(${1:float time})$0" ], "description": "Set next change class time." }, - "void SetNextChangeTeamTime(float)": { + "void SetNextChangeTeamTime(float time)": { "prefix": "SetNextChangeTeamTime", "body": [ - "SetNextChangeTeamTime(${1:float})$0" + "SetNextChangeTeamTime(${1:float time})$0" ], "description": "Set next change team time." }, - "void SetNextRegenTime(float)": { + "void SetNextRegenTime(float time)": { "prefix": "SetNextRegenTime", "body": [ - "SetNextRegenTime(${1:float})$0" + "SetNextRegenTime(${1:float time})$0" ], - "description": "Set next health regen time." + "description": "Set next available resupply time." }, - "void SetOrigin(Vector)": { + "void SetOrigin(Vector origin)": { "prefix": "SetOrigin", "body": [ - "SetOrigin(${1:Vector})$0" + "SetOrigin(${1:Vector origin})$0" ], "description": "" }, @@ -7581,24 +7889,24 @@ ], "description": "" }, - "void SetOwner(handle)": { + "void SetOwner(handle entity)": { "prefix": "SetOwner", "body": [ - "SetOwner(${1:handle})$0" + "SetOwner(${1:handle entity})$0" ], "description": "Sets this entity's owner" }, - "void SetPhysAngularVelocity(Vector)": { + "void SetPhysAngularVelocity(Vector angular_velocity)": { "prefix": "SetPhysAngularVelocity", "body": [ - "SetPhysAngularVelocity(${1:Vector})$0" + "SetPhysAngularVelocity(${1:Vector angular_velocity})$0" ], "description": "" }, - "void SetPhysVelocity(Vector)": { + "void SetPhysVelocity(Vector velocity)": { "prefix": "SetPhysVelocity", "body": [ - "SetPhysVelocity(${1:Vector})$0" + "SetPhysVelocity(${1:Vector velocity})$0" ], "description": "" }, @@ -7614,21 +7922,21 @@ "body": [ "SetPlaceName(${1:string name})$0" ], - "description": "Set place name" + "description": "Set place name. If you pass null, the place name will be set to nothing." }, - "void SetPlaybackRate(float)": { + "void SetPlaybackRate(float rate)": { "prefix": "SetPlaybackRate", "body": [ - "SetPlaybackRate(${1:float})$0" + "SetPlaybackRate(${1:float rate})$0" ], - "description": "Set the current playback rate." + "description": "Set the current animation's playback rate." }, - "void SetPlayerClass(int)": { + "void SetPlayerClass(int class)": { "prefix": "SetPlayerClass", "body": [ - "SetPlayerClass(${1:int})$0" + "SetPlayerClass(${1:int class})$0" ], - "description": "" + "description": "Sets the player class. Updates the player's visuals and model." }, "void SetPlayersInHell(bool state)": { "prefix": "SetPlayersInHell", @@ -7637,12 +7945,12 @@ ], "description": "" }, - "float SetPoseParameter(int, float)": { + "float SetPoseParameter(int ID, float value)": { "prefix": "SetPoseParameter", "body": [ - "SetPoseParameter(${1:int}, ${2:float})$0" + "SetPoseParameter(${1:int ID}, ${2:float value})$0" ], - "description": "(id, value) Sets a pose parameter value" + "description": "Sets a pose parameter value. Returns the effective value after clamping or looping." }, "void SetPropBool(handle entity, string propertyName, bool value)": { "prefix": "SetPropBool", @@ -7728,80 +8036,87 @@ ], "description": "Sets a netprop from an array to the specified vector." }, - "void SetRageMeter(float)": { + "void SetRPSResult(int result)": { + "prefix": "SetRPSResult", + "body": [ + "SetRPSResult(${1:int result})$0" + ], + "description": "Rig the result of Rock-Paper-Scissors (0 - rock, 1 - paper, 2 - scissors)" + }, + "void SetRageMeter(float percent)": { "prefix": "SetRageMeter", "body": [ - "SetRageMeter(${1:float})$0" + "SetRageMeter(${1:float percent})$0" ], - "description": "" + "description": "Sets rage meter from 0 - 100." }, - "void SetScaleOverride(float)": { + "void SetScaleOverride(float scale)": { "prefix": "SetScaleOverride", "body": [ - "SetScaleOverride(${1:float})$0" + "SetScaleOverride(${1:float scale})$0" ], "description": "Sets the scale override for the bot" }, - "void SetScoutHypeMeter(float)": { + "void SetScoutHypeMeter(float percent)": { "prefix": "SetScoutHypeMeter", "body": [ - "SetScoutHypeMeter(${1:float})$0" + "SetScoutHypeMeter(${1:float percent})$0" ], - "description": "" + "description": "Sets hype meter from 0 - 100." }, - "void SetScriptOverlayMaterial(string)": { + "void SetScriptOverlayMaterial(string material)": { "prefix": "SetScriptOverlayMaterial", "body": [ - "SetScriptOverlayMaterial(${1:string})$0" + "SetScriptOverlayMaterial(${1:string material})$0" ], - "description": " Sets a view overlay material" + "description": "Sets the overlay material that can't be overriden by other overlays. E.g. Jarate." }, - "void SetSequence(int)": { + "void SetSequence(int ID)": { "prefix": "SetSequence", "body": [ - "SetSequence(${1:int})$0" + "SetSequence(${1:int ID})$0" ], - "description": "Set a sequence by id" + "description": "Plays a sequence by sequence ID." }, - "void SetShouldQuickBuild(bool)": { + "void SetShouldQuickBuild(bool toggle)": { "prefix": "SetShouldQuickBuild", "body": [ - "SetShouldQuickBuild(${1:bool})$0" + "SetShouldQuickBuild(${1:bool toggle})$0" ], "description": "Sets if the bot should build instantly" }, - "void SetSize(Vector, Vector)": { + "void SetSize(Vector mins, Vector maxs)": { "prefix": "SetSize", "body": [ - "SetSize(${1:Vector}, ${2:Vector})$0" + "SetSize(${1:Vector mins}, ${2:Vector maxs})$0" ], - "description": "" + "description": "Sets the bounding box's scale for this entity." }, - "void SetSkin(int)": { + "void SetSkin(int index)": { "prefix": "SetSkin", "body": [ - "SetSkin(${1:int})$0" + "SetSkin(${1:int index})$0" ], - "description": "Sets the skin." + "description": "Sets the model's skin." }, - "void SetSkyboxTexture(string)": { + "void SetSkyboxTexture(string texture)": { "prefix": "SetSkyboxTexture", "body": [ - "SetSkyboxTexture(${1:string})$0" + "SetSkyboxTexture(${1:string texture})$0" ], - "description": "Sets the current skybox texture" + "description": "Sets the current skybox texture. The path is relative to \"materials/skybox/\". Only the main name of a skybox texture is needed, for example \"sky_gravel_01\"." }, - "SetSolid(int)": { + "SetSolid(int solid)": { "prefix": "SetSolid", "body": [ - "SetSolid(${1:int})$0" + "SetSolid(${1:int solid})$0" ], "description": "" }, - "SetSolidFlags(int)": { - "prefix": "SetSolidFlags", + "SetSolidFlags solid_flags(int)": { + "prefix": "solid_flags", "body": [ - "SetSolidFlags(${1:int})$0" + "solid_flags(${1:int})$0" ], "description": "" }, @@ -7812,38 +8127,38 @@ ], "description": "Set maximum speed bot can reach, regardless of desired speed" }, - "void SetSpyCloakMeter(float)": { + "void SetSpyCloakMeter(float percent)": { "prefix": "SetSpyCloakMeter", "body": [ - "SetSpyCloakMeter(${1:float})$0" + "SetSpyCloakMeter(${1:float percent})$0" ], - "description": "" + "description": "Sets cloak meter from 0 - 100." }, - "void SetSquadFormationError(float)": { + "void SetSquadFormationError(float coefficient)": { "prefix": "SetSquadFormationError", "body": [ - "SetSquadFormationError(${1:float})$0" + "SetSquadFormationError(${1:float coefficient})$0" ], "description": "Sets our formation error coefficient." }, - "void SetSubType(int)": { + "void SetSubType(int subtype)": { "prefix": "SetSubType", "body": [ - "SetSubType(${1:int})$0" + "SetSubType(${1:int subtype})$0" ], "description": "Set the weapon subtype" }, - "void SetTeam(int)": { + "void SetTeam(int team)": { "prefix": "SetTeam", "body": [ - "SetTeam(${1:int})$0" + "SetTeam(${1:int team})$0" ], - "description": "" + "description": "Sets entity team." }, - "void SetUseBossHealthBar(bool)": { + "void SetUseBossHealthBar(bool toggle)": { "prefix": "SetUseBossHealthBar", "body": [ - "SetUseBossHealthBar(${1:bool})$0" + "SetUseBossHealthBar(${1:bool toggle})$0" ], "description": "" }, @@ -7861,26 +8176,33 @@ ], "description": "Sets the value of the convar. The convar must be in cfg/vscript_convar_allowlist.txt to be set. Convars marked as cheat-only can be set even if sv_cheats is off. Supported types are bool, int, float, string." }, - "void SetVelocity(Vector)": { + "void SetVehicleReverseTime(float time)": { + "prefix": "SetVehicleReverseTime", + "body": [ + "SetVehicleReverseTime(${1:float time})$0" + ], + "description": "Set the timestamp when kart was reversed" + }, + "void SetVelocity(Vector velocity)": { "prefix": "SetVelocity", "body": [ - "SetVelocity(${1:Vector})$0" + "SetVelocity(${1:Vector velocity})$0" ], "description": "" }, - "SetWaterLevel(int)": { + "SetWaterLevel(int water_level)": { "prefix": "SetWaterLevel", "body": [ - "SetWaterLevel(${1:int})$0" + "SetWaterLevel(${1:int water_level})$0" ], - "description": "" + "description": "This sets how much of the entity is underwater. Setting it to 0 means it is not underwater, 1 if the feet are (touching water brush), 2 if the waist is (center of the hull of the entity), and 3 if the head is (eyes position)." }, - "SetWaterType(int)": { + "SetWaterType(int water_type)": { "prefix": "SetWaterType", "body": [ - "SetWaterType(${1:int})$0" + "SetWaterType(${1:int water_type})$0" ], - "description": "" + "description": "Set the type of water the entity is currently submerged in. Generic values to use are 32 for water and 16 for slime." }, "bool ShouldAutoJump()": { "prefix": "ShouldAutoJump", @@ -7903,10 +8225,10 @@ ], "description": "Print a hud message on all clients" }, - "void SnapEyeAngles(QAngle)": { + "void SnapEyeAngles(QAngle angles)": { "prefix": "SnapEyeAngles", "body": [ - "SnapEyeAngles(${1:QAngle})$0" + "SnapEyeAngles(${1:QAngle angles})$0" ], "description": "Snap the player's eye angles to this." }, @@ -7917,26 +8239,26 @@ ], "description": "Create an entity at the location of the maker" }, - "void SpawnEntityAtEntityOrigin(handle)": { + "void SpawnEntityAtEntityOrigin(handle entity)": { "prefix": "SpawnEntityAtEntityOrigin", "body": [ - "SpawnEntityAtEntityOrigin(${1:handle})$0" + "SpawnEntityAtEntityOrigin(${1:handle entity})$0" ], "description": "Create an entity at the location of a specified entity instance" }, - "void SpawnEntityAtLocation(Vector, Vector)": { + "void SpawnEntityAtLocation(Vector origin, Vector orientation)": { "prefix": "SpawnEntityAtLocation", "body": [ - "SpawnEntityAtLocation(${1:Vector}, ${2:Vector})$0" + "SpawnEntityAtLocation(${1:Vector origin}, ${2:Vector orientation})$0" ], "description": "Create an entity at a specified location and orientaton, orientation is Euler angle in degrees (pitch, yaw, roll)" }, - "void SpawnEntityAtNamedEntityOrigin(string)": { + "void SpawnEntityAtNamedEntityOrigin(string targetname)": { "prefix": "SpawnEntityAtNamedEntityOrigin", "body": [ - "SpawnEntityAtNamedEntityOrigin(${1:string})$0" + "SpawnEntityAtNamedEntityOrigin(${1:string targetname})$0" ], - "description": "Create an entity at the location of a named entity" + "description": "Create an entity at the location of a named entity. If multiple entities have the same name, only the one with the lowest entity index will be targeted." }, "handle SpawnEntityFromTable(string name, handle keyvalues)": { "prefix": "SpawnEntityFromTable", @@ -7945,12 +8267,12 @@ ], "description": "Spawn entity from KeyValues in table - 'name' is entity name, rest are KeyValues for spawn." }, - "bool SpawnEntityGroupFromTable(handle entityGroup)": { + "bool SpawnEntityGroupFromTable(handle groups)": { "prefix": "SpawnEntityGroupFromTable", "body": [ - "SpawnEntityGroupFromTable(${1:handle entityGroup})$0" + "SpawnEntityGroupFromTable(${1:handle groups})$0" ], - "description": "Hierarchically spawn an entity group from a set of spawn tables. See L4D2_EMS/Appendix:_Spawning." + "description": "Hierarchically spawn an entity group from a set of spawn tables. This computes a spawn order for entities so that parenting is resolved correctly." }, "Sqrt2": { "prefix": "Sqrt2", @@ -7987,10 +8309,10 @@ ], "description": "Stop the current animation (same as SetPlaybackRate 0.0)" }, - "void StopSound(string)": { + "void StopSound(string sound_name)": { "prefix": "StopSound", "body": [ - "StopSound(${1:string})$0" + "StopSound(${1:string sound_name})$0" ], "description": "Stops a sound on this entity." }, @@ -8001,12 +8323,19 @@ ], "description": "Stop named sound on an entity." }, + "void StopTaunt(bool remove_prop)": { + "prefix": "StopTaunt", + "body": [ + "StopTaunt(${1:bool remove_prop})$0" + ], + "description": "Stops current taunt. If remove_prop is true, the taunt prop will be immediately deleted instead of potentially delaying" + }, "void StringToFile(string file, string string)": { "prefix": "StringToFile", "body": [ "StringToFile(${1:string file}, ${2:string string})$0" ], - "description": "Stores a string as a file." + "description": "Stores a string as a file, located in the game's scriptdata folder." }, "void StudioFrameAdvance()": { "prefix": "StudioFrameAdvance", @@ -8015,19 +8344,54 @@ ], "description": "Advance animation frame to some time in the future with an automatically calculated interval" }, - "void StudioFrameAdvanceManual(float)": { + "void StudioFrameAdvanceManual(float dt)": { "prefix": "StudioFrameAdvanceManual", "body": [ - "StudioFrameAdvanceManual(${1:float})$0" + "StudioFrameAdvanceManual(${1:float dt})$0" ], "description": "Advance animation frame to some time in the future with a manual interval" }, + "TAUNT_BASE_WEAPON": { + "prefix": "TAUNT_BASE_WEAPON", + "body": [ + "TAUNT_BASE_WEAPON$0" + ], + "description": "0" + }, + "TAUNT_LONG": { + "prefix": "TAUNT_LONG", + "body": [ + "TAUNT_LONG$0" + ], + "description": "3" + }, + "TAUNT_MISC_ITEM": { + "prefix": "TAUNT_MISC_ITEM", + "body": [ + "TAUNT_MISC_ITEM$0" + ], + "description": "1" + }, + "TAUNT_SHOW_ITEM": { + "prefix": "TAUNT_SHOW_ITEM", + "body": [ + "TAUNT_SHOW_ITEM$0" + ], + "description": "2" + }, + "TAUNT_SPECIAL": { + "prefix": "TAUNT_SPECIAL", + "body": [ + "TAUNT_SPECIAL$0" + ], + "description": "4" + }, "TEAM_ANY": { "prefix": "TEAM_ANY", "body": [ "TEAM_ANY$0" ], - "description": "-1" + "description": "-2" }, "TEAM_INVALID": { "prefix": "TEAM_INVALID", @@ -8064,6 +8428,13 @@ ], "description": "Mark this nav area with the current marking scope." }, + "TF_BOT_TYPE": { + "prefix": "TF_BOT_TYPE", + "body": [ + "TF_BOT_TYPE$0" + ], + "description": "1337" + }, "TF_CLASS_CIVILIAN": { "prefix": "TF_CLASS_CIVILIAN", "body": [ @@ -8568,6 +8939,13 @@ ], "description": "23" }, + "TF_COND_IMMUNE_TO_PUSHBACK": { + "prefix": "TF_COND_IMMUNE_TO_PUSHBACK", + "body": [ + "TF_COND_IMMUNE_TO_PUSHBACK$0" + ], + "description": "130" + }, "TF_COND_INVALID": { "prefix": "TF_COND_INVALID", "body": [ @@ -9784,7 +10162,7 @@ "body": [ "TF_NAV_PERSISTENT_ATTRIBUTES$0" ], - "description": "1988098048" + "description": "198809804" }, "TF_NAV_RED_ONE_WAY_DOOR": { "prefix": "TF_NAV_RED_ONE_WAY_DOOR", @@ -9931,21 +10309,21 @@ "body": [ "TakeDamage(${1:float flDamage}, ${2:int nDamageType}, ${3:handle hAttacker})$0" ], - "description": "" + "description": "Deals damage to the entity." }, - "void TakeDamageCustom(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType, int nCustomDamageType)": { + "void TakeDamageCustom(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType, Constants.ETFDmgCustom nCustomDamageType)": { "prefix": "TakeDamageCustom", "body": [ - "TakeDamageCustom(${1:handle hInflictor}, ${2:handle hAttacker}, ${3:handle hWeapon}, ${4:Vector vecDamageForce}, ${5:Vector vecDamagePosition}, ${6:float flDamage}, ${7:int nDamageType}, ${8:int nCustomDamageType})$0" + "TakeDamageCustom(${1:handle hInflictor}, ${2:handle hAttacker}, ${3:handle hWeapon}, ${4:Vector vecDamageForce}, ${5:Vector vecDamagePosition}, ${6:float flDamage}, ${7:int nDamageType}, ${8:Constants.ETFDmgCustom nCustomDamageType})$0" ], - "description": "" + "description": "Extended version of TakeDamageEx that can apply a custom damage type." }, "void TakeDamageEx(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType)": { "prefix": "TakeDamageEx", "body": [ "TakeDamageEx(${1:handle hInflictor}, ${2:handle hAttacker}, ${3:handle hWeapon}, ${4:Vector vecDamageForce}, ${5:Vector vecDamagePosition}, ${6:float flDamage}, ${7:int nDamageType})$0" ], - "description": "" + "description": "Extended version of TakeDamage." }, "Tau": { "prefix": "Tau", @@ -9954,12 +10332,19 @@ ], "description": "6.28319" }, - "void Teleport(bool, Vector, bool, QAngle, bool, Vector)": { + "void Taunt(int taunt_index, int taunt_concept)": { + "prefix": "Taunt", + "body": [ + "Taunt(${1:int taunt_index}, ${2:int taunt_concept})$0" + ], + "description": "Performs a taunt if allowed. For taunt index, see Constants.FTaunts. For concepts, see MP_CONCEPT List. Concept is the \"voiceline\" index to use with the taunt. For TAUNT_SHOW_ITEM and TAUNT_BASE_WEAPON this is set automatically. TAUNT_LONG is not supported." + }, + "void Teleport(bool use_origin, Vector origin, bool use_angles, QAngle angles, bool use_velocity, Vector velocity)": { "prefix": "Teleport", "body": [ - "Teleport(${1:bool}, ${2:Vector}, ${3:bool}, ${4:QAngle}, ${5:bool}, ${6:Vector})$0" + "Teleport(${1:bool use_origin}, ${2:Vector origin}, ${3:bool use_angles}, ${4:QAngle angles}, ${5:bool use_velocity}, ${6:Vector velocity})$0" ], - "description": "Teleports this entity" + "description": "Teleports this entity. For this function, set the bools to false if you want that entity's property unchanged. (do not use null arguments!)" }, "void TerminateScriptScope()": { "prefix": "TerminateScriptScope", @@ -9989,17 +10374,17 @@ ], "description": "Returns the angles resulting from the rotation." }, - "ToQuat()": { + "Quaternion ToQuat()": { "prefix": "ToQuat", "body": [ "ToQuat()$0" ], - "description": "" + "description": "Returns a quaternion representation of the orientation." }, - "ToggleFlag(int)": { + "ToggleFlag(int flags)": { "prefix": "ToggleFlag", "body": [ - "ToggleFlag(${1:int})$0" + "ToggleFlag(${1:int flags})$0" ], "description": "" }, @@ -10008,21 +10393,21 @@ "body": [ "TraceHull(${1:table traceTable})$0" ], - "description": "Input Table: start, end, hullmin, hullmax, mask, ignore. Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props" + "description": "Input Table: start, end, hullmin, hullmax, mask (optional), ignore (optional). Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props. Returns false if start, end, hullmin or hullmax is not specified." }, - "float TraceLine(Vector, Vector, handle)": { + "float TraceLine(Vector start, Vector end, handle ignore)": { "prefix": "TraceLine", "body": [ - "TraceLine(${1:Vector}, ${2:Vector}, ${3:handle})$0" + "TraceLine(${1:Vector start}, ${2:Vector end}, ${3:handle ignore})$0" ], - "description": "given 2 points & ent to ignore, return fraction along line that hits world or models" + "description": "Return fraction along line that hits world or models" }, "bool TraceLineEx(table traceTable)": { "prefix": "TraceLineEx", "body": [ "TraceLineEx(${1:table traceTable})$0" ], - "description": "Input Table: start, end, mask, ignore. Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props" + "description": "Input Table: start, end, mask (optional), ignore (optional). Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props. Returns false if start or end is not specified." }, "float TraceLinePlayersIncluded(Vector, Vector, handle)": { "prefix": "TraceLinePlayersIncluded", @@ -10064,7 +10449,7 @@ "body": [ "UnblockArea()$0" ], - "description": "Unblocks this area" + "description": "Unblocks this area." }, "UnhookRootMetamethod()": { "prefix": "UnhookRootMetamethod", @@ -10087,12 +10472,12 @@ ], "description": "unregisters avoidance obstacle" }, - "Up()": { + "Vector Up()": { "prefix": "Up", "body": [ "Up()$0" ], - "description": "" + "description": "Returns the Up Vector of the angles." }, "void UpdateDelayedThreatNotices()": { "prefix": "UpdateDelayedThreatNotices", @@ -10101,6 +10486,13 @@ ], "description": "" }, + "void UpdateSkin(int skin)": { + "prefix": "UpdateSkin", + "body": [ + "UpdateSkin(${1:int skin})$0" + ], + "description": "" + }, "bool UsePlayerReadyStatusMode()": { "prefix": "UsePlayerReadyStatusMode", "body": [ @@ -10157,33 +10549,40 @@ ], "description": "Ensure that an entity's script scope has been created" }, - "Vector2D(float, float)": { + "Vector(float x = 0, float y = 0, float z = 0)": { + "prefix": "Vector", + "body": [ + "Vector(${1:float x = 0}, ${2:float y = 0}, ${3:float z = 0})$0" + ], + "description": "Creates a new vector with the specified Cartesian coordiantes." + }, + "Vector2D(float x, float y)": { "prefix": "Vector2D", "body": [ - "Vector2D(${1:float}, ${2:float})$0" + "Vector2D(${1:float x}, ${2:float y})$0" ], "description": "Creates a new 2D vector with the specified Cartesian coordiantes." }, - "Vector4D(float, float, float, float)": { + "Vector4D(float x, float y, float z, float w)": { "prefix": "Vector4D", "body": [ - "Vector4D(${1:float}, ${2:float}, ${3:float}, ${4:float})$0" + "Vector4D(${1:float x}, ${2:float y}, ${3:float z}, ${4:float w})$0" ], "description": "Creates a new 4D vector with the specified Cartesian coordiantes." }, - "void ViewPunch(QAngle)": { + "void ViewPunch(QAngle angleOffset)": { "prefix": "ViewPunch", "body": [ - "ViewPunch(${1:QAngle})$0" + "ViewPunch(${1:QAngle angleOffset})$0" ], "description": "Ow! Punches the player's view" }, - "void ViewPunchReset(float)": { + "void ViewPunchReset(float tolerance)": { "prefix": "ViewPunchReset", "body": [ - "ViewPunchReset(${1:float})$0" + "ViewPunchReset(${1:float tolerance})$0" ], - "description": "Reset's the player's view punch" + "description": "Reset's the player's view punch if the offset stays below the given tolerance." }, "bool VisibleInWeaponSelection()": { "prefix": "VisibleInWeaponSelection", @@ -10225,14 +10624,14 @@ "body": [ "Weapon_Drop(${1:handle weapon})$0" ], - "description": "" + "description": "Does nothing!" }, "void Weapon_Drop(handle weapon, Vector target, Vector velocity)": { "prefix": "Weapon_Drop", "body": [ "Weapon_Drop(${1:handle weapon}, ${2:Vector target}, ${3:Vector velocity})$0" ], - "description": "" + "description": "Does nothing!" }, "void Weapon_Equip(handle weapon)": { "prefix": "Weapon_Equip", @@ -10262,12 +10661,12 @@ ], "description": "" }, - "Yaw()": { + "float Yaw()": { "prefix": "Yaw", "body": [ "Yaw()$0" ], - "description": "" + "description": "Returns the yaw angle in degrees." }, "Zero": { "prefix": "Zero", @@ -10276,6 +10675,13 @@ ], "description": "0" }, + "_PublishedHelp": { + "prefix": "_PublishedHelp", + "body": [ + "_PublishedHelp$0" + ], + "description": "" + }, "void __CollectEventCallbacks(scope, prefix, globalTableName, regFunc)": { "prefix": "__CollectEventCallbacks", "body": [ @@ -10283,10 +10689,10 @@ ], "description": "Overloaded function. Its only used for this: __CollectEventCallbacks(scope, \"OnGameEvent_\", \"GameEventCallbacks\", ::RegisterScriptGameEventListener)" }, - "void __CollectGameEventCallbacks(scope)": { + "void __CollectGameEventCallbacks(table scope)": { "prefix": "__CollectGameEventCallbacks", "body": [ - "__CollectGameEventCallbacks(${1:scope})$0" + "__CollectGameEventCallbacks(${1:table scope})$0" ], "description": "Wrapper that registers callbacks for both OnGameEvent_x and OnScriptEvent_ functions. Done using the __CollectEventCallbacks function." }, @@ -10295,35 +10701,49 @@ "body": [ "__DumpScope(${1:int indentation}, ${2:handle scope})$0" ], - "description": "Dumps contents of everything in the scope." + "description": "Dumps a scope's contents and expands all tables and arrays; this is what the ent_script_dump command uses." + }, + "__FILE__": { + "prefix": "__FILE__", + "body": [ + "__FILE__$0" + ], + "description": "File name of the currently executing script" }, - "__KeyValueFromFloat(string, float)": { + "bool __KeyValueFromFloat(string key, float value)": { "prefix": "__KeyValueFromFloat", "body": [ - "__KeyValueFromFloat(${1:string}, ${2:float})$0" + "__KeyValueFromFloat(${1:string key}, ${2:float value})$0" ], - "description": "" + "description": "Behaves the same as KeyValueFromFloat, use that instead." }, - "__KeyValueFromInt(string, int)": { + "bool __KeyValueFromInt(string key, int value)": { "prefix": "__KeyValueFromInt", "body": [ - "__KeyValueFromInt(${1:string}, ${2:int})$0" + "__KeyValueFromInt(${1:string key}, ${2:int value})$0" ], - "description": "" + "description": "Behaves the same as KeyValueFromInt, use that instead." }, - "__KeyValueFromString(string, string)": { + "bool __KeyValueFromString(string key, string value)": { "prefix": "__KeyValueFromString", "body": [ - "__KeyValueFromString(${1:string}, ${2:string})$0" + "__KeyValueFromString(${1:string key}, ${2:string value})$0" ], - "description": "" + "description": "Behaves the same as KeyValueFromString, use that instead." }, - "__KeyValueFromVector(string, Vector)": { + "bool __KeyValueFromVector(string key, Vector value)": { "prefix": "__KeyValueFromVector", "body": [ - "__KeyValueFromVector(${1:string}, ${2:Vector})$0" + "__KeyValueFromVector(${1:string key}, ${2:Vector value})$0" ], - "description": "" + "description": "Behaves the same as KeyValueFromVector, use that instead." + }, + "__LINE__": { + "prefix": "__LINE__", + "body": [ + "__LINE__$0" + ], + "description": "Line number of the currently executing code" }, "void __ReplaceClosures(script, scope)": { "prefix": "__ReplaceClosures", @@ -10365,42 +10785,42 @@ "body": [ "_charsize_$0" ], - "description": "" + "description": "1" }, "_floatsize_": { "prefix": "_floatsize_", "body": [ "_floatsize_$0" ], - "description": "" + "description": "4" }, "_intsize_": { "prefix": "_intsize_", "body": [ "_intsize_$0" ], - "description": "" + "description": "4" }, "_version_": { "prefix": "_version_", "body": [ "_version_$0" ], - "description": "" + "description": "\"Squirrel 3.2 stable\"" }, "_versionnumber_": { "prefix": "_versionnumber_", "body": [ "_versionnumber_$0" ], - "description": "" + "description": "320" }, "abs(num x)": { "prefix": "abs", "body": [ "abs(${1:num x})$0" ], - "description": "Returns x as integer unlike fabs()" + "description": "Returns |x| as integer unlike fabs()" }, "acos(num x)": { "prefix": "acos", @@ -10442,7 +10862,7 @@ "body": [ "atan2(${1:num y}, ${2:num x) (!})$0" ], - "description": "Returns the angle between the ray from the point (0, 0) through (x, y) and the positive x-axis, confined to (−PI, PI]. Note the order of the parameters x and y!" + "description": "Returns the angle between the ray from the point (0, 0) through (x, y) and the positive x-axis, confined to (-PI, PI). Note the order of the parameters x and y!" }, "blob(int initSize = 0)": { "prefix": "blob", @@ -10458,13 +10878,27 @@ ], "description": "Returns the currently running closure." }, - "table capture(str, start)": { + "table capture(str, [start])": { "prefix": "capture", "body": [ - "capture(${1:str}, ${2:start})$0" + "capture(${1:str}, ${2:[start]})$0" ], "description": "Returns an array of tables containing two indexes (\"begin\" and \"end\") of the first match of the regular expression in the string str. An array entry is created for each captured sub expressions. If no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string." }, + "int castf2i(float value)": { + "prefix": "castf2i", + "body": [ + "castf2i(${1:float value})$0" + ], + "description": "Interprets the float's bytes as if it were a 32-bit integer representation" + }, + "float casti2f(int value)": { + "prefix": "casti2f", + "body": [ + "casti2f(${1:int value})$0" + ], + "description": "Interprets the integer's bytes as if it were a floating-point encoding" + }, "ceil(num x)": { "prefix": "ceil", "body": [ @@ -10472,19 +10906,19 @@ ], "description": "Returns the smallest integer that is >= x" }, - "chain()": { + "chain": { "prefix": "chain", "body": [ - "chain()$0" + "chain$0" ], - "description": "" + "description": "All functions to be called by the Call() method." }, - "chains()": { + "chains": { "prefix": "chains", "body": [ - "chains()$0" + "chains$0" ], - "description": "" + "description": "Contains names of unprefixed functions, each with an array of functions to call." }, "int collectgarbage()": { "prefix": "collectgarbage", @@ -10500,13 +10934,6 @@ ], "description": "Compiles a string containing a squirrel script into a function and returns it." }, - "constructor()": { - "prefix": "constructor", - "body": [ - "constructor()$0" - ], - "description": "" - }, "cos(num x)": { "prefix": "cos", "body": [ @@ -10535,12 +10962,19 @@ ], "description": "Enable/disable the debug line information generation at compile time. enable != null enables . enable == null disables." }, + "bool endswith(string str, string cmp)": { + "prefix": "endswith", + "body": [ + "endswith(${1:string str}, ${2:string cmp})$0" + ], + "description": "Returns true if the end of the string matches the comparison string." + }, "int entindex()": { "prefix": "entindex", "body": [ "entindex()$0" ], - "description": "" + "description": "Returns the entity index." }, "int eos()": { "prefix": "eos", @@ -10556,6 +10990,20 @@ ], "description": "Prints x in the standard error output ." }, + "string escape(string str)": { + "prefix": "escape", + "body": [ + "escape(${1:string str})$0" + ], + "description": "Returns a string with backslashes before characters that need to be escaped: “ a b t n v f r \\ ” ’ 0 xNN" + }, + "exactMatch": { + "prefix": "exactMatch", + "body": [ + "exactMatch$0" + ], + "description": "If set, names of non-native functions and prefix must be an exact match. Set by the constructor." + }, "exp(num x)": { "prefix": "exp", "body": [ @@ -10568,14 +11016,21 @@ "body": [ "fabs(${1:num x})$0" ], - "description": "Returns x as float unlike abs()" + "description": "Returns |x| as float unlike abs()" + }, + "int find(string searchString, int startIndex = null)": { + "prefix": "find", + "body": [ + "find(${1:string searchString}, ${2:int startIndex = null})$0" + ], + "description": "Looks for the sub-string passed as its first parameter, starting at either the beginning of the string or at a specific character index if one is provided as a second parameter. If the sub-string is found, returns the index at which it first occurs, otherwise returns null." }, "floor(num x)": { "prefix": "floor", "body": [ "floor(${1:num x})$0" ], - "description": "Returns the largest integer that is x" + "description": "Returns the largest integer that is <= x" }, "flush()": { "prefix": "flush", @@ -10584,12 +11039,12 @@ ], "description": "" }, - "format(string, args...)": { + "format(string format, args...)": { "prefix": "format", "body": [ - "format(${1:string}, ${2:args...})$0" + "format(${1:string format}, ${2:args...})$0" ], - "description": "Returns a formatted string" + "description": "Returns a formatted string. Same rules as the standard C functions (except * is not supported)." }, "table getconsttable()": { "prefix": "getconsttable", @@ -10617,7 +11072,7 @@ "body": [ "kHolidayCount$0" ], - "description": "13" + "description": "14" }, "kHoliday_AprilFools": { "prefix": "kHoliday_AprilFools", @@ -10696,6 +11151,13 @@ ], "description": "12" }, + "kHoliday_Summer": { + "prefix": "kHoliday_Summer", + "body": [ + "kHoliday_Summer$0" + ], + "description": "13" + }, "kHoliday_TFBirthday": { "prefix": "kHoliday_TFBirthday", "body": [ @@ -10981,7 +11443,7 @@ "body": [ "len()$0" ], - "description": "" + "description": "Returns the length of the string, ie. the number of characters it comprises." }, "log(num x)": { "prefix": "log", @@ -10997,31 +11459,45 @@ ], "description": "Returns log_10(x)" }, - "lstrip(string)": { + "lstrip(string str)": { "prefix": "lstrip", "body": [ - "lstrip(${1:string})$0" + "lstrip(${1:string str})$0" ], "description": "Removes whitespace at the beginning of the given string" }, - "m_bindNamesStack()": { + "m_bindNamesStack": { "prefix": "m_bindNamesStack", "body": [ - "m_bindNamesStack()$0" + "m_bindNamesStack$0" ], "description": "" }, - "m_fixupSet()": { + "m_fixupSet": { "prefix": "m_fixupSet", "body": [ - "m_fixupSet()$0" + "m_fixupSet$0" + ], + "description": "" + }, + "m_log": { + "prefix": "m_log", + "body": [ + "m_log$0" + ], + "description": "" + }, + "m_logIndent": { + "prefix": "m_logIndent", + "body": [ + "m_logIndent$0" ], "description": "" }, - "m_targetTable()": { + "m_targetTable": { "prefix": "m_targetTable", "body": [ - "m_targetTable()$0" + "m_targetTable$0" ], "description": "" }, @@ -11044,14 +11520,14 @@ "body": [ "pow(${1:num x}, ${2:num y})$0" ], - "description": "Returns x_y" + "description": "Returns x^y" }, - "prefix()": { + "prefix": { "prefix": "prefix", "body": [ - "prefix()$0" + "prefix$0" ], - "description": "" + "description": "Prefix that functions should have to be added into the chain array. Set by the constructor." }, "print(string message)": { "prefix": "print", @@ -11060,6 +11536,20 @@ ], "description": "Prints the given parameter but with no newline unlike printl()" }, + "print_indent": { + "prefix": "print_indent", + "body": [ + "print_indent$0" + ], + "description": "0. Spaces to indent prints by, except ones from realPrint." + }, + "void printf(string format, args...)": { + "prefix": "printf", + "body": [ + "printf(${1:string format}, ${2:args...})$0" + ], + "description": "Prints message to console with C style formatting. The line feed is not included." + }, "void printl(string message)": { "prefix": "printl", "body": [ @@ -11116,24 +11606,24 @@ ], "description": "Runs the garbage collector and returns an array containing all unreachable object found. If no unreachable object is found, null is returned instead. This function is meant to help debugging reference cycles. This function only works on garbage collector builds." }, - "rstrip(string)": { + "rstrip(string str)": { "prefix": "rstrip", "body": [ - "rstrip(${1:string})$0" + "rstrip(${1:string str})$0" ], "description": "Removes whitespace at the end of the given string" }, - "scope()": { + "scope": { "prefix": "scope", "body": [ - "scope()$0" + "scope$0" ], - "description": "" + "description": "If set, seek functions in this scope instead. Set by the constructor." }, - "table search(str, start)": { + "table search(str, [start])": { "prefix": "search", "body": [ - "search(${1:str}, ${2:start})$0" + "search(${1:str}, ${2:[start]})$0" ], "description": "Returns a table containing two indexes (\"begin\" and \"end\") of the first match of the regular expression in the string st, otherwise if no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string." }, @@ -11163,7 +11653,7 @@ "body": [ "seterrorhandler(${1:function func})$0" ], - "description": "Sets the runtime error handler ." + "description": "Sets the runtime error handler." }, "table setroottable(table roottable)": { "prefix": "setroottable", @@ -11179,12 +11669,19 @@ ], "description": "Returns sin(x)" }, - "string split(string str, string separator')": { + "string slice(int startIndex, int endIndex = null)": { + "prefix": "slice", + "body": [ + "slice(${1:int startIndex}, ${2:int endIndex = null})$0" + ], + "description": "Creates a sub-string from a string. Copies characters from startIndex to endIndex. If endIndex is not specified, copies until the last character. If the provided end index is beyond the string, an exception is thrown." + }, + "string split(string str, string separator, bool skipempty = false)": { "prefix": "split", "body": [ - "split(${1:string str}, ${2:string separator'})$0" + "split(${1:string str}, ${2:string separator}, ${3:bool skipempty = false})$0" ], - "description": "Returns an array of strings split at each point where a separator character occurs in str. The separator is not returned as part of any array element. the parameter separators is a string that specifies the characters as to be used for the splitting." + "description": "Returns an array of strings split at each point where a separator character occurs in str. The separator is not returned as part of any array element. the parameter separators is a string that specifies the characters as to be used for the splitting. If skipempty is true, empty strings are not added to array." }, "sqrt(num x)": { "prefix": "sqrt", @@ -11200,10 +11697,17 @@ ], "description": "Sets the starting point for generating a series of pseudorandom integers" }, - "strip(string)": { + "bool startswith(string str, string cmp)": { + "prefix": "startswith", + "body": [ + "startswith(${1:string str}, ${2:string cmp})$0" + ], + "description": "Returns true if the beginning of the string matches the comparison string." + }, + "strip(string str)": { "prefix": "strip", "body": [ - "strip(${1:string})$0" + "strip(${1:string str})$0" ], "description": "Removes whitespace at the beginning and end of the given string" }, @@ -11256,6 +11760,27 @@ ], "description": "" }, + "float tofloat()": { + "prefix": "tofloat", + "body": [ + "tofloat()$0" + ], + "description": "Returns float value represented by the string. Must only contain numeric characters and/or plus and minus symbols. An exception is thrown otherwise." + }, + "int tointeger()": { + "prefix": "tointeger", + "body": [ + "tointeger()$0" + ], + "description": "Returns integer value represented by the string. Must only contain numeric characters. An exception is thrown otherwise. Hexadecimal notation is supported (i.e. 0xFF). If a hexadecimal string contains more than 10 characters, including the 0x, returns -1." + }, + "string tolower()": { + "prefix": "tolower", + "body": [ + "tolower()$0" + ], + "description": "Returns a new string with all upper-case characters converted to lower-case." + }, "string tostring()": { "prefix": "tostring", "body": [ @@ -11263,6 +11788,13 @@ ], "description": "Returns a human-readable string." }, + "string toupper()": { + "prefix": "toupper", + "body": [ + "toupper()$0" + ], + "description": "Returns a new string with all lower-case characters converted to upper-case." + }, "type(var)": { "prefix": "type", "body": [ @@ -11271,7 +11803,7 @@ "description": "Returns var._typeof(), i.e. the type of the given parameter as a string" }, "void writeblob (blob blob)": { - "prefix": "writeblob", + "prefix": "", "body": [ "(${1:blob blob})$0" ], diff --git a/tf2-snippets.sublime-completions b/tf2-snippets.sublime-completions index a85fb2e..61e3b7f 100644 --- a/tf2-snippets.sublime-completions +++ b/tf2-snippets.sublime-completions @@ -1,11289 +1,11821 @@ { - "scope": "source.nut", - "completions": [ - { - "trigger": "AGGRESSIVE", - "annotation": "AGGRESSIVE", - "contents": "AGGRESSIVE$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "AIR_CHARGE_ONLY", - "annotation": "AIR_CHARGE_ONLY", - "contents": "AIR_CHARGE_ONLY$0", - "kind": "keyword", - "details": "524288" - }, - { - "trigger": "ALL_VISIBLE_CONTENTS", - "annotation": "ALL_VISIBLE_CONTENTS", - "contents": "ALL_VISIBLE_CONTENTS$0", - "kind": "keyword", - "details": "255" - }, - { - "trigger": "ALWAYS_CRIT", - "annotation": "ALWAYS_CRIT", - "contents": "ALWAYS_CRIT$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "ALWAYS_FIRE_WEAPON", - "annotation": "ALWAYS_FIRE_WEAPON", - "contents": "ALWAYS_FIRE_WEAPON$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "AUTO_JUMP", - "annotation": "AUTO_JUMP", - "contents": "AUTO_JUMP$0", - "kind": "keyword", - "details": "262144" - }, - { - "trigger": "AddAttribute", - "annotation": "void AddAttribute(string, float, float)", - "contents": "AddAttribute(${1:string}, ${2:float}, ${3:float})$0", - "kind": "keyword", - "details": "Add an attribute to the entity" - }, - { - "trigger": "AddBotAttribute", - "annotation": "void AddBotAttribute(int)", - "contents": "AddBotAttribute(${1:int})$0", - "kind": "keyword", - "details": "Sets attribute flags on this TFBot" - }, - { - "trigger": "AddBotTag", - "annotation": "void AddBotTag(string)", - "contents": "AddBotTag(${1:string})$0", - "kind": "keyword", - "details": "Adds a bot tag" - }, - { - "trigger": "AddBroadcastTeamTarget", - "annotation": "void AddBroadcastTeamTarget(int)", - "contents": "AddBroadcastTeamTarget(${1:int})$0", - "kind": "keyword", - "details": "Adds a team (by index) to the broadcast list" - }, - { - "trigger": "AddCond", - "annotation": "void AddCond(ETFCond cond)", - "contents": "AddCond(${1:ETFCond cond})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "AddCondEx", - "annotation": "void AddCondEx(ETFCond cond, float duration, handle provider)", - "contents": "AddCondEx(${1:ETFCond cond}, ${2:float duration}, ${3:handle provider})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "AddCustomAttribute", - "annotation": "void AddCustomAttribute(string, float, float)", - "contents": "AddCustomAttribute(${1:string}, ${2:float}, ${3:float})$0", - "kind": "keyword", - "details": "Add a custom attribute to the player" - }, - { - "trigger": "AddEFlags", - "annotation": "AddEFlags(int)", - "contents": "AddEFlags(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "AddFlag", - "annotation": "AddFlag(int)", - "contents": "AddFlag(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "AddIncomingConnection", - "annotation": "void AddIncomingConnection(handle area, int dir)", - "contents": "AddIncomingConnection(${1:handle area}, ${2:int dir})$0", - "kind": "keyword", - "details": "Add areas that connect TO this area by a ONE-WAY link" - }, - { - "trigger": "AddOutput", - "annotation": "void AddOutput(handle entity, string outputName, string targetName, string inputName, string parameter, float delay, int timesToFire)", - "contents": "AddOutput(${1:handle entity}, ${2:string outputName}, ${3:string targetName}, ${4:string inputName}, ${5:string parameter}, ${6:float delay}, ${7:int timesToFire})$0", - "kind": "keyword", - "details": "Adds a new output to the entity." - }, - { - "trigger": "AddSolidFlags", - "annotation": "AddSolidFlags(int)", - "contents": "AddSolidFlags(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "AddTemplate", - "annotation": "void AddTemplate(string, handle)", - "contents": "AddTemplate(${1:string}, ${2:handle})$0", - "kind": "keyword", - "details": "Add an entity to the template spawner" - }, - { - "trigger": "AddThinkToEnt", - "annotation": "void AddThinkToEnt(handle entity, string FuncName)", - "contents": "AddThinkToEnt(${1:handle entity}, ${2:string FuncName})$0", - "kind": "keyword", - "details": "Sets a function in the entity's script to rerun by itself constantly. Pass null as the function name to remove a think function." - }, - { - "trigger": "AddToScriptHelp", - "annotation": "AddToScriptHelp()", - "contents": "AddToScriptHelp()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "AddWeaponRestriction", - "annotation": "void AddWeaponRestriction(int)", - "contents": "AddWeaponRestriction(${1:int})$0", - "kind": "keyword", - "details": "Adds weapon restriction flags" - }, - { - "trigger": "AllowThirdPersonCamera", - "annotation": "bool AllowThirdPersonCamera()", - "contents": "AllowThirdPersonCamera()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ApplyAbsVelocityImpulse", - "annotation": "void ApplyAbsVelocityImpulse(Vector)", - "contents": "ApplyAbsVelocityImpulse(${1:Vector})$0", - "kind": "keyword", - "details": "Apply a Velocity Impulse" - }, - { - "trigger": "ApplyLocalAngularVelocityImpulse", - "annotation": "void ApplyLocalAngularVelocityImpulse(Vector)", - "contents": "ApplyLocalAngularVelocityImpulse(${1:Vector})$0", - "kind": "keyword", - "details": "Apply an Ang Velocity Impulse" - }, - { - "trigger": "ApplyPunchImpulseX", - "annotation": "bool ApplyPunchImpulseX(float)", - "contents": "ApplyPunchImpulseX(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Approach", - "annotation": "void Approach(Vector, float)", - "contents": "Approach(${1:Vector}, ${2:float})$0", - "kind": "keyword", - "details": "The primary locomotive method. Sets the goal destination for the bot" - }, - { - "trigger": "ArePlayersInHell", - "annotation": "bool ArePlayersInHell()", - "contents": "ArePlayersInHell()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Assert", - "annotation": "void Assert(bool value, string optional message)", - "contents": "Assert(${1:bool value}, ${2:string optional message})$0", - "kind": "keyword", - "details": "Test value and if not true, throws exception, optionally with message." - }, - { - "trigger": "BACKWARD", - "annotation": "BACKWARD", - "contents": "BACKWARD$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "BECOME_SPECTATOR_ON_DEATH", - "annotation": "BECOME_SPECTATOR_ON_DEATH", - "contents": "BECOME_SPECTATOR_ON_DEATH$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "BLAST_IMMUNE", - "annotation": "BLAST_IMMUNE", - "contents": "BLAST_IMMUNE$0", - "kind": "keyword", - "details": "16777216" - }, - { - "trigger": "BULLET_IMMUNE", - "annotation": "BULLET_IMMUNE", - "contents": "BULLET_IMMUNE$0", - "kind": "keyword", - "details": "8388608" - }, - { - "trigger": "BecomeRagdollOnClient", - "annotation": "bool BecomeRagdollOnClient(Vector)", - "contents": "BecomeRagdollOnClient(${1:Vector})$0", - "kind": "keyword", - "details": "Becomes a ragdoll with a force" - }, - { - "trigger": "Begin", - "annotation": "Begin()", - "contents": "Begin()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "BeginScriptDebug", - "annotation": "BeginScriptDebug()", - "contents": "BeginScriptDebug()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "BleedPlayer", - "annotation": "void BleedPlayer(float)", - "contents": "BleedPlayer(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "BleedPlayerEx", - "annotation": "void BleedPlayerEx(float, int, bool, int)", - "contents": "BleedPlayerEx(${1:float}, ${2:int}, ${3:bool}, ${4:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "COLLISION_GROUP_BREAKABLE_GLASS", - "annotation": "COLLISION_GROUP_BREAKABLE_GLASS", - "contents": "COLLISION_GROUP_BREAKABLE_GLASS$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "COLLISION_GROUP_DEBRIS", - "annotation": "COLLISION_GROUP_DEBRIS", - "contents": "COLLISION_GROUP_DEBRIS$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "COLLISION_GROUP_DEBRIS_TRIGGER", - "annotation": "COLLISION_GROUP_DEBRIS_TRIGGER", - "contents": "COLLISION_GROUP_DEBRIS_TRIGGER$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "COLLISION_GROUP_DISSOLVING", - "annotation": "COLLISION_GROUP_DISSOLVING", - "contents": "COLLISION_GROUP_DISSOLVING$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "COLLISION_GROUP_DOOR_BLOCKER", - "annotation": "COLLISION_GROUP_DOOR_BLOCKER", - "contents": "COLLISION_GROUP_DOOR_BLOCKER$0", - "kind": "keyword", - "details": "14" - }, - { - "trigger": "COLLISION_GROUP_INTERACTIVE", - "annotation": "COLLISION_GROUP_INTERACTIVE", - "contents": "COLLISION_GROUP_INTERACTIVE$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "COLLISION_GROUP_INTERACTIVE_DEBRIS", - "annotation": "COLLISION_GROUP_INTERACTIVE_DEBRIS", - "contents": "COLLISION_GROUP_INTERACTIVE_DEBRIS$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "COLLISION_GROUP_IN_VEHICLE", - "annotation": "COLLISION_GROUP_IN_VEHICLE", - "contents": "COLLISION_GROUP_IN_VEHICLE$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "COLLISION_GROUP_NONE", - "annotation": "COLLISION_GROUP_NONE", - "contents": "COLLISION_GROUP_NONE$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "COLLISION_GROUP_NPC", - "annotation": "COLLISION_GROUP_NPC", - "contents": "COLLISION_GROUP_NPC$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "COLLISION_GROUP_NPC_ACTOR", - "annotation": "COLLISION_GROUP_NPC_ACTOR", - "contents": "COLLISION_GROUP_NPC_ACTOR$0", - "kind": "keyword", - "details": "18" - }, - { - "trigger": "COLLISION_GROUP_NPC_SCRIPTED", - "annotation": "COLLISION_GROUP_NPC_SCRIPTED", - "contents": "COLLISION_GROUP_NPC_SCRIPTED$0", - "kind": "keyword", - "details": "19" - }, - { - "trigger": "COLLISION_GROUP_PASSABLE_DOOR", - "annotation": "COLLISION_GROUP_PASSABLE_DOOR", - "contents": "COLLISION_GROUP_PASSABLE_DOOR$0", - "kind": "keyword", - "details": "15" - }, - { - "trigger": "COLLISION_GROUP_PLAYER", - "annotation": "COLLISION_GROUP_PLAYER", - "contents": "COLLISION_GROUP_PLAYER$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "COLLISION_GROUP_PLAYER_MOVEMENT", - "annotation": "COLLISION_GROUP_PLAYER_MOVEMENT", - "contents": "COLLISION_GROUP_PLAYER_MOVEMENT$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "COLLISION_GROUP_PROJECTILE", - "annotation": "COLLISION_GROUP_PROJECTILE", - "contents": "COLLISION_GROUP_PROJECTILE$0", - "kind": "keyword", - "details": "13" - }, - { - "trigger": "COLLISION_GROUP_PUSHAWAY", - "annotation": "COLLISION_GROUP_PUSHAWAY", - "contents": "COLLISION_GROUP_PUSHAWAY$0", - "kind": "keyword", - "details": "17" - }, - { - "trigger": "COLLISION_GROUP_VEHICLE", - "annotation": "COLLISION_GROUP_VEHICLE", - "contents": "COLLISION_GROUP_VEHICLE$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "COLLISION_GROUP_VEHICLE_CLIP", - "annotation": "COLLISION_GROUP_VEHICLE_CLIP", - "contents": "COLLISION_GROUP_VEHICLE_CLIP$0", - "kind": "keyword", - "details": "12" - }, - { - "trigger": "COLLISION_GROUP_WEAPON", - "annotation": "COLLISION_GROUP_WEAPON", - "contents": "COLLISION_GROUP_WEAPON$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "CONTENTS_AREAPORTAL", - "annotation": "CONTENTS_AREAPORTAL", - "contents": "CONTENTS_AREAPORTAL$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "CONTENTS_AUX", - "annotation": "CONTENTS_AUX", - "contents": "CONTENTS_AUX$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "CONTENTS_BLOCKLOS", - "annotation": "CONTENTS_BLOCKLOS", - "contents": "CONTENTS_BLOCKLOS$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "CONTENTS_CURRENT_0", - "annotation": "CONTENTS_CURRENT_0", - "contents": "CONTENTS_CURRENT_0$0", - "kind": "keyword", - "details": "262144" - }, - { - "trigger": "CONTENTS_CURRENT_180", - "annotation": "CONTENTS_CURRENT_180", - "contents": "CONTENTS_CURRENT_180$0", - "kind": "keyword", - "details": "1048576" - }, - { - "trigger": "CONTENTS_CURRENT_270", - "annotation": "CONTENTS_CURRENT_270", - "contents": "CONTENTS_CURRENT_270$0", - "kind": "keyword", - "details": "2097152" - }, - { - "trigger": "CONTENTS_CURRENT_90", - "annotation": "CONTENTS_CURRENT_90", - "contents": "CONTENTS_CURRENT_90$0", - "kind": "keyword", - "details": "524288" - }, - { - "trigger": "CONTENTS_CURRENT_DOWN", - "annotation": "CONTENTS_CURRENT_DOWN", - "contents": "CONTENTS_CURRENT_DOWN$0", - "kind": "keyword", - "details": "8388608" - }, - { - "trigger": "CONTENTS_CURRENT_UP", - "annotation": "CONTENTS_CURRENT_UP", - "contents": "CONTENTS_CURRENT_UP$0", - "kind": "keyword", - "details": "4194304" - }, - { - "trigger": "CONTENTS_DEBRIS", - "annotation": "CONTENTS_DEBRIS", - "contents": "CONTENTS_DEBRIS$0", - "kind": "keyword", - "details": "67108864" - }, - { - "trigger": "CONTENTS_DETAIL", - "annotation": "CONTENTS_DETAIL", - "contents": "CONTENTS_DETAIL$0", - "kind": "keyword", - "details": "134217728" - }, - { - "trigger": "CONTENTS_EMPTY", - "annotation": "CONTENTS_EMPTY", - "contents": "CONTENTS_EMPTY$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "CONTENTS_GRATE", - "annotation": "CONTENTS_GRATE", - "contents": "CONTENTS_GRATE$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "CONTENTS_HITBOX", - "annotation": "CONTENTS_HITBOX", - "contents": "CONTENTS_HITBOX$0", - "kind": "keyword", - "details": "1073741824" - }, - { - "trigger": "CONTENTS_IGNORE_NODRAW_OPAQUE", - "annotation": "CONTENTS_IGNORE_NODRAW_OPAQUE", - "contents": "CONTENTS_IGNORE_NODRAW_OPAQUE$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "CONTENTS_LADDER", - "annotation": "CONTENTS_LADDER", - "contents": "CONTENTS_LADDER$0", - "kind": "keyword", - "details": "536870912" - }, - { - "trigger": "CONTENTS_MONSTER", - "annotation": "CONTENTS_MONSTER", - "contents": "CONTENTS_MONSTER$0", - "kind": "keyword", - "details": "33554432" - }, - { - "trigger": "CONTENTS_MONSTERCLIP", - "annotation": "CONTENTS_MONSTERCLIP", - "contents": "CONTENTS_MONSTERCLIP$0", - "kind": "keyword", - "details": "131072" - }, - { - "trigger": "CONTENTS_MOVEABLE", - "annotation": "CONTENTS_MOVEABLE", - "contents": "CONTENTS_MOVEABLE$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "CONTENTS_OPAQUE", - "annotation": "CONTENTS_OPAQUE", - "contents": "CONTENTS_OPAQUE$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "CONTENTS_ORIGIN", - "annotation": "CONTENTS_ORIGIN", - "contents": "CONTENTS_ORIGIN$0", - "kind": "keyword", - "details": "16777216" - }, - { - "trigger": "CONTENTS_PLAYERCLIP", - "annotation": "CONTENTS_PLAYERCLIP", - "contents": "CONTENTS_PLAYERCLIP$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "CONTENTS_SLIME", - "annotation": "CONTENTS_SLIME", - "contents": "CONTENTS_SLIME$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "CONTENTS_SOLID", - "annotation": "CONTENTS_SOLID", - "contents": "CONTENTS_SOLID$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "CONTENTS_TEAM1", - "annotation": "CONTENTS_TEAM1", - "contents": "CONTENTS_TEAM1$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "CONTENTS_TEAM2", - "annotation": "CONTENTS_TEAM2", - "contents": "CONTENTS_TEAM2$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "CONTENTS_TESTFOGVOLUME", - "annotation": "CONTENTS_TESTFOGVOLUME", - "contents": "CONTENTS_TESTFOGVOLUME$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "CONTENTS_TRANSLUCENT", - "annotation": "CONTENTS_TRANSLUCENT", - "contents": "CONTENTS_TRANSLUCENT$0", - "kind": "keyword", - "details": "268435456" - }, - { - "trigger": "CONTENTS_UNUSED", - "annotation": "CONTENTS_UNUSED", - "contents": "CONTENTS_UNUSED$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "CONTENTS_UNUSED6", - "annotation": "CONTENTS_UNUSED6", - "contents": "CONTENTS_UNUSED6$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "CONTENTS_WATER", - "annotation": "CONTENTS_WATER", - "contents": "CONTENTS_WATER$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "CONTENTS_WINDOW", - "annotation": "CONTENTS_WINDOW", - "contents": "CONTENTS_WINDOW$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "CRIT_FULL", - "annotation": "CRIT_FULL", - "contents": "CRIT_FULL$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "CRIT_MINI", - "annotation": "CRIT_MINI", - "contents": "CRIT_MINI$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "CRIT_NONE", - "annotation": "CRIT_NONE", - "contents": "CRIT_NONE$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "Call", - "annotation": "Call()", - "contents": "Call()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "CanAirDash", - "annotation": "bool CanAirDash()", - "contents": "CanAirDash()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "CanBeDebuffed", - "annotation": "bool CanBeDebuffed()", - "contents": "CanBeDebuffed()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "CanBeSelected", - "annotation": "bool CanBeSelected()", - "contents": "CanBeSelected()$0", - "kind": "keyword", - "details": "Can this weapon be selected" - }, - { - "trigger": "CanBreatheUnderwater", - "annotation": "bool CanBreatheUnderwater()", - "contents": "CanBreatheUnderwater()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "CanDuck", - "annotation": "bool CanDuck()", - "contents": "CanDuck()$0", - "kind": "keyword", - "details": "Can the player duck?" - }, - { - "trigger": "CanGetWet", - "annotation": "bool CanGetWet()", - "contents": "CanGetWet()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "CanJump", - "annotation": "bool CanJump()", - "contents": "CanJump()$0", - "kind": "keyword", - "details": "Can the player jump?" - }, - { - "trigger": "CanPlayerMove", - "annotation": "bool CanPlayerMove()", - "contents": "CanPlayerMove()$0", - "kind": "keyword", - "details": "Can the player move?" - }, - { - "trigger": "ClearAllBotAttributes", - "annotation": "void ClearAllBotAttributes()", - "contents": "ClearAllBotAttributes()$0", - "kind": "keyword", - "details": "Clears all attribute flags on this TFBot" - }, - { - "trigger": "ClearAllBotTags", - "annotation": "void ClearAllBotTags()", - "contents": "ClearAllBotTags()$0", - "kind": "keyword", - "details": "Clears bot tags" - }, - { - "trigger": "ClearAllWeaponRestrictions", - "annotation": "void ClearAllWeaponRestrictions()", - "contents": "ClearAllWeaponRestrictions()$0", - "kind": "keyword", - "details": "Removes all weapon restriction flags" - }, - { - "trigger": "ClearAttentionFocus", - "annotation": "void ClearAttentionFocus()", - "contents": "ClearAttentionFocus()$0", - "kind": "keyword", - "details": "Clear current focus" - }, - { - "trigger": "ClearAttributeTF", - "annotation": "void ClearAttributeTF(int)", - "contents": "ClearAttributeTF(${1:int})$0", - "kind": "keyword", - "details": "Clear TF-specific area attribute bits" - }, - { - "trigger": "ClearCustomModelRotation", - "annotation": "void ClearCustomModelRotation()", - "contents": "ClearCustomModelRotation()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ClearFlags", - "annotation": "ClearFlags()", - "contents": "ClearFlags()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ClearGameEventCallbacks", - "annotation": "void ClearGameEventCallbacks()", - "contents": "ClearGameEventCallbacks()$0", - "kind": "keyword", - "details": "Empties the tables of game event callback functions." - }, - { - "trigger": "ClearImmobileStatus", - "annotation": "void ClearImmobileStatus()", - "contents": "ClearImmobileStatus()$0", - "kind": "keyword", - "details": "Clear immobile status" - }, - { - "trigger": "ClearSolidFlags", - "annotation": "ClearSolidFlags()", - "contents": "ClearSolidFlags()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ClearSpells", - "annotation": "void ClearSpells()", - "contents": "ClearSpells()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ClearStuckStatus", - "annotation": "void ClearStuckStatus(string)", - "contents": "ClearStuckStatus(${1:string})$0", - "kind": "keyword", - "details": "Reset stuck status to un-stuck" - }, - { - "trigger": "ClientPrint", - "annotation": "void ClientPrint(CBasePlayer player, int destination, string message)", - "contents": "ClientPrint(${1:CBasePlayer player}, ${2:int destination}, ${3:string message})$0", - "kind": "keyword", - "details": "Print a client message. If you pass null instead of a valid player, the message will be sent to all clients." - }, - { - "trigger": "ClimbUpToLedge", - "annotation": "bool ClimbUpToLedge(Vector, Vector, handle)", - "contents": "ClimbUpToLedge(${1:Vector}, ${2:Vector}, ${3:handle})$0", - "kind": "keyword", - "details": "Initiate a jump to an adjacent high ledge, return false if climb can't start" - }, - { - "trigger": "Clip1", - "annotation": "int Clip1()", - "contents": "Clip1()$0", - "kind": "keyword", - "details": "Current ammo in clip1" - }, - { - "trigger": "Clip2", - "annotation": "int Clip2()", - "contents": "Clip2()$0", - "kind": "keyword", - "details": "Current ammo in clip2" - }, - { - "trigger": "ComputeClosestPointInPortal", - "annotation": "Vector ComputeClosestPointInPortal(handle, int, Vector)", - "contents": "ComputeClosestPointInPortal(${1:handle}, ${2:int}, ${3:Vector})$0", - "kind": "keyword", - "details": "Compute closest point within the portal between to adjacent areas." - }, - { - "trigger": "ComputeDirection", - "annotation": "int ComputeDirection(Vector point)", - "contents": "ComputeDirection(${1:Vector point})$0", - "kind": "keyword", - "details": "Return direction from this area to the given point" - }, - { - "trigger": "ComputeUpdateInterval", - "annotation": "bool ComputeUpdateInterval()", - "contents": "ComputeUpdateInterval()$0", - "kind": "keyword", - "details": "Recomputes the component update interval" - }, - { - "trigger": "ConnectOutput", - "annotation": "void ConnectOutput(string, string)", - "contents": "ConnectOutput(${1:string}, ${2:string})$0", - "kind": "keyword", - "details": "Adds an I/O connection that will call the named function when the specified output fires" - }, - { - "trigger": "ConnectTo", - "annotation": "void ConnectTo(handle area, int dir)", - "contents": "ConnectTo(${1:handle area}, ${2:int dir})$0", - "kind": "keyword", - "details": "Connect this area to given area in given direction" - }, - { - "trigger": "ConstantNamingConvention", - "annotation": "ConstantNamingConvention", - "contents": "ConstantNamingConvention$0", - "kind": "keyword", - "details": "Constants are named as follows: F -> flags, E -> enums, (nothing) -> random values/constants" - }, - { - "trigger": "Contains", - "annotation": "bool Contains(handle area)", - "contents": "Contains(${1:handle area})$0", - "kind": "keyword", - "details": "Return true if other area is on or above this area, but no others" - }, - { - "trigger": "ContainsOrigin", - "annotation": "bool ContainsOrigin(Vector point)", - "contents": "ContainsOrigin(${1:Vector point})$0", - "kind": "keyword", - "details": "Return true if given point is on or above this area, but no others" - }, - { - "trigger": "CreateByClassname", - "annotation": "handle CreateByClassname(string classname)", - "contents": "CreateByClassname(${1:string classname})$0", - "kind": "keyword", - "details": "Creates an entity by classname" - }, - { - "trigger": "CreateProp", - "annotation": "handle CreateProp(string, Vector, string, int)", - "contents": "CreateProp(${1:string}, ${2:Vector}, ${3:string}, ${4:int})$0", - "kind": "keyword", - "details": "Create a physics prop" - }, - { - "trigger": "CreateSceneEntity", - "annotation": "handle CreateSceneEntity(string)", - "contents": "CreateSceneEntity(${1:string})$0", - "kind": "keyword", - "details": "Create a scene entity to play the specified scene." - }, - { - "trigger": "Cross", - "annotation": "float Cross(Vector factor)", - "contents": "Cross(${1:Vector factor})$0", - "kind": "keyword", - "details": "The vector product of two vectors. Returns a vector orthogonal to the input vectors." - }, - { - "trigger": "DISABLE_DODGE", - "annotation": "DISABLE_DODGE", - "contents": "DISABLE_DODGE$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "DMG_ACID", - "annotation": "DMG_ACID", - "contents": "DMG_ACID$0", - "kind": "keyword", - "details": "1048576" - }, - { - "trigger": "DMG_AIRBOAT", - "annotation": "DMG_AIRBOAT", - "contents": "DMG_AIRBOAT$0", - "kind": "keyword", - "details": "33554432" - }, - { - "trigger": "DMG_ALWAYSGIB", - "annotation": "DMG_ALWAYSGIB", - "contents": "DMG_ALWAYSGIB$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "DMG_BLAST", - "annotation": "DMG_BLAST", - "contents": "DMG_BLAST$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "DMG_BLAST_SURFACE", - "annotation": "DMG_BLAST_SURFACE", - "contents": "DMG_BLAST_SURFACE$0", - "kind": "keyword", - "details": "134217728" - }, - { - "trigger": "DMG_BUCKSHOT", - "annotation": "DMG_BUCKSHOT", - "contents": "DMG_BUCKSHOT$0", - "kind": "keyword", - "details": "536870912" - }, - { - "trigger": "DMG_BULLET", - "annotation": "DMG_BULLET", - "contents": "DMG_BULLET$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "DMG_BURN", - "annotation": "DMG_BURN", - "contents": "DMG_BURN$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "DMG_CLUB", - "annotation": "DMG_CLUB", - "contents": "DMG_CLUB$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "DMG_CRUSH", - "annotation": "DMG_CRUSH", - "contents": "DMG_CRUSH$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "DMG_DIRECT", - "annotation": "DMG_DIRECT", - "contents": "DMG_DIRECT$0", - "kind": "keyword", - "details": "268435456" - }, - { - "trigger": "DMG_DISSOLVE", - "annotation": "DMG_DISSOLVE", - "contents": "DMG_DISSOLVE$0", - "kind": "keyword", - "details": "67108864" - }, - { - "trigger": "DMG_DROWN", - "annotation": "DMG_DROWN", - "contents": "DMG_DROWN$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "DMG_DROWNRECOVER", - "annotation": "DMG_DROWNRECOVER", - "contents": "DMG_DROWNRECOVER$0", - "kind": "keyword", - "details": "524288" - }, - { - "trigger": "DMG_ENERGYBEAM", - "annotation": "DMG_ENERGYBEAM", - "contents": "DMG_ENERGYBEAM$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "DMG_FALL", - "annotation": "DMG_FALL", - "contents": "DMG_FALL$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "DMG_GENERIC", - "annotation": "DMG_GENERIC", - "contents": "DMG_GENERIC$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "DMG_NERVEGAS", - "annotation": "DMG_NERVEGAS", - "contents": "DMG_NERVEGAS$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "DMG_NEVERGIB", - "annotation": "DMG_NEVERGIB", - "contents": "DMG_NEVERGIB$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "DMG_PARALYZE", - "annotation": "DMG_PARALYZE", - "contents": "DMG_PARALYZE$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "DMG_PHYSGUN", - "annotation": "DMG_PHYSGUN", - "contents": "DMG_PHYSGUN$0", - "kind": "keyword", - "details": "8388608" - }, - { - "trigger": "DMG_PLASMA", - "annotation": "DMG_PLASMA", - "contents": "DMG_PLASMA$0", - "kind": "keyword", - "details": "16777216" - }, - { - "trigger": "DMG_POISON", - "annotation": "DMG_POISON", - "contents": "DMG_POISON$0", - "kind": "keyword", - "details": "131072" - }, - { - "trigger": "DMG_PREVENT_PHYSICS_FORCE", - "annotation": "DMG_PREVENT_PHYSICS_FORCE", - "contents": "DMG_PREVENT_PHYSICS_FORCE$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "DMG_RADIATION", - "annotation": "DMG_RADIATION", - "contents": "DMG_RADIATION$0", - "kind": "keyword", - "details": "262144" - }, - { - "trigger": "DMG_REMOVENORAGDOLL", - "annotation": "DMG_REMOVENORAGDOLL", - "contents": "DMG_REMOVENORAGDOLL$0", - "kind": "keyword", - "details": "4194304" - }, - { - "trigger": "DMG_SHOCK", - "annotation": "DMG_SHOCK", - "contents": "DMG_SHOCK$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "DMG_SLASH", - "annotation": "DMG_SLASH", - "contents": "DMG_SLASH$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "DMG_SLOWBURN", - "annotation": "DMG_SLOWBURN", - "contents": "DMG_SLOWBURN$0", - "kind": "keyword", - "details": "2097152" - }, - { - "trigger": "DMG_SONIC", - "annotation": "DMG_SONIC", - "contents": "DMG_SONIC$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "DMG_VEHICLE", - "annotation": "DMG_VEHICLE", - "contents": "DMG_VEHICLE$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "DOWN", - "annotation": "DOWN", - "contents": "DOWN$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "DebugDrawBox", - "annotation": "void DebugDrawBox(Vector origin, vector min, vector max, int r, int g, int b, int alpha, float duration)", - "contents": "DebugDrawBox(${1:Vector origin}, ${2:vector min}, ${3:vector max}, ${4:int r}, ${5:int g}, ${6:int b}, ${7:int alpha}, ${8:float duration})$0", - "kind": "keyword", - "details": "Draw a debug overlay box." - }, - { - "trigger": "DebugDrawBoxAngles", - "annotation": "void DebugDrawBoxAngles(Vector origin, Vector min, Vector max, QAngle direction, Vector rgb, int alpha, float duration)", - "contents": "DebugDrawBoxAngles(${1:Vector origin}, ${2:Vector min}, ${3:Vector max}, ${4:QAngle direction}, ${5:Vector rgb}, ${6:int alpha}, ${7:float duration})$0", - "kind": "keyword", - "details": "Draw a debug oriented box (cent, min, max, angles(p,y,r), vRgb, a, duration)." - }, - { - "trigger": "DebugDrawBoxDirection", - "annotation": "void DebugDrawBoxDirection(Vector center, Vector min, Vector max, Vector forward, Vector rgb, float alpha, float duration)", - "contents": "DebugDrawBoxDirection(${1:Vector center}, ${2:Vector min}, ${3:Vector max}, ${4:Vector forward}, ${5:Vector rgb}, ${6:float alpha}, ${7:float duration})$0", - "kind": "keyword", - "details": "Draw a debug forward box." - }, - { - "trigger": "DebugDrawCircle", - "annotation": "void DebugDrawCircle(Vector center, Vector rgb, float alpha, float radius, bool ztest, float duration)", - "contents": "DebugDrawCircle(${1:Vector center}, ${2:Vector rgb}, ${3:float alpha}, ${4:float radius}, ${5:bool ztest}, ${6:float duration})$0", - "kind": "keyword", - "details": "Draw a debug circle." - }, - { - "trigger": "DebugDrawClear", - "annotation": "void DebugDrawClear()", - "contents": "DebugDrawClear()$0", - "kind": "keyword", - "details": "Try to clear all the debug overlay info." - }, - { - "trigger": "DebugDrawFilled", - "annotation": "void DebugDrawFilled(int, int, int, int, float, bool, float)", - "contents": "DebugDrawFilled(${1:int}, ${2:int}, ${3:int}, ${4:int}, ${5:float}, ${6:bool}, ${7:float})$0", - "kind": "keyword", - "details": "Draw area as a filled rect of the given color" - }, - { - "trigger": "DebugDrawLine", - "annotation": "void DebugDrawLine(Vector start, Vector end, int red, int green, int blue', bool zTest, float time)", - "contents": "DebugDrawLine(${1:Vector start}, ${2:Vector end}, ${3:int red}, ${4:int green}, ${5:int blue'}, ${6:bool zTest}, ${7:float time})$0", - "kind": "keyword", - "details": "Draw a debug overlay line." - }, - { - "trigger": "DebugDrawLine_vCol", - "annotation": "void DebugDrawLine_vCol(Vector start, vector end, vector rgb, bool ztest, float duration)", - "contents": "DebugDrawLine_vCol(${1:Vector start}, ${2:vector end}, ${3:vector rgb}, ${4:bool ztest}, ${5:float duration})$0", - "kind": "keyword", - "details": "Draw a debug line using color vec." - }, - { - "trigger": "DebugDrawScreenTextLine", - "annotation": "void DebugDrawScreenTextLine(float x, float y, int lineOffset, string text, int r, int g, int b, int a, float duration)", - "contents": "DebugDrawScreenTextLine(${1:float x}, ${2:float y}, ${3:int lineOffset}, ${4:string text}, ${5:int r}, ${6:int g}, ${7:int b}, ${8:int a}, ${9:float duration})$0", - "kind": "keyword", - "details": "Draw text with a line offset." - }, - { - "trigger": "DebugDrawText", - "annotation": "void DebugDrawText(Vector origin, string text, bool useViewCheck, float duration)", - "contents": "DebugDrawText(${1:Vector origin}, ${2:string text}, ${3:bool useViewCheck}, ${4:float duration})$0", - "kind": "keyword", - "details": "Draw text on the screen, starting on the position of origin." - }, - { - "trigger": "DelayedThreatNotice", - "annotation": "void DelayedThreatNotice(handle, float)", - "contents": "DelayedThreatNotice(${1:handle}, ${2:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Destroy", - "annotation": "void Destroy()", - "contents": "Destroy()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "DisableDraw", - "annotation": "void DisableDraw()", - "contents": "DisableDraw()$0", - "kind": "keyword", - "details": "Enable drawing (removes EF_NODRAW)" - }, - { - "trigger": "DisbandCurrentSquad", - "annotation": "void DisbandCurrentSquad()", - "contents": "DisbandCurrentSquad()$0", - "kind": "keyword", - "details": "Forces the current squad to be entirely disbanded by everyone" - }, - { - "trigger": "Disconnect", - "annotation": "void Disconnect(handle area)", - "contents": "Disconnect(${1:handle area})$0", - "kind": "keyword", - "details": "Disconnect this area from given area" - }, - { - "trigger": "DisconnectOutput", - "annotation": "void DisconnectOutput(string, string)", - "contents": "DisconnectOutput(${1:string}, ${2:string})$0", - "kind": "keyword", - "details": "Removes a connected script function from an I/O event." - }, - { - "trigger": "DispatchAnimEvents", - "annotation": "void DispatchAnimEvents(handle)", - "contents": "DispatchAnimEvents(${1:handle})$0", - "kind": "keyword", - "details": "Dispatch animation events to a CBaseAnimating" - }, - { - "trigger": "DispatchParticleEffect", - "annotation": "void DispatchParticleEffect(string, Vector, Vector)", - "contents": "DispatchParticleEffect(${1:string}, ${2:Vector}, ${3:Vector})$0", - "kind": "keyword", - "details": "Dispatches a one-off particle system" - }, - { - "trigger": "DispatchSpawn", - "annotation": "void DispatchSpawn(handle entity)", - "contents": "DispatchSpawn(${1:handle entity})$0", - "kind": "keyword", - "details": "Dispatches spawn of an entity!" - }, - { - "trigger": "DoEntFire", - "annotation": "void DoEntFire(string target, string action, string value, float delay, handle activator, handle caller)", - "contents": "DoEntFire(${1:string target}, ${2:string action}, ${3:string value}, ${4:float delay}, ${5:handle activator}, ${6:handle caller})$0", - "kind": "keyword", - "details": "Generate an entity I/O event. The caller and activator argument takes a CBaseEntity script handle, and entities assigned can receive inputs with target set to !self, or !activator / !caller." - }, - { - "trigger": "DoIncludeScript", - "annotation": "bool DoIncludeScript(string file, handle/table scope)", - "contents": "DoIncludeScript(${1:string file}, ${2:handle/table scope})$0", - "kind": "keyword", - "details": "Execute a script. and put all its content for the argument passed to thescopeparameter. (internal)" - }, - { - "trigger": "DoUniqueString", - "annotation": "string DoUniqueString(string input)", - "contents": "DoUniqueString(${1:string input})$0", - "kind": "keyword", - "details": "Unknown; presumably an internal function called by UniqueString, so call that instead." - }, - { - "trigger": "Document", - "annotation": "void Document(unknown symbolOrTable, unknown itemIfSymbol = null, string descriptionIfSymbol = null)", - "contents": "Document(${1:unknown symbolOrTable}, ${2:unknown itemIfSymbol = null}, ${3:string descriptionIfSymbol = null})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Dot", - "annotation": "float Dot(Quaternion factor)", - "contents": "Dot(${1:Quaternion factor})$0", - "kind": "keyword", - "details": "The 4D scalar product of two quaternions. represents the angle between the quaternions in the range [1, 0]." - }, - { - "trigger": "DriveTo", - "annotation": "void DriveTo(Vector)", - "contents": "DriveTo(${1:Vector})$0", - "kind": "keyword", - "details": "Move the bot to the precise given position immediately, updating internal state" - }, - { - "trigger": "DropFlag", - "annotation": "void DropFlag(bool)", - "contents": "DropFlag(${1:bool})$0", - "kind": "keyword", - "details": "Force player to drop the flag." - }, - { - "trigger": "DropRune", - "annotation": "void DropRune(bool, int)", - "contents": "DropRune(${1:bool}, ${2:int})$0", - "kind": "keyword", - "details": "Force player to drop the rune." - }, - { - "trigger": "DumpObject", - "annotation": "void DumpObject(handle object)", - "contents": "DumpObject(${1:handle object})$0", - "kind": "keyword", - "details": "Dumps information about a class or instance." - }, - { - "trigger": "E", - "annotation": "E", - "contents": "E$0", - "kind": "keyword", - "details": "2.71828" - }, - { - "trigger": "EAST", - "annotation": "EAST", - "contents": "EAST$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "EASY", - "annotation": "EASY", - "contents": "EASY$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "EFL_BOT_FROZEN", - "annotation": "EFL_BOT_FROZEN", - "contents": "EFL_BOT_FROZEN$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "EFL_CHECK_UNTOUCH", - "annotation": "EFL_CHECK_UNTOUCH", - "contents": "EFL_CHECK_UNTOUCH$0", - "kind": "keyword", - "details": "16777216" - }, - { - "trigger": "EFL_DIRTY_ABSANGVELOCITY", - "annotation": "EFL_DIRTY_ABSANGVELOCITY", - "contents": "EFL_DIRTY_ABSANGVELOCITY$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "EFL_DIRTY_ABSTRANSFORM", - "annotation": "EFL_DIRTY_ABSTRANSFORM", - "contents": "EFL_DIRTY_ABSTRANSFORM$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "EFL_DIRTY_ABSVELOCITY", - "annotation": "EFL_DIRTY_ABSVELOCITY", - "contents": "EFL_DIRTY_ABSVELOCITY$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "EFL_DIRTY_SHADOWUPDATE", - "annotation": "EFL_DIRTY_SHADOWUPDATE", - "contents": "EFL_DIRTY_SHADOWUPDATE$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "EFL_DIRTY_SPATIAL_PARTITION", - "annotation": "EFL_DIRTY_SPATIAL_PARTITION", - "contents": "EFL_DIRTY_SPATIAL_PARTITION$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS", - "annotation": "EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS", - "contents": "EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "EFL_DONTBLOCKLOS", - "annotation": "EFL_DONTBLOCKLOS", - "contents": "EFL_DONTBLOCKLOS$0", - "kind": "keyword", - "details": "33554432" - }, - { - "trigger": "EFL_DONTWALKON", - "annotation": "EFL_DONTWALKON", - "contents": "EFL_DONTWALKON$0", - "kind": "keyword", - "details": "67108864" - }, - { - "trigger": "EFL_DORMANT", - "annotation": "EFL_DORMANT", - "contents": "EFL_DORMANT$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "EFL_FORCE_ALLOW_MOVEPARENT", - "annotation": "EFL_FORCE_ALLOW_MOVEPARENT", - "contents": "EFL_FORCE_ALLOW_MOVEPARENT$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "EFL_FORCE_CHECK_TRANSMIT", - "annotation": "EFL_FORCE_CHECK_TRANSMIT", - "contents": "EFL_FORCE_CHECK_TRANSMIT$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "EFL_HAS_PLAYER_CHILD", - "annotation": "EFL_HAS_PLAYER_CHILD", - "contents": "EFL_HAS_PLAYER_CHILD$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "EFL_IN_SKYBOX", - "annotation": "EFL_IN_SKYBOX", - "contents": "EFL_IN_SKYBOX$0", - "kind": "keyword", - "details": "131072" - }, - { - "trigger": "EFL_IS_BEING_LIFTED_BY_BARNACLE", - "annotation": "EFL_IS_BEING_LIFTED_BY_BARNACLE", - "contents": "EFL_IS_BEING_LIFTED_BY_BARNACLE$0", - "kind": "keyword", - "details": "1048576" - }, - { - "trigger": "EFL_KEEP_ON_RECREATE_ENTITIES", - "annotation": "EFL_KEEP_ON_RECREATE_ENTITIES", - "contents": "EFL_KEEP_ON_RECREATE_ENTITIES$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "EFL_KILLME", - "annotation": "EFL_KILLME", - "contents": "EFL_KILLME$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "EFL_NOCLIP_ACTIVE", - "annotation": "EFL_NOCLIP_ACTIVE", - "contents": "EFL_NOCLIP_ACTIVE$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "EFL_NOTIFY", - "annotation": "EFL_NOTIFY", - "contents": "EFL_NOTIFY$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "EFL_NO_AUTO_EDICT_ATTACH", - "annotation": "EFL_NO_AUTO_EDICT_ATTACH", - "contents": "EFL_NO_AUTO_EDICT_ATTACH$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "EFL_NO_DAMAGE_FORCES", - "annotation": "EFL_NO_DAMAGE_FORCES", - "contents": "EFL_NO_DAMAGE_FORCES$0", - "kind": "keyword", - "details": "2147483648" - }, - { - "trigger": "EFL_NO_DISSOLVE", - "annotation": "EFL_NO_DISSOLVE", - "contents": "EFL_NO_DISSOLVE$0", - "kind": "keyword", - "details": "134217728" - }, - { - "trigger": "EFL_NO_GAME_PHYSICS_SIMULATION", - "annotation": "EFL_NO_GAME_PHYSICS_SIMULATION", - "contents": "EFL_NO_GAME_PHYSICS_SIMULATION$0", - "kind": "keyword", - "details": "8388608" - }, - { - "trigger": "EFL_NO_MEGAPHYSCANNON_RAGDOLL", - "annotation": "EFL_NO_MEGAPHYSCANNON_RAGDOLL", - "contents": "EFL_NO_MEGAPHYSCANNON_RAGDOLL$0", - "kind": "keyword", - "details": "268435456" - }, - { - "trigger": "EFL_NO_PHYSCANNON_INTERACTION", - "annotation": "EFL_NO_PHYSCANNON_INTERACTION", - "contents": "EFL_NO_PHYSCANNON_INTERACTION$0", - "kind": "keyword", - "details": "1073741824" - }, - { - "trigger": "EFL_NO_ROTORWASH_PUSH", - "annotation": "EFL_NO_ROTORWASH_PUSH", - "contents": "EFL_NO_ROTORWASH_PUSH$0", - "kind": "keyword", - "details": "2097152" - }, - { - "trigger": "EFL_NO_THINK_FUNCTION", - "annotation": "EFL_NO_THINK_FUNCTION", - "contents": "EFL_NO_THINK_FUNCTION$0", - "kind": "keyword", - "details": "4194304" - }, - { - "trigger": "EFL_NO_WATER_VELOCITY_CHANGE", - "annotation": "EFL_NO_WATER_VELOCITY_CHANGE", - "contents": "EFL_NO_WATER_VELOCITY_CHANGE$0", - "kind": "keyword", - "details": "536870912" - }, - { - "trigger": "EFL_SERVER_ONLY", - "annotation": "EFL_SERVER_ONLY", - "contents": "EFL_SERVER_ONLY$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "EFL_SETTING_UP_BONES", - "annotation": "EFL_SETTING_UP_BONES", - "contents": "EFL_SETTING_UP_BONES$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "EFL_TOUCHING_FLUID", - "annotation": "EFL_TOUCHING_FLUID", - "contents": "EFL_TOUCHING_FLUID$0", - "kind": "keyword", - "details": "524288" - }, - { - "trigger": "EFL_USE_PARTITION_WHEN_NOT_SOLID", - "annotation": "EFL_USE_PARTITION_WHEN_NOT_SOLID", - "contents": "EFL_USE_PARTITION_WHEN_NOT_SOLID$0", - "kind": "keyword", - "details": "262144" - }, - { - "trigger": "EF_BONEMERGE", - "annotation": "EF_BONEMERGE", - "contents": "EF_BONEMERGE$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "EF_BONEMERGE_FASTCULL", - "annotation": "EF_BONEMERGE_FASTCULL", - "contents": "EF_BONEMERGE_FASTCULL$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "EF_BRIGHTLIGHT", - "annotation": "EF_BRIGHTLIGHT", - "contents": "EF_BRIGHTLIGHT$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "EF_DIMLIGHT", - "annotation": "EF_DIMLIGHT", - "contents": "EF_DIMLIGHT$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "EF_ITEM_BLINK", - "annotation": "EF_ITEM_BLINK", - "contents": "EF_ITEM_BLINK$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "EF_MAX_BITS", - "annotation": "EF_MAX_BITS", - "contents": "EF_MAX_BITS$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "EF_NODRAW", - "annotation": "EF_NODRAW", - "contents": "EF_NODRAW$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "EF_NOINTERP", - "annotation": "EF_NOINTERP", - "contents": "EF_NOINTERP$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "EF_NORECEIVESHADOW", - "annotation": "EF_NORECEIVESHADOW", - "contents": "EF_NORECEIVESHADOW$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "EF_NOSHADOW", - "annotation": "EF_NOSHADOW", - "contents": "EF_NOSHADOW$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "EF_PARENT_ANIMATES", - "annotation": "EF_PARENT_ANIMATES", - "contents": "EF_PARENT_ANIMATES$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "EXPERT", - "annotation": "EXPERT", - "contents": "EXPERT$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "EmitAmbientSoundOn", - "annotation": "void EmitAmbientSoundOn(string soundName, float volume, int soundlevel, int pitch, handle entity)", - "contents": "EmitAmbientSoundOn(${1:string soundName}, ${2:float volume}, ${3:int soundlevel}, ${4:int pitch}, ${5:handle entity})$0", - "kind": "keyword", - "details": "Play named sound on an entity using configurations similar to ambient_generic." - }, - { - "trigger": "EmitSound", - "annotation": "void EmitSound(string)", - "contents": "EmitSound(${1:string})$0", - "kind": "keyword", - "details": "Plays a sound from this entity." - }, - { - "trigger": "EmitSoundOn", - "annotation": "void EmitSoundOn(string soundScript, handle entity)", - "contents": "EmitSoundOn(${1:string soundScript}, ${2:handle entity})$0", - "kind": "keyword", - "details": "Play named sound on an entity." - }, - { - "trigger": "EmitSoundOnClient", - "annotation": "void EmitSoundOnClient(string soundScript, handle player)", - "contents": "EmitSoundOnClient(${1:string soundScript}, ${2:handle player})$0", - "kind": "keyword", - "details": "Play named sound only on the client for the specified player." - }, - { - "trigger": "EnableDraw", - "annotation": "void EnableDraw()", - "contents": "EnableDraw()$0", - "kind": "keyword", - "details": "Disable drawing (sets EF_NODRAW)" - }, - { - "trigger": "End", - "annotation": "End()", - "contents": "End()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "EndScriptDebug", - "annotation": "EndScriptDebug()", - "contents": "EndScriptDebug()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "EntFire", - "annotation": "void EntFire(string target, string action, string value = null, float delay = 0, handle activator = null)", - "contents": "EntFire(${1:string target}, ${2:string action}, ${3:string value = null}, ${4:float delay = 0}, ${5:handle activator = null})$0", - "kind": "keyword", - "details": "Wrapper for DoEntFire() that setsactivator to null, but has nocallerparam." - }, - { - "trigger": "EntFireByHandle", - "annotation": "void EntFireByHandle(handle, string, string, float, handle, handle)", - "contents": "EntFireByHandle(${1:handle}, ${2:string}, ${3:string}, ${4:float}, ${5:handle}, ${6:handle})$0", - "kind": "keyword", - "details": "Generate and entity i/o event. First parameter is an entity instance." - }, - { - "trigger": "EntIndexToHScript", - "annotation": "handle EntIndexToHScript(int entIndex)", - "contents": "EntIndexToHScript(${1:int entIndex})$0", - "kind": "keyword", - "details": "Turn an entity index integer to an HScript representing that entity's script instance." - }, - { - "trigger": "Epsilon", - "annotation": "Epsilon", - "contents": "Epsilon$0", - "kind": "keyword", - "details": "1.19209e-07" - }, - { - "trigger": "EstablishDelegation", - "annotation": "EstablishDelegation()", - "contents": "EstablishDelegation()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "EstimateLength", - "annotation": "float EstimateLength()", - "contents": "EstimateLength()$0", - "kind": "keyword", - "details": "Returns length of this scene in seconds." - }, - { - "trigger": "ExtinguishPlayerBurning", - "annotation": "void ExtinguishPlayerBurning()", - "contents": "ExtinguishPlayerBurning()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "EyeAngles", - "annotation": "QAngle EyeAngles()", - "contents": "EyeAngles()$0", - "kind": "keyword", - "details": "Returns the entity's eye angles" - }, - { - "trigger": "EyePosition", - "annotation": "Vector EyePosition()", - "contents": "EyePosition()$0", - "kind": "keyword", - "details": "Get vector to eye position - absolute coords" - }, - { - "trigger": "FIRE_IMMUNE", - "annotation": "FIRE_IMMUNE", - "contents": "FIRE_IMMUNE$0", - "kind": "keyword", - "details": "33554432" - }, - { - "trigger": "FL_AIMTARGET", - "annotation": "FL_AIMTARGET", - "contents": "FL_AIMTARGET$0", - "kind": "keyword", - "details": "131072" - }, - { - "trigger": "FL_ANIMDUCKING", - "annotation": "FL_ANIMDUCKING", - "contents": "FL_ANIMDUCKING$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "FL_ATCONTROLS", - "annotation": "FL_ATCONTROLS", - "contents": "FL_ATCONTROLS$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "FL_BASEVELOCITY", - "annotation": "FL_BASEVELOCITY", - "contents": "FL_BASEVELOCITY$0", - "kind": "keyword", - "details": "16777216" - }, - { - "trigger": "FL_CLIENT", - "annotation": "FL_CLIENT", - "contents": "FL_CLIENT$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "FL_CONVEYOR", - "annotation": "FL_CONVEYOR", - "contents": "FL_CONVEYOR$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "FL_DISSOLVING", - "annotation": "FL_DISSOLVING", - "contents": "FL_DISSOLVING$0", - "kind": "keyword", - "details": "536870912" - }, - { - "trigger": "FL_DONTTOUCH", - "annotation": "FL_DONTTOUCH", - "contents": "FL_DONTTOUCH$0", - "kind": "keyword", - "details": "8388608" - }, - { - "trigger": "FL_DUCKING", - "annotation": "FL_DUCKING", - "contents": "FL_DUCKING$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "FL_FAKECLIENT", - "annotation": "FL_FAKECLIENT", - "contents": "FL_FAKECLIENT$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "FL_FLY", - "annotation": "FL_FLY", - "contents": "FL_FLY$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "FL_FROZEN", - "annotation": "FL_FROZEN", - "contents": "FL_FROZEN$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "FL_GODMODE", - "annotation": "FL_GODMODE", - "contents": "FL_GODMODE$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "FL_GRAPHED", - "annotation": "FL_GRAPHED", - "contents": "FL_GRAPHED$0", - "kind": "keyword", - "details": "1048576" - }, - { - "trigger": "FL_GRENADE", - "annotation": "FL_GRENADE", - "contents": "FL_GRENADE$0", - "kind": "keyword", - "details": "2097152" - }, - { - "trigger": "FL_INRAIN", - "annotation": "FL_INRAIN", - "contents": "FL_INRAIN$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "FL_INWATER", - "annotation": "FL_INWATER", - "contents": "FL_INWATER$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "FL_KILLME", - "annotation": "FL_KILLME", - "contents": "FL_KILLME$0", - "kind": "keyword", - "details": "134217728" - }, - { - "trigger": "FL_NOTARGET", - "annotation": "FL_NOTARGET", - "contents": "FL_NOTARGET$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "FL_NPC", - "annotation": "FL_NPC", - "contents": "FL_NPC$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "FL_OBJECT", - "annotation": "FL_OBJECT", - "contents": "FL_OBJECT$0", - "kind": "keyword", - "details": "67108864" - }, - { - "trigger": "FL_ONFIRE", - "annotation": "FL_ONFIRE", - "contents": "FL_ONFIRE$0", - "kind": "keyword", - "details": "268435456" - }, - { - "trigger": "FL_ONGROUND", - "annotation": "FL_ONGROUND", - "contents": "FL_ONGROUND$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "FL_ONTRAIN", - "annotation": "FL_ONTRAIN", - "contents": "FL_ONTRAIN$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "FL_PARTIALGROUND", - "annotation": "FL_PARTIALGROUND", - "contents": "FL_PARTIALGROUND$0", - "kind": "keyword", - "details": "262144" - }, - { - "trigger": "FL_STATICPROP", - "annotation": "FL_STATICPROP", - "contents": "FL_STATICPROP$0", - "kind": "keyword", - "details": "524288" - }, - { - "trigger": "FL_STEPMOVEMENT", - "annotation": "FL_STEPMOVEMENT", - "contents": "FL_STEPMOVEMENT$0", - "kind": "keyword", - "details": "4194304" - }, - { - "trigger": "FL_SWIM", - "annotation": "FL_SWIM", - "contents": "FL_SWIM$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "FL_TRANSRAGDOLL", - "annotation": "FL_TRANSRAGDOLL", - "contents": "FL_TRANSRAGDOLL$0", - "kind": "keyword", - "details": "1073741824" - }, - { - "trigger": "FL_UNBLOCKABLE_BY_PLAYER", - "annotation": "FL_UNBLOCKABLE_BY_PLAYER", - "contents": "FL_UNBLOCKABLE_BY_PLAYER$0", - "kind": "keyword", - "details": "2147483648" - }, - { - "trigger": "FL_WATERJUMP", - "annotation": "FL_WATERJUMP", - "contents": "FL_WATERJUMP$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "FL_WORLDBRUSH", - "annotation": "FL_WORLDBRUSH", - "contents": "FL_WORLDBRUSH$0", - "kind": "keyword", - "details": "33554432" - }, - { - "trigger": "FORWARD", - "annotation": "FORWARD", - "contents": "FORWARD$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "FSOLID_CUSTOMBOXTEST", - "annotation": "FSOLID_CUSTOMBOXTEST", - "contents": "FSOLID_CUSTOMBOXTEST$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "FSOLID_CUSTOMRAYTEST", - "annotation": "FSOLID_CUSTOMRAYTEST", - "contents": "FSOLID_CUSTOMRAYTEST$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "FSOLID_FORCE_WORLD_ALIGNED", - "annotation": "FSOLID_FORCE_WORLD_ALIGNED", - "contents": "FSOLID_FORCE_WORLD_ALIGNED$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "FSOLID_MAX_BITS", - "annotation": "FSOLID_MAX_BITS", - "contents": "FSOLID_MAX_BITS$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "FSOLID_NOT_SOLID", - "annotation": "FSOLID_NOT_SOLID", - "contents": "FSOLID_NOT_SOLID$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "FSOLID_NOT_STANDABLE", - "annotation": "FSOLID_NOT_STANDABLE", - "contents": "FSOLID_NOT_STANDABLE$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "FSOLID_ROOT_PARENT_ALIGNED", - "annotation": "FSOLID_ROOT_PARENT_ALIGNED", - "contents": "FSOLID_ROOT_PARENT_ALIGNED$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "FSOLID_TRIGGER", - "annotation": "FSOLID_TRIGGER", - "contents": "FSOLID_TRIGGER$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "FSOLID_TRIGGER_TOUCH_DEBRIS", - "annotation": "FSOLID_TRIGGER_TOUCH_DEBRIS", - "contents": "FSOLID_TRIGGER_TOUCH_DEBRIS$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "FSOLID_USE_TRIGGER_BOUNDS", - "annotation": "FSOLID_USE_TRIGGER_BOUNDS", - "contents": "FSOLID_USE_TRIGGER_BOUNDS$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "FSOLID_VOLUME_CONTENTS", - "annotation": "FSOLID_VOLUME_CONTENTS", - "contents": "FSOLID_VOLUME_CONTENTS$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "FaceTowards", - "annotation": "void FaceTowards(Vector)", - "contents": "FaceTowards(${1:Vector})$0", - "kind": "keyword", - "details": "Rotate body to face towards target" - }, - { - "trigger": "FileToString", - "annotation": "string FileToString(string file)", - "contents": "FileToString(${1:string file})$0", - "kind": "keyword", - "details": "Reads a string from file. Returns the string from the file, null if no file or file is greater than 16384 bytes. The game will crash to desktop if the file is exactly 16384 bytes." - }, - { - "trigger": "FindBodygroupByName", - "annotation": "int FindBodygroupByName(string)", - "contents": "FindBodygroupByName(${1:string})$0", - "kind": "keyword", - "details": "Find a bodygroup id by name" - }, - { - "trigger": "FindByClassname", - "annotation": "handle FindByClassname(handle previous, string classname)", - "contents": "FindByClassname(${1:handle previous}, ${2:string classname})$0", - "kind": "keyword", - "details": "Find entities by the value of their classname keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search. Note: the classname keyvalue of an entity can be manipulated and does not necessarily reflect its code class. There might be entities that have a different classname than the one they are created with." - }, - { - "trigger": "FindByClassnameNearest", - "annotation": "handle FindByClassnameNearest(string classname, Vector center, float radius)", - "contents": "FindByClassnameNearest(${1:string classname}, ${2:Vector center}, ${3:float radius})$0", - "kind": "keyword", - "details": "Find entities by classname nearest to a point." - }, - { - "trigger": "FindByClassnameWithin", - "annotation": "handle FindByClassnameWithin(handle previous, string classname, Vector center, float radius)", - "contents": "FindByClassnameWithin(${1:handle previous}, ${2:string classname}, ${3:Vector center}, ${4:float radius})$0", - "kind": "keyword", - "details": "Find entities by classname within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" - }, - { - "trigger": "FindByModel", - "annotation": "handle FindByModel(handle previous, string modelname)", - "contents": "FindByModel(${1:handle previous}, ${2:string modelname})$0", - "kind": "keyword", - "details": "Find entities by the value of their model keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" - }, - { - "trigger": "FindByName", - "annotation": "handle FindByName(handle previous, string targetname)", - "contents": "FindByName(${1:handle previous}, ${2:string targetname})$0", - "kind": "keyword", - "details": "Find entities by the value of their enttargetname keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" - }, - { - "trigger": "FindByNameNearest", - "annotation": "handle FindByNameNearest(string targetname, Vector center, float radius)", - "contents": "FindByNameNearest(${1:string targetname}, ${2:Vector center}, ${3:float radius})$0", - "kind": "keyword", - "details": "Find entities by targetname nearest to a point." - }, - { - "trigger": "FindByNameWithin", - "annotation": "handle FindByNameWithin(handle previous, string targetname, Vector center, float radius)", - "contents": "FindByNameWithin(${1:handle previous}, ${2:string targetname}, ${3:Vector center}, ${4:float radius})$0", - "kind": "keyword", - "details": "Find entities by targetname within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" - }, - { - "trigger": "FindByTarget", - "annotation": "handle FindByTarget(handle previous, string target)", - "contents": "FindByTarget(${1:handle previous}, ${2:string target})$0", - "kind": "keyword", - "details": "Find entities by the value of their target keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" - }, - { - "trigger": "FindCircularReference", - "annotation": "FindCircularReference()", - "contents": "FindCircularReference()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "FindCircularReferences", - "annotation": "FindCircularReferences()", - "contents": "FindCircularReferences()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "FindInSphere", - "annotation": "handle FindInSphere(handle previous, Vector center, float radius)", - "contents": "FindInSphere(${1:handle previous}, ${2:Vector center}, ${3:float radius})$0", - "kind": "keyword", - "details": "Find entities within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" - }, - { - "trigger": "FindKey", - "annotation": "CScriptKeyValues FindKey(string key)", - "contents": "FindKey(${1:string key})$0", - "kind": "keyword", - "details": "Find a sub key by the key name." - }, - { - "trigger": "FindNamedEntity", - "annotation": "handle FindNamedEntity(string)", - "contents": "FindNamedEntity(${1:string})$0", - "kind": "keyword", - "details": "given an entity reference, such as !target, get actual entity from scene object" - }, - { - "trigger": "FindNavAreaAlongRay", - "annotation": "handle FindNavAreaAlongRay(Vector startpos, Vector endpos, handle ignoreAreaID)", - "contents": "FindNavAreaAlongRay(${1:Vector startpos}, ${2:Vector endpos}, ${3:handle ignoreAreaID})$0", - "kind": "keyword", - "details": "get nav area from ray" - }, - { - "trigger": "FindRandomSpot", - "annotation": "Vector FindRandomSpot()", - "contents": "FindRandomSpot()$0", - "kind": "keyword", - "details": "Get random origin within extent of area" - }, - { - "trigger": "FindVantagePoint", - "annotation": "handle FindVantagePoint(float)", - "contents": "FindVantagePoint(${1:float})$0", - "kind": "keyword", - "details": "Get the nav area of the closest vantage point (within distance)" - }, - { - "trigger": "FireGameEvent", - "annotation": "bool FireGameEvent(string, handle)", - "contents": "FireGameEvent(${1:string}, ${2:handle})$0", - "kind": "keyword", - "details": "Fire a game event to a listening callback function in script. Parameters are passed in a squirrel table." - }, - { - "trigger": "FireScriptEvent", - "annotation": "void FireScriptEvent(string event, table params)", - "contents": "FireScriptEvent(${1:string event}, ${2:table params})$0", - "kind": "keyword", - "details": "Wrapper for __RunEventCallbacks()" - }, - { - "trigger": "FireScriptHook", - "annotation": "bool FireScriptHook(string, handle)", - "contents": "FireScriptHook(${1:string}, ${2:handle})$0", - "kind": "keyword", - "details": "Fire a script hook to a listening callback function in script. Parameters are passed in a squirrel table." - }, - { - "trigger": "FiringTalk", - "annotation": "void FiringTalk()", - "contents": "FiringTalk()$0", - "kind": "keyword", - "details": "Makes eg. a heavy go AAAAAAAAAAaAaa like they are firing their minigun." - }, - { - "trigger": "First", - "annotation": "handle First()", - "contents": "First()$0", - "kind": "keyword", - "details": "Begin an iteration over the list of entities" - }, - { - "trigger": "FirstMoveChild", - "annotation": "FirstMoveChild()", - "contents": "FirstMoveChild()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "FlagForUpdate", - "annotation": "void FlagForUpdate(bool)", - "contents": "FlagForUpdate(${1:bool})$0", - "kind": "keyword", - "details": "Flag this bot for update" - }, - { - "trigger": "FlagsMayBeCapped", - "annotation": "bool FlagsMayBeCapped()", - "contents": "FlagsMayBeCapped()$0", - "kind": "keyword", - "details": "May a flag be captured?" - }, - { - "trigger": "ForceChangeTeam", - "annotation": "void ForceChangeTeam(int, bool)", - "contents": "ForceChangeTeam(${1:int}, ${2:bool})$0", - "kind": "keyword", - "details": "Force player to change their team." - }, - { - "trigger": "ForceEnableUpgrades", - "annotation": "void ForceEnableUpgrades(int)", - "contents": "ForceEnableUpgrades(${1:int})$0", - "kind": "keyword", - "details": "Whether to force on MvM-styled upgrades on/off. 0 -> default, 1 -> force off, 2 -> force on" - }, - { - "trigger": "ForceEscortPushLogic", - "annotation": "void ForceEscortPushLogic(int)", - "contents": "ForceEscortPushLogic(${1:int})$0", - "kind": "keyword", - "details": "Forces payload pushing logic. 0 -> default, 1 -> force off, 2 -> force on" - }, - { - "trigger": "ForceRegenerateAndRespawn", - "annotation": "void ForceRegenerateAndRespawn(int, bool)", - "contents": "ForceRegenerateAndRespawn(${1:int}, ${2:bool})$0", - "kind": "keyword", - "details": "Force regenerates and respawns the player" - }, - { - "trigger": "ForceRespawn", - "annotation": "void ForceRespawn(int)", - "contents": "ForceRespawn(${1:int})$0", - "kind": "keyword", - "details": "Force respawns the player" - }, - { - "trigger": "Forward", - "annotation": "Forward()", - "contents": "Forward()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "FractionPotentialGap", - "annotation": "float FractionPotentialGap(Vector, Vector)", - "contents": "FractionPotentialGap(${1:Vector}, ${2:Vector})$0", - "kind": "keyword", - "details": "If the locomotor cannot jump over the gap, returns the fraction of the jumpable ray" - }, - { - "trigger": "FractionPotentiallyTraversable", - "annotation": "float FractionPotentiallyTraversable(Vector, Vector, bool)", - "contents": "FractionPotentiallyTraversable(${1:Vector}, ${2:Vector}, ${3:bool})$0", - "kind": "keyword", - "details": "If the locomotor could not move along the line given, returns the fraction of the walkable ray." - }, - { - "trigger": "FrameTime", - "annotation": "float FrameTime()", - "contents": "FrameTime()$0", - "kind": "keyword", - "details": "Get the time spent on the server in the last frame" - }, - { - "trigger": "GO_EAST", - "annotation": "GO_EAST", - "contents": "GO_EAST$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "GO_ELEVATOR_DOWN", - "annotation": "GO_ELEVATOR_DOWN", - "contents": "GO_ELEVATOR_DOWN$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "GO_ELEVATOR_UP", - "annotation": "GO_ELEVATOR_UP", - "contents": "GO_ELEVATOR_UP$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "GO_JUMP", - "annotation": "GO_JUMP", - "contents": "GO_JUMP$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "GO_LADDER_DOWN", - "annotation": "GO_LADDER_DOWN", - "contents": "GO_LADDER_DOWN$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "GO_LADDER_UP", - "annotation": "GO_LADDER_UP", - "contents": "GO_LADDER_UP$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "GO_NORTH", - "annotation": "GO_NORTH", - "contents": "GO_NORTH$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "GO_SOUTH", - "annotation": "GO_SOUTH", - "contents": "GO_SOUTH$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "GO_WEST", - "annotation": "GO_WEST", - "contents": "GO_WEST$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "GR_NUM_ROUND_STATES", - "annotation": "GR_NUM_ROUND_STATES", - "contents": "GR_NUM_ROUND_STATES$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "GR_STATE_GAME_OVER", - "annotation": "GR_STATE_GAME_OVER", - "contents": "GR_STATE_GAME_OVER$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "GR_STATE_INIT", - "annotation": "GR_STATE_INIT", - "contents": "GR_STATE_INIT$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "GR_STATE_PREGAME", - "annotation": "GR_STATE_PREGAME", - "contents": "GR_STATE_PREGAME$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "GR_STATE_PREROUND", - "annotation": "GR_STATE_PREROUND", - "contents": "GR_STATE_PREROUND$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "GR_STATE_RESTART", - "annotation": "GR_STATE_RESTART", - "contents": "GR_STATE_RESTART$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "GR_STATE_RND_RUNNING", - "annotation": "GR_STATE_RND_RUNNING", - "contents": "GR_STATE_RND_RUNNING$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "GR_STATE_STALEMATE", - "annotation": "GR_STATE_STALEMATE", - "contents": "GR_STATE_STALEMATE$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "GR_STATE_STARTGAME", - "annotation": "GR_STATE_STARTGAME", - "contents": "GR_STATE_STARTGAME$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "GR_STATE_TEAM_WIN", - "annotation": "GR_STATE_TEAM_WIN", - "contents": "GR_STATE_TEAM_WIN$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "GameModeUsesCurrency", - "annotation": "bool GameModeUsesCurrency()", - "contents": "GameModeUsesCurrency()$0", - "kind": "keyword", - "details": "Does the current gamemode have currency?" - }, - { - "trigger": "GameModeUsesMiniBosses", - "annotation": "bool GameModeUsesMiniBosses()", - "contents": "GameModeUsesMiniBosses()$0", - "kind": "keyword", - "details": "Does the current gamemode have minibosses?" - }, - { - "trigger": "GameModeUsesUpgrades", - "annotation": "bool GameModeUsesUpgrades()", - "contents": "GameModeUsesUpgrades()$0", - "kind": "keyword", - "details": "Does the current gamemode have upgrades?" - }, - { - "trigger": "GenerateAndWearItem", - "annotation": "void GenerateAndWearItem(string)", - "contents": "GenerateAndWearItem(${1:string})$0", - "kind": "keyword", - "details": "Give me an item!" - }, - { - "trigger": "GetAbsAngles", - "annotation": "QAngle GetAbsAngles()", - "contents": "GetAbsAngles()$0", - "kind": "keyword", - "details": "Get entity pitch, yaw, roll as QAngles" - }, - { - "trigger": "GetAbsVelocity", - "annotation": "Vector GetAbsVelocity()", - "contents": "GetAbsVelocity()$0", - "kind": "keyword", - "details": "Returns the current absolute velocity of the entity" - }, - { - "trigger": "GetActiveWeapon", - "annotation": "handle GetActiveWeapon()", - "contents": "GetActiveWeapon()$0", - "kind": "keyword", - "details": "Get the player's current weapon" - }, - { - "trigger": "GetAdjacentArea", - "annotation": "handle GetAdjacentArea(int dir, int n)", - "contents": "GetAdjacentArea(${1:int dir}, ${2:int n})$0", - "kind": "keyword", - "details": "Return the n'th adjacent area in the given direction" - }, - { - "trigger": "GetAdjacentAreas", - "annotation": "void GetAdjacentAreas(int dir, handle table)", - "contents": "GetAdjacentAreas(${1:int dir}, ${2:handle table})$0", - "kind": "keyword", - "details": "Fills a passed in table with all adjacent areas in the given direction" - }, - { - "trigger": "GetAdjacentCount", - "annotation": "int GetAdjacentCount(int dir)", - "contents": "GetAdjacentCount(${1:int dir})$0", - "kind": "keyword", - "details": "Get the number of adjacent areas in the given direction" - }, - { - "trigger": "GetAllAreas", - "annotation": "void GetAllAreas(handle table)", - "contents": "GetAllAreas(${1:handle table})$0", - "kind": "keyword", - "details": "fills a passed in table of all nav areas" - }, - { - "trigger": "GetAngles", - "annotation": "Vector GetAngles()", - "contents": "GetAngles()$0", - "kind": "keyword", - "details": "Get entity pitch, yaw, roll as a vector" - }, - { - "trigger": "GetAngularVelocity", - "annotation": "Vector GetAngularVelocity()", - "contents": "GetAngularVelocity()$0", - "kind": "keyword", - "details": "Get the local angular velocity - returns a vector of pitch,yaw,roll" - }, - { - "trigger": "GetAreasWithAttributes", - "annotation": "void GetAreasWithAttributes(int bits, handle table)", - "contents": "GetAreasWithAttributes(${1:int bits}, ${2:handle table})$0", - "kind": "keyword", - "details": "fills a passed in table of all nav areas that have the specified attributes" - }, - { - "trigger": "GetAttachmentAngles", - "annotation": "QAngle GetAttachmentAngles(int)", - "contents": "GetAttachmentAngles(${1:int})$0", - "kind": "keyword", - "details": "Get the attachement id's angles as a p,y,r vector" - }, - { - "trigger": "GetAttachmentBone", - "annotation": "int GetAttachmentBone(int)", - "contents": "GetAttachmentBone(${1:int})$0", - "kind": "keyword", - "details": "Get the named attachement's parent bone index" - }, - { - "trigger": "GetAttachmentOrigin", - "annotation": "Vector GetAttachmentOrigin(int)", - "contents": "GetAttachmentOrigin(${1:int})$0", - "kind": "keyword", - "details": "Get the attachement id's origin vector" - }, - { - "trigger": "GetAttributes", - "annotation": "int GetAttributes()", - "contents": "GetAttributes()$0", - "kind": "keyword", - "details": "Get area attribute bits" - }, - { - "trigger": "GetAvoidanceObstacleHeight", - "annotation": "float GetAvoidanceObstacleHeight()", - "contents": "GetAvoidanceObstacleHeight()$0", - "kind": "keyword", - "details": "Returns the maximum height of the obstruction above the ground" - }, - { - "trigger": "GetBackstabs", - "annotation": "int GetBackstabs()", - "contents": "GetBackstabs()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetBaseVelocity", - "annotation": "Vector GetBaseVelocity()", - "contents": "GetBaseVelocity()$0", - "kind": "keyword", - "details": "Returns any constant velocity currently being imparted onto the entity. This includes being pushed by effects like enttrigger_push and players standing on moving geometry like elevators. Should always returns a zero vector if the entity is not affected by any movement effects." - }, - { - "trigger": "GetBodyInterface", - "annotation": "handle GetBodyInterface()", - "contents": "GetBodyInterface()$0", - "kind": "keyword", - "details": "Get this bot's body interface" - }, - { - "trigger": "GetBodygroup", - "annotation": "int GetBodygroup(int)", - "contents": "GetBodygroup(${1:int})$0", - "kind": "keyword", - "details": "Get a bodygroup by id" - }, - { - "trigger": "GetBodygroupName", - "annotation": "string GetBodygroupName(int)", - "contents": "GetBodygroupName(${1:int})$0", - "kind": "keyword", - "details": "Get the bodygroup id's name" - }, - { - "trigger": "GetBodygroupPartName", - "annotation": "string GetBodygroupPartName(int, int)", - "contents": "GetBodygroupPartName(${1:int}, ${2:int})$0", - "kind": "keyword", - "details": "Get name by group and part" - }, - { - "trigger": "GetBoneAngles", - "annotation": "QAngle GetBoneAngles(int)", - "contents": "GetBoneAngles(${1:int})$0", - "kind": "keyword", - "details": "Get the bone id's angles as a p,y,r vector" - }, - { - "trigger": "GetBoneOrigin", - "annotation": "Vector GetBoneOrigin(int)", - "contents": "GetBoneOrigin(${1:int})$0", - "kind": "keyword", - "details": "Get the bone id's origin vector" - }, - { - "trigger": "GetBonusPoints", - "annotation": "int GetBonusPoints()", - "contents": "GetBonusPoints()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetClientConvarValue", - "annotation": "bool GetClientConvarValue(string name)", - "contents": "GetClientConvarValue(${1:string name})$0", - "kind": "keyword", - "details": "Returns the convar as a bool. May return null if no such convar." - }, - { - "trigger": "GetBotId", - "annotation": "int GetBotId()", - "contents": "GetBotId()$0", - "kind": "keyword", - "details": "Get this bot's id" - }, - { - "trigger": "GetBoundingMaxs", - "annotation": "Vector GetBoundingMaxs()", - "contents": "GetBoundingMaxs()$0", - "kind": "keyword", - "details": "Get a vector containing max bounds, centered on object" - }, - { - "trigger": "GetBoundingMaxsOriented", - "annotation": "Vector GetBoundingMaxsOriented()", - "contents": "GetBoundingMaxsOriented()$0", - "kind": "keyword", - "details": "Get a vector containing max bounds, centered on object, taking the object's orientation into account" - }, - { - "trigger": "GetBoundingMins", - "annotation": "Vector GetBoundingMins()", - "contents": "GetBoundingMins()$0", - "kind": "keyword", - "details": "Get a vector containing min bounds, centered on object" - }, - { - "trigger": "GetBoundingMinsOriented", - "annotation": "Vector GetBoundingMinsOriented()", - "contents": "GetBoundingMinsOriented()$0", - "kind": "keyword", - "details": "Get a vector containing min bounds, centered on object, taking the object's orientation into account" - }, - { - "trigger": "GetBuildingsDestroyed", - "annotation": "int GetBuildingsDestroyed()", - "contents": "GetBuildingsDestroyed()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetCaptures", - "annotation": "int GetCaptures()", - "contents": "GetCaptures()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetCenter", - "annotation": "Vector GetCenter()", - "contents": "GetCenter()$0", - "kind": "keyword", - "details": "Get center origin of area" - }, - { - "trigger": "GetClassEyeHeight", - "annotation": "Vector GetClassEyeHeight()", - "contents": "GetClassEyeHeight()$0", - "kind": "keyword", - "details": "Gets the eye height of the player" - }, - { - "trigger": "GetClassLimit", - "annotation": "int GetClassLimit(int)", - "contents": "GetClassLimit(${1:int})$0", - "kind": "keyword", - "details": "Get class limit for class. See Constants.ETFClass" - }, - { - "trigger": "GetClassname", - "annotation": "string GetClassname()", - "contents": "GetClassname()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetClientConvarValue", - "annotation": "string GetClientConvarValue(string name, int entindex)", - "contents": "GetClientConvarValue(${1:string name}, ${2:int entindex})$0", - "kind": "keyword", - "details": "Returns the convar value for the entindex as a string. Only works on client convars with the FCVAR_USERINFO flag." - }, - { - "trigger": "GetCollisionGroup", - "annotation": "GetCollisionGroup()", - "contents": "GetCollisionGroup()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetCondDuration", - "annotation": "float GetCondDuration(ETFCond cond)", - "contents": "GetCondDuration(${1:ETFCond cond})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetCorner", - "annotation": "Vector GetCorner(int dir)", - "contents": "GetCorner(${1:int dir})$0", - "kind": "keyword", - "details": "Get corner origin of area" - }, - { - "trigger": "GetCurrency", - "annotation": "int GetCurrency()", - "contents": "GetCurrency()$0", - "kind": "keyword", - "details": "Get player's cash for game modes with upgrades, ie. MvM" - }, - { - "trigger": "GetCurrentTauntMoveSpeed", - "annotation": "float GetCurrentTauntMoveSpeed()", - "contents": "GetCurrentTauntMoveSpeed()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetCycle", - "annotation": "float GetCycle()", - "contents": "GetCycle()$0", - "kind": "keyword", - "details": "Gets the models current cycle" - }, - { - "trigger": "GetDeathDropHeight", - "annotation": "float GetDeathDropHeight()", - "contents": "GetDeathDropHeight()$0", - "kind": "keyword", - "details": "Distance at which we will die if we fall" - }, - { - "trigger": "GetDefaultClip1", - "annotation": "int GetDefaultClip1()", - "contents": "GetDefaultClip1()$0", - "kind": "keyword", - "details": "Default size of clip1" - }, - { - "trigger": "GetDefaultClip2", - "annotation": "int GetDefaultClip2()", - "contents": "GetDefaultClip2()$0", - "kind": "keyword", - "details": "Default size of clip2" - }, - { - "trigger": "GetDefenses", - "annotation": "int GetDefenses()", - "contents": "GetDefenses()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetDesiredSpeed", - "annotation": "float GetDesiredSpeed()", - "contents": "GetDesiredSpeed()$0", - "kind": "keyword", - "details": "Get desired speed for locomotor movement" - }, - { - "trigger": "GetDeveloperLevel", - "annotation": "int GetDeveloperLevel()", - "contents": "GetDeveloperLevel()$0", - "kind": "keyword", - "details": "Gets the level of 'developer'" - }, - { - "trigger": "GetDifficulty", - "annotation": "int GetDifficulty()", - "contents": "GetDifficulty()$0", - "kind": "keyword", - "details": "Returns the bot's difficulty level" - }, - { - "trigger": "GetDisguiseAmmoCount", - "annotation": "int GetDisguiseAmmoCount()", - "contents": "GetDisguiseAmmoCount()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetDisguiseTarget", - "annotation": "handle GetDisguiseTarget()", - "contents": "GetDisguiseTarget()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetDisguiseTeam", - "annotation": "int GetDisguiseTeam()", - "contents": "GetDisguiseTeam()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetDistanceSquaredToPoint", - "annotation": "float GetDistanceSquaredToPoint(Vector pos)", - "contents": "GetDistanceSquaredToPoint(${1:Vector pos})$0", - "kind": "keyword", - "details": "Return shortest distance between point and this area" - }, - { - "trigger": "GetDominations", - "annotation": "int GetDominations()", - "contents": "GetDominations()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetDoor", - "annotation": "handle GetDoor()", - "contents": "GetDoor()$0", - "kind": "keyword", - "details": "Returns the door entity above the area" - }, - { - "trigger": "GetEFlags", - "annotation": "int GetEFlags()", - "contents": "GetEFlags()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetElevator", - "annotation": "handle GetElevator()", - "contents": "GetElevator()$0", - "kind": "keyword", - "details": "Returns the elevator if in an elevator's path" - }, - { - "trigger": "GetElevatorAreas", - "annotation": "void GetElevatorAreas(handle table)", - "contents": "GetElevatorAreas(${1:handle table})$0", - "kind": "keyword", - "details": "Fills table with a collection of areas reachable via elevator from this area" - }, - { - "trigger": "GetEntityHandle", - "annotation": "GetEntityHandle()", - "contents": "GetEntityHandle()$0", - "kind": "keyword", - "details": "Get the entity as an EHANDLE" - }, - { - "trigger": "GetEntityIndex", - "annotation": "int GetEntityIndex()", - "contents": "GetEntityIndex()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetFeet", - "annotation": "Vector GetFeet()", - "contents": "GetFeet()$0", - "kind": "keyword", - "details": "Return position of feet - the driving point where the bot contacts the ground" - }, - { - "trigger": "GetFirstSubKey", - "annotation": "CScriptKeyValues GetFirstSubKey()", - "contents": "GetFirstSubKey()$0", - "kind": "keyword", - "details": "Return the first sub key object." - }, - { - "trigger": "GetFlags", - "annotation": "int GetFlags()", - "contents": "GetFlags()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetFloat", - "annotation": "float GetFloat(string name)", - "contents": "GetFloat(${1:string name})$0", - "kind": "keyword", - "details": "Returns the convar as a float. May return null if no such convar." - }, - { - "trigger": "GetForceLocalDraw", - "annotation": "bool GetForceLocalDraw()", - "contents": "GetForceLocalDraw()$0", - "kind": "keyword", - "details": "Gets the state of whether the player is being forced by SetForceLocalDraw to be drawn" - }, - { - "trigger": "GetForwardVector", - "annotation": "Vector GetForwardVector()", - "contents": "GetForwardVector()$0", - "kind": "keyword", - "details": "Get the forward vector of the entity" - }, - { - "trigger": "GetFrameCount", - "annotation": "int GetFrameCount()", - "contents": "GetFrameCount()$0", - "kind": "keyword", - "details": "Returns the engines current frame count" - }, - { - "trigger": "GetFriction", - "annotation": "float GetFriction(handle player)", - "contents": "GetFriction(${1:handle player})$0", - "kind": "keyword", - "details": "Returns the Friction on a player entity, meaningless if not a player" - }, - { - "trigger": "GetFunctionSignature", - "annotation": "GetFunctionSignature()", - "contents": "GetFunctionSignature()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetFuturePosition", - "annotation": "Vector GetFuturePosition(float, float)", - "contents": "GetFuturePosition(${1:float}, ${2:float})$0", - "kind": "keyword", - "details": "Get a position on the track x seconds in the future" - }, - { - "trigger": "GetGrapplingHookTarget", - "annotation": "handle GetGrapplingHookTarget()", - "contents": "GetGrapplingHookTarget()$0", - "kind": "keyword", - "details": "What entity is the player grappling?" - }, - { - "trigger": "GetGravity", - "annotation": "float GetGravity()", - "contents": "GetGravity()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetGravityMultiplier", - "annotation": "float GetGravityMultiplier()", - "contents": "GetGravityMultiplier()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetGround", - "annotation": "handle GetGround()", - "contents": "GetGround()$0", - "kind": "keyword", - "details": "Return the current ground entity or NULL if not on the ground" - }, - { - "trigger": "GetGroundMotionVector", - "annotation": "Vector GetGroundMotionVector()", - "contents": "GetGroundMotionVector()$0", - "kind": "keyword", - "details": "Return unit vector in XY plane describing our direction of motion - even if we are currently not moving" - }, - { - "trigger": "GetGroundNormal", - "annotation": "Vector GetGroundNormal()", - "contents": "GetGroundNormal()$0", - "kind": "keyword", - "details": "Surface normal of the ground we are in contact with" - }, - { - "trigger": "GetGroundSpeed", - "annotation": "float GetGroundSpeed()", - "contents": "GetGroundSpeed()$0", - "kind": "keyword", - "details": "Return current world space speed in XY plane" - }, - { - "trigger": "GetHeadshots", - "annotation": "int GetHeadshots()", - "contents": "GetHeadshots()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetHealPoints", - "annotation": "int GetHealPoints()", - "contents": "GetHealPoints()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetHealTarget", - "annotation": "handle GetHealTarget()", - "contents": "GetHealTarget()$0", - "kind": "keyword", - "details": "Who is the medic healing?" - }, - { - "trigger": "GetHealth", - "annotation": "int GetHealth()", - "contents": "GetHealth()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetHomeArea", - "annotation": "handle GetHomeArea()", - "contents": "GetHomeArea()$0", - "kind": "keyword", - "details": "Sets the home nav area of the bot" - }, - { - "trigger": "GetID", - "annotation": "int GetID()", - "contents": "GetID()$0", - "kind": "keyword", - "details": "Get area ID." - }, - { - "trigger": "GetImmobileDuration", - "annotation": "float GetImmobileDuration()", - "contents": "GetImmobileDuration()$0", - "kind": "keyword", - "details": "How long have we been immobile" - }, - { - "trigger": "GetImmobileSpeedThreshold", - "annotation": "float GetImmobileSpeedThreshold()", - "contents": "GetImmobileSpeedThreshold()$0", - "kind": "keyword", - "details": "Return units/second below which this actor is considered immobile" - }, - { - "trigger": "GetIncomingConnections", - "annotation": "void GetIncomingConnections(int dir, handle table)", - "contents": "GetIncomingConnections(${1:int dir}, ${2:handle table})$0", - "kind": "keyword", - "details": "Fills a passed in table with areas connected TO this area by a ONE-WAY link (ie: we have no connection back to them)" - }, - { - "trigger": "GetInt", - "annotation": "int GetInt(string name)", - "contents": "GetInt(${1:string name})$0", - "kind": "keyword", - "details": "Returns the convar as an int. May return null if no such convar." - }, - { - "trigger": "GetIntentionInterface", - "annotation": "handle GetIntentionInterface()", - "contents": "GetIntentionInterface()$0", - "kind": "keyword", - "details": "Get this bot's intention interface" - }, - { - "trigger": "GetInvulns", - "annotation": "int GetInvulns()", - "contents": "GetInvulns()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetKeyBool", - "annotation": "bool GetKeyBool(string key)", - "contents": "GetKeyBool(${1:string key})$0", - "kind": "keyword", - "details": "Return the key value as a bool." - }, - { - "trigger": "GetKeyFloat", - "annotation": "float GetKeyFloat(string key)", - "contents": "GetKeyFloat(${1:string key})$0", - "kind": "keyword", - "details": "Return the key value as a float." - }, - { - "trigger": "GetKeyInt", - "annotation": "int GetKeyInt(string key)", - "contents": "GetKeyInt(${1:string key})$0", - "kind": "keyword", - "details": "Return the key value as an integer." - }, - { - "trigger": "GetKeyString", - "annotation": "string GetKeyString(string key)", - "contents": "GetKeyString(${1:string key})$0", - "kind": "keyword", - "details": "Return the key value as a string." - }, - { - "trigger": "GetKillAssists", - "annotation": "int GetKillAssists()", - "contents": "GetKillAssists()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetLastKnownArea", - "annotation": "handle GetLastKnownArea()", - "contents": "GetLastKnownArea()$0", - "kind": "keyword", - "details": "Return the last nav area occupied - NULL if unknown" - }, - { - "trigger": "GetLastWeapon", - "annotation": "GetLastWeapon()", - "contents": "GetLastWeapon()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetLeftVector", - "annotation": "Vector GetLeftVector()", - "contents": "GetLeftVector()$0", - "kind": "keyword", - "details": "Get the right vector of the entity. This is purely for compatibility." - }, - { - "trigger": "GetListenServerHost", - "annotation": "handle GetListenServerHost()", - "contents": "GetListenServerHost()$0", - "kind": "keyword", - "details": "Get the local player on a listen server." - }, - { - "trigger": "GetLocalAngles", - "annotation": "QAngle GetLocalAngles()", - "contents": "GetLocalAngles()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetLocalOrigin", - "annotation": "Vector GetLocalOrigin()", - "contents": "GetLocalOrigin()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetLocalVelocity", - "annotation": "Vector GetLocalVelocity()", - "contents": "GetLocalVelocity()$0", - "kind": "keyword", - "details": "Get Entity relative velocity" - }, - { - "trigger": "GetLocomotionInterface", - "annotation": "handle GetLocomotionInterface()", - "contents": "GetLocomotionInterface()$0", - "kind": "keyword", - "details": "Get this bot's locomotion interface" - }, - { - "trigger": "GetMannVsMachineAlarmStatus", - "annotation": "bool GetMannVsMachineAlarmStatus()", - "contents": "GetMannVsMachineAlarmStatus()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetMapName", - "annotation": "string GetMapName()", - "contents": "GetMapName()$0", - "kind": "keyword", - "details": "Get the name of the map." - }, - { - "trigger": "GetMaxAcceleration", - "annotation": "float GetMaxAcceleration()", - "contents": "GetMaxAcceleration()$0", - "kind": "keyword", - "details": "Return maximum acceleration of locomotor" - }, - { - "trigger": "GetMaxClip1", - "annotation": "int GetMaxClip1()", - "contents": "GetMaxClip1()$0", - "kind": "keyword", - "details": "Max size of clip1" - }, - { - "trigger": "GetMaxClip2", - "annotation": "int GetMaxClip2()", - "contents": "GetMaxClip2()$0", - "kind": "keyword", - "details": "Max size of clip2" - }, - { - "trigger": "GetMaxDeceleration", - "annotation": "float GetMaxDeceleration()", - "contents": "GetMaxDeceleration()$0", - "kind": "keyword", - "details": "Return maximum deceleration of locomotor" - }, - { - "trigger": "GetMaxHealth", - "annotation": "int GetMaxHealth()", - "contents": "GetMaxHealth()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetMaxJumpHeight", - "annotation": "float GetMaxJumpHeight()", - "contents": "GetMaxJumpHeight()$0", - "kind": "keyword", - "details": "Return maximum height of a jump" - }, - { - "trigger": "GetMaxVisionRangeOverride", - "annotation": "float GetMaxVisionRangeOverride()", - "contents": "GetMaxVisionRangeOverride()$0", - "kind": "keyword", - "details": "Gets the max vision range override for the bot" - }, - { - "trigger": "GetModelIndex", - "annotation": "int GetModelIndex(string filename)", - "contents": "GetModelIndex(${1:string filename})$0", - "kind": "keyword", - "details": "Returns the index of the named model." - }, - { - "trigger": "GetModelKeyValues", - "annotation": "handle GetModelKeyValues()", - "contents": "GetModelKeyValues()$0", - "kind": "keyword", - "details": "Get a KeyValue class instance on this entity's model" - }, - { - "trigger": "GetModelName", - "annotation": "string GetModelName()", - "contents": "GetModelName()$0", - "kind": "keyword", - "details": "Returns the name of the model" - }, - { - "trigger": "GetModelScale", - "annotation": "float GetModelScale()", - "contents": "GetModelScale()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetMotionVector", - "annotation": "Vector GetMotionVector()", - "contents": "GetMotionVector()$0", - "kind": "keyword", - "details": "Return unit vector describing our direction of motion - even if we are currently not moving" - }, - { - "trigger": "GetMoveParent", - "annotation": "handle GetMoveParent()", - "contents": "GetMoveParent()$0", - "kind": "keyword", - "details": "If in hierarchy, retrieves the entity's parent" - }, - { - "trigger": "GetMoveType", - "annotation": "int GetMoveType()", - "contents": "GetMoveType()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetName", - "annotation": "string GetName()", - "contents": "GetName()$0", - "kind": "keyword", - "details": "Gets the weapon's name" - }, - { - "trigger": "GetNavArea", - "annotation": "handle GetNavArea(Vector origin, float flBeneath)", - "contents": "GetNavArea(${1:Vector origin}, ${2:float flBeneath})$0", - "kind": "keyword", - "details": "given a position in the world, return the nav area that is closest to or below that height." - }, - { - "trigger": "GetNavAreaByID", - "annotation": "handle GetNavAreaByID(int areaID)", - "contents": "GetNavAreaByID(${1:int areaID})$0", - "kind": "keyword", - "details": "get nav area by ID" - }, - { - "trigger": "GetNavAreaCount", - "annotation": "int GetNavAreaCount()", - "contents": "GetNavAreaCount()$0", - "kind": "keyword", - "details": "return total number of nav areas" - }, - { - "trigger": "GetNavAreasFromBuildPath", - "annotation": "bool GetNavAreasFromBuildPath(CTFNavArea startArea, CTFNavArea endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers, handle table)", - "contents": "GetNavAreasFromBuildPath(${1:CTFNavArea startArea}, ${2:CTFNavArea endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers}, ${7:handle table})$0", - "kind": "keyword", - "details": "Fills the table with areas from a path. Returns whether a path was found. If 'endArea' is NULL, will compute a path as close as possible to 'goalPos'." - }, - { - "trigger": "GetNavAreasInRadius", - "annotation": "void GetNavAreasInRadius(Vector origin, float radius, handle table)", - "contents": "GetNavAreasInRadius(${1:Vector origin}, ${2:float radius}, ${3:handle table})$0", - "kind": "keyword", - "details": "fills a passed in table of nav areas within radius" - }, - { - "trigger": "GetNavAreasOverlappingEntityExtent", - "annotation": "void GetNavAreasOverlappingEntityExtent(handle entity, handle table)", - "contents": "GetNavAreasOverlappingEntityExtent(${1:handle entity}, ${2:handle table})$0", - "kind": "keyword", - "details": "fills passed in table with areas overlapping entity's extent" - }, - { - "trigger": "GetNearestKnownSappableTarget", - "annotation": "handle GetNearestKnownSappableTarget()", - "contents": "GetNearestKnownSappableTarget()$0", - "kind": "keyword", - "details": "Gets the nearest known sappable target" - }, - { - "trigger": "GetNearestNavArea", - "annotation": "handle GetNearestNavArea(Vector origin, float maxDist, bool checkLOS, bool checkGround)", - "contents": "GetNearestNavArea(${1:Vector origin}, ${2:float maxDist}, ${3:bool checkLOS}, ${4:bool checkGround})$0", - "kind": "keyword", - "details": "given a position in the world, return the nav area that is closest to or below that height." - }, - { - "trigger": "GetNextChangeClassTime", - "annotation": "float GetNextChangeClassTime()", - "contents": "GetNextChangeClassTime()$0", - "kind": "keyword", - "details": "Get next change class time." - }, - { - "trigger": "GetNextChangeTeamTime", - "annotation": "float GetNextChangeTeamTime()", - "contents": "GetNextChangeTeamTime()$0", - "kind": "keyword", - "details": "Get next change team time." - }, - { - "trigger": "GetNextKey", - "annotation": "CScriptKeyValues GetNextKey()", - "contents": "GetNextKey()$0", - "kind": "keyword", - "details": "Return the next neighbor key object to the one the method is called on." - }, - { - "trigger": "GetNextRegenTime", - "annotation": "float GetNextRegenTime()", - "contents": "GetNextRegenTime()$0", - "kind": "keyword", - "details": "Get next health regen time." - }, - { - "trigger": "GetNumElements", - "annotation": "int GetNumElements(handle ntity entity, string outputName)", - "contents": "GetNumElements(${1:handle ntity entity}, ${2:string outputName})$0", - "kind": "keyword", - "details": "Returns the number of array elements." - }, - { - "trigger": "GetObstructingEntities", - "annotation": "void GetObstructingEntities(handle table)", - "contents": "GetObstructingEntities(${1:handle table})$0", - "kind": "keyword", - "details": "fills a passed in table of all obstructing entities" - }, - { - "trigger": "GetOrigin", - "annotation": "Vector GetOrigin()", - "contents": "GetOrigin()$0", - "kind": "keyword", - "details": "This is GetAbsOrigin with a funny script name for some reason. Not changing it for legacy compat though." - }, - { - "trigger": "GetOutputTable", - "annotation": "void GetOutputTable(handle entity, string outputName, table, int arrayElement)", - "contents": "GetOutputTable(${1:handle entity}, ${2:string outputName}, ${3:table}, ${4:int arrayElement})$0", - "kind": "keyword", - "details": "Fills the passed table with output information." - }, - { - "trigger": "GetOvertimeAllowedForCTF", - "annotation": "bool GetOvertimeAllowedForCTF()", - "contents": "GetOvertimeAllowedForCTF()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetOwner", - "annotation": "handle GetOwner()", - "contents": "GetOwner()$0", - "kind": "keyword", - "details": "Gets this entity's owner" - }, - { - "trigger": "GetParent", - "annotation": "handle GetParent()", - "contents": "GetParent()$0", - "kind": "keyword", - "details": "Returns the area just prior to this one in the search path" - }, - { - "trigger": "GetParentHow", - "annotation": "int GetParentHow()", - "contents": "GetParentHow()$0", - "kind": "keyword", - "details": "Returns how we get from parent to us" - }, - { - "trigger": "GetPhysAngularVelocity", - "annotation": "Vector GetPhysAngularVelocity(handle entity)", - "contents": "GetPhysAngularVelocity(${1:handle entity})$0", - "kind": "keyword", - "details": "Returns the Angular velocity of the entity." - }, - { - "trigger": "GetPhysVelocity", - "annotation": "Vector GetPhysVelocity(handle entity)", - "contents": "GetPhysVelocity(${1:handle entity})$0", - "kind": "keyword", - "details": "Returns the velocity of the entity." - }, - { - "trigger": "GetPlaceName", - "annotation": "string GetPlaceName()", - "contents": "GetPlaceName()$0", - "kind": "keyword", - "details": "Get place name" - }, - { - "trigger": "GetPlaybackRate", - "annotation": "float GetPlaybackRate()", - "contents": "GetPlaybackRate()$0", - "kind": "keyword", - "details": "Set the current playback rate." - }, - { - "trigger": "GetPlayerClass", - "annotation": "int GetPlayerClass()", - "contents": "GetPlayerClass()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetPlayerCount", - "annotation": "int GetPlayerCount(int team)", - "contents": "GetPlayerCount(${1:int team})$0", - "kind": "keyword", - "details": "Return number of players of given team currently within this area (team of zero means any/all)" - }, - { - "trigger": "GetPlayerFromUserID", - "annotation": "handle GetPlayerFromUserID(int ID)", - "contents": "GetPlayerFromUserID(${1:int ID})$0", - "kind": "keyword", - "details": "Given a user id, return the entity, or null." - }, - { - "trigger": "GetPlayerMaxs", - "annotation": "Vector GetPlayerMaxs()", - "contents": "GetPlayerMaxs()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetPlayerMins", - "annotation": "Vector GetPlayerMins()", - "contents": "GetPlayerMins()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetPlayerSpeechDuration", - "annotation": "float GetPlayerSpeechDuration(int)", - "contents": "GetPlayerSpeechDuration(${1:int})$0", - "kind": "keyword", - "details": "Returns the number of seconds the player has been continuously speaking." - }, - { - "trigger": "GetPosition", - "annotation": "int GetPosition()", - "contents": "GetPosition()$0", - "kind": "keyword", - "details": "Gets the weapon's current position" - }, - { - "trigger": "GetPreTemplateName", - "annotation": "string GetPreTemplateName()", - "contents": "GetPreTemplateName()$0", - "kind": "keyword", - "details": "Get the entity name stripped of template unique decoration" - }, - { - "trigger": "GetPrimaryAmmoCount", - "annotation": "int GetPrimaryAmmoCount()", - "contents": "GetPrimaryAmmoCount()$0", - "kind": "keyword", - "details": "Current primary ammo count if no clip is used or to give a player if they pick up this weapon legacy style (not TF)" - }, - { - "trigger": "GetPrimaryAmmoType", - "annotation": "int GetPrimaryAmmoType()", - "contents": "GetPrimaryAmmoType()$0", - "kind": "keyword", - "details": "Returns the primary ammo type" - }, - { - "trigger": "GetPrintName", - "annotation": "string GetPrintName()", - "contents": "GetPrintName()$0", - "kind": "keyword", - "details": "Gets the weapon's print name" - }, - { - "trigger": "GetPropArraySize", - "annotation": "int GetPropArraySize(handle entity, string propertyName)", - "contents": "GetPropArraySize(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Returns the size of an netprop array, or -1." - }, - { - "trigger": "GetPropBool", - "annotation": "bool GetPropBool(handle entity, string propertyName)", - "contents": "GetPropBool(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Reads a boolean-valued netprop." - }, - { - "trigger": "GetPropBoolArray", - "annotation": "bool GetPropBoolArray(handle entity, string propertyName, int arrayElement)", - "contents": "GetPropBoolArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", - "kind": "keyword", - "details": "Reads a boolean-valued netprop from an array." - }, - { - "trigger": "GetPropEntity", - "annotation": "handle GetPropEntity(handle entity, string propertyName)", - "contents": "GetPropEntity(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Reads an EHANDLE-valued netprop (21 bit integer). Returns the script handle of the entity." - }, - { - "trigger": "GetPropEntityArray", - "annotation": "handle GetPropEntityArray(handle entity, string propertyName, int arrayElement)", - "contents": "GetPropEntityArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", - "kind": "keyword", - "details": "Reads an EHANDLE-valued netprop (21 bit integer) from an array. Returns the script handle of the entity." - }, - { - "trigger": "GetPropFloat", - "annotation": "float GetPropFloat(handle entity, string propertyName)", - "contents": "GetPropFloat(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Reads a float-valued netprop." - }, - { - "trigger": "GetPropFloatArray", - "annotation": "float GetPropFloatArray(handle entity, string propertyName, int arrayElement)", - "contents": "GetPropFloatArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", - "kind": "keyword", - "details": "Reads a float-valued netprop from an array." - }, - { - "trigger": "GetPropInfo", - "annotation": "bool GetPropInfo(handle entity, string propertyName, int arrayElement, handle table)", - "contents": "GetPropInfo(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement}, ${4:handle table})$0", - "kind": "keyword", - "details": "Fills in a passed table with property info for the provided entity." - }, - { - "trigger": "GetPropInt", - "annotation": "int GetPropInt(handle entity, string propertyName)", - "contents": "GetPropInt(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Reads an integer-valued netprop." - }, - { - "trigger": "GetPropIntArray", - "annotation": "int GetPropIntArray(handle entity, string propertyName, int arrayElement)", - "contents": "GetPropIntArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", - "kind": "keyword", - "details": "Reads an integer-valued netprop from an array." - }, - { - "trigger": "GetPropString", - "annotation": "string GetPropString(handle entity, string propertyName)", - "contents": "GetPropString(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Reads an string-valued netprop." - }, - { - "trigger": "GetPropStringArray", - "annotation": "string GetPropStringArray(handle entity, string propertyName, int arrayElement)", - "contents": "GetPropStringArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", - "kind": "keyword", - "details": "Reads an string-valued netprop from an array." - }, - { - "trigger": "GetPropType", - "annotation": "string GetPropType(handle entity, string propertyName)", - "contents": "GetPropType(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Returns the name of the netprop type as a string." - }, - { - "trigger": "GetPropVector", - "annotation": "Vector GetPropVector(handle entity, string propertyName)", - "contents": "GetPropVector(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Reads a 3D vector-valued netprop." - }, - { - "trigger": "GetPropVectorArray", - "annotation": "Vector GetPropVectorArray(handle entity, string propertyName, int arrayElement)", - "contents": "GetPropVectorArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", - "kind": "keyword", - "details": "Reads a 3D vector-valued netprop from an array." - }, - { - "trigger": "GetRageMeter", - "annotation": "float GetRageMeter()", - "contents": "GetRageMeter()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetRandomAdjacentArea", - "annotation": "handle GetRandomAdjacentArea(int dir)", - "contents": "GetRandomAdjacentArea(${1:int dir})$0", - "kind": "keyword", - "details": "Return a random adjacent area in the given direction" - }, - { - "trigger": "GetResupplyPoints", - "annotation": "int GetResupplyPoints()", - "contents": "GetResupplyPoints()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetRevenge", - "annotation": "int GetRevenge()", - "contents": "GetRevenge()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetRightVector", - "annotation": "Vector GetRightVector()", - "contents": "GetRightVector()$0", - "kind": "keyword", - "details": "Get the right vector of the entity" - }, - { - "trigger": "GetRootMoveParent", - "annotation": "handle GetRootMoveParent()", - "contents": "GetRootMoveParent()$0", - "kind": "keyword", - "details": "If in hierarchy, walks up the hierarchy to find the root parent" - }, - { - "trigger": "GetRoundState", - "annotation": "int GetRoundState()", - "contents": "GetRoundState()$0", - "kind": "keyword", - "details": "Get current round state. See Constants.ERoundState" - }, - { - "trigger": "GetRunSpeed", - "annotation": "float GetRunSpeed()", - "contents": "GetRunSpeed()$0", - "kind": "keyword", - "details": "Get maximum running speed" - }, - { - "trigger": "GetScoutHypeMeter", - "annotation": "float GetScoutHypeMeter()", - "contents": "GetScoutHypeMeter()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetScriptId", - "annotation": "string GetScriptId()", - "contents": "GetScriptId()$0", - "kind": "keyword", - "details": "Retrieve the unique identifier used to refer to the entity within the scripting system." - }, - { - "trigger": "GetScriptOverlayMaterial", - "annotation": "string GetScriptOverlayMaterial()", - "contents": "GetScriptOverlayMaterial()$0", - "kind": "keyword", - "details": "Gets the current view overlay material" - }, - { - "trigger": "GetScriptScope", - "annotation": "handle GetScriptScope()", - "contents": "GetScriptScope()$0", - "kind": "keyword", - "details": "Retrieve the script-side data associated with an entity" - }, - { - "trigger": "GetScriptThinkFunc", - "annotation": "string GetScriptThinkFunc()", - "contents": "GetScriptThinkFunc()$0", - "kind": "keyword", - "details": "Retrieve the name of the current script think func" - }, - { - "trigger": "GetSecondaryAmmoCount", - "annotation": "int GetSecondaryAmmoCount()", - "contents": "GetSecondaryAmmoCount()$0", - "kind": "keyword", - "details": "Current secondary ammo count if no clip is used or to give a player if they pick up this weapon legacy style (not TF)" - }, - { - "trigger": "GetSecondaryAmmoType", - "annotation": "int GetSecondaryAmmoType()", - "contents": "GetSecondaryAmmoType()$0", - "kind": "keyword", - "details": "Returns the secondary ammo type" - }, - { - "trigger": "GetSequence", - "annotation": "int GetSequence()", - "contents": "GetSequence()$0", - "kind": "keyword", - "details": "Get the current sequence id" - }, - { - "trigger": "GetSequenceActivityName", - "annotation": "string GetSequenceActivityName(int)", - "contents": "GetSequenceActivityName(${1:int})$0", - "kind": "keyword", - "details": "Get the activity name for a sequence by id" - }, - { - "trigger": "GetSequenceDuration", - "annotation": "float GetSequenceDuration(int)", - "contents": "GetSequenceDuration(${1:int})$0", - "kind": "keyword", - "details": "Get a sequence duration by id" - }, - { - "trigger": "GetSequenceName", - "annotation": "string GetSequenceName(int)", - "contents": "GetSequenceName(${1:int})$0", - "kind": "keyword", - "details": "Get a sequence name by id" - }, - { - "trigger": "GetSizeX", - "annotation": "float GetSizeX()", - "contents": "GetSizeX()$0", - "kind": "keyword", - "details": "Return the area size along the X axis" - }, - { - "trigger": "GetSizeY", - "annotation": "float GetSizeY()", - "contents": "GetSizeY()$0", - "kind": "keyword", - "details": "Return the area size along the Y axis" - }, - { - "trigger": "GetSkin", - "annotation": "int GetSkin()", - "contents": "GetSkin()$0", - "kind": "keyword", - "details": "Gets the current skin index." - }, - { - "trigger": "GetSlot", - "annotation": "int GetSlot()", - "contents": "GetSlot()$0", - "kind": "keyword", - "details": "Gets the weapon's current slot" - }, - { - "trigger": "GetSolid", - "annotation": "int GetSolid()", - "contents": "GetSolid()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetSoundDuration", - "annotation": "float GetSoundDuration(string soundname, string actormodel)", - "contents": "GetSoundDuration(${1:string soundname}, ${2:string actormodel})$0", - "kind": "keyword", - "details": "Returns float dur" - }, - { - "trigger": "GetSpawnArea", - "annotation": "handle GetSpawnArea()", - "contents": "GetSpawnArea()$0", - "kind": "keyword", - "details": "Return the nav area of where we spawned" - }, - { - "trigger": "GetSpeed", - "annotation": "float GetSpeed()", - "contents": "GetSpeed()$0", - "kind": "keyword", - "details": "Return current world space speed (magnitude of velocity)" - }, - { - "trigger": "GetSpeedLimit", - "annotation": "float GetSpeedLimit()", - "contents": "GetSpeedLimit()$0", - "kind": "keyword", - "details": "Get maximum speed bot can reach, regardless of desired speed" - }, - { - "trigger": "GetSpyCloakMeter", - "annotation": "float GetSpyCloakMeter()", - "contents": "GetSpyCloakMeter()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetSquadFormationError", - "annotation": "float GetSquadFormationError()", - "contents": "GetSquadFormationError()$0", - "kind": "keyword", - "details": "Gets our formation error coefficient." - }, - { - "trigger": "GetStepHeight", - "annotation": "float GetStepHeight()", - "contents": "GetStepHeight()$0", - "kind": "keyword", - "details": "If delta Z is greater than this, we have to jump to get up" - }, - { - "trigger": "GetStopWatchState", - "annotation": "int GetStopWatchState()", - "contents": "GetStopWatchState()$0", - "kind": "keyword", - "details": "Get the current stopwatch state. See Constants.EStopwatchState" - }, - { - "trigger": "GetStr", - "annotation": "string GetStr(string name)", - "contents": "GetStr(${1:string name})$0", - "kind": "keyword", - "details": "Returns the convar as a string. May return null if no such convar." - }, - { - "trigger": "GetStuckDuration", - "annotation": "float GetStuckDuration()", - "contents": "GetStuckDuration()$0", - "kind": "keyword", - "details": "Return how long we've been stuck" - }, - { - "trigger": "GetSubType", - "annotation": "int GetSubType()", - "contents": "GetSubType()$0", - "kind": "keyword", - "details": "Get the weapon subtype" - }, - { - "trigger": "GetTable", - "annotation": "void GetTable(handle entity, int iPropType, handle table)", - "contents": "GetTable(${1:handle entity}, ${2:int iPropType}, ${3:handle table})$0", - "kind": "keyword", - "details": "Fills in a passed table with all props of a specified type for the provided entity (set iPropType to 0 for SendTable or 1 for DataMap)" - }, - { - "trigger": "GetTeam", - "annotation": "int GetTeam()", - "contents": "GetTeam()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetTeleports", - "annotation": "int GetTeleports()", - "contents": "GetTeleports()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetTickLastUpdate", - "annotation": "int GetTickLastUpdate()", - "contents": "GetTickLastUpdate()$0", - "kind": "keyword", - "details": "Get last update tick" - }, - { - "trigger": "GetTimeSinceCalledForMedic", - "annotation": "float GetTimeSinceCalledForMedic()", - "contents": "GetTimeSinceCalledForMedic()$0", - "kind": "keyword", - "details": "When did the player last call medic" - }, - { - "trigger": "GetTravelDistanceToBombTarget", - "annotation": "float GetTravelDistanceToBombTarget()", - "contents": "GetTravelDistanceToBombTarget()$0", - "kind": "keyword", - "details": "Gets the travel distance to the MvM bomb target" - }, - { - "trigger": "GetTraversableSlopeLimit", - "annotation": "float GetTraversableSlopeLimit()", - "contents": "GetTraversableSlopeLimit()$0", - "kind": "keyword", - "details": "Return Z component of unit normal of steepest traversable slope" - }, - { - "trigger": "GetUpVector", - "annotation": "Vector GetUpVector()", - "contents": "GetUpVector()$0", - "kind": "keyword", - "details": "Get the up vector of the entity" - }, - { - "trigger": "GetUpdateInterval", - "annotation": "float GetUpdateInterval()", - "contents": "GetUpdateInterval()$0", - "kind": "keyword", - "details": "Returns the component update interval" - }, - { - "trigger": "GetVelocity", - "annotation": "Vector GetVelocity()", - "contents": "GetVelocity()$0", - "kind": "keyword", - "details": "Return current world space velocity" - }, - { - "trigger": "GetVisionInterface", - "annotation": "handle GetVisionInterface()", - "contents": "GetVisionInterface()$0", - "kind": "keyword", - "details": "Get this bot's vision interface" - }, - { - "trigger": "GetWalkSpeed", - "annotation": "float GetWalkSpeed()", - "contents": "GetWalkSpeed()$0", - "kind": "keyword", - "details": "Get maximum walking speed" - }, - { - "trigger": "GetWaterLevel", - "annotation": "int GetWaterLevel()", - "contents": "GetWaterLevel()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetWaterType", - "annotation": "int GetWaterType()", - "contents": "GetWaterType()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "GetWeaponFlags", - "annotation": "int GetWeaponFlags()", - "contents": "GetWeaponFlags()$0", - "kind": "keyword", - "details": "Get the weapon flags" - }, - { - "trigger": "GetWeight", - "annotation": "int GetWeight()", - "contents": "GetWeight()$0", - "kind": "keyword", - "details": "Get the weapon weighting/importance" - }, - { - "trigger": "GetWinningTeam", - "annotation": "int GetWinningTeam()", - "contents": "GetWinningTeam()$0", - "kind": "keyword", - "details": "Who won!" - }, - { - "trigger": "GetZ", - "annotation": "float GetZ(Vector pos)", - "contents": "GetZ(${1:Vector pos})$0", - "kind": "keyword", - "details": "Return Z of area at (x,y) of 'pos'" - }, - { - "trigger": "GoldenRatio", - "annotation": "GoldenRatio", - "contents": "GoldenRatio$0", - "kind": "keyword", - "details": "1.61803" - }, - { - "trigger": "HARD", - "annotation": "HARD", - "contents": "HARD$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "HIDEHUD_ALL", - "annotation": "HIDEHUD_ALL", - "contents": "HIDEHUD_ALL$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "HIDEHUD_BITCOUNT", - "annotation": "HIDEHUD_BITCOUNT", - "contents": "HIDEHUD_BITCOUNT$0", - "kind": "keyword", - "details": "12" - }, - { - "trigger": "HIDEHUD_BONUS_PROGRESS", - "annotation": "HIDEHUD_BONUS_PROGRESS", - "contents": "HIDEHUD_BONUS_PROGRESS$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "HIDEHUD_CHAT", - "annotation": "HIDEHUD_CHAT", - "contents": "HIDEHUD_CHAT$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "HIDEHUD_CROSSHAIR", - "annotation": "HIDEHUD_CROSSHAIR", - "contents": "HIDEHUD_CROSSHAIR$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "HIDEHUD_FLASHLIGHT", - "annotation": "HIDEHUD_FLASHLIGHT", - "contents": "HIDEHUD_FLASHLIGHT$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "HIDEHUD_HEALTH", - "annotation": "HIDEHUD_HEALTH", - "contents": "HIDEHUD_HEALTH$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "HIDEHUD_INVEHICLE", - "annotation": "HIDEHUD_INVEHICLE", - "contents": "HIDEHUD_INVEHICLE$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "HIDEHUD_MISCSTATUS", - "annotation": "HIDEHUD_MISCSTATUS", - "contents": "HIDEHUD_MISCSTATUS$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "HIDEHUD_NEEDSUIT", - "annotation": "HIDEHUD_NEEDSUIT", - "contents": "HIDEHUD_NEEDSUIT$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "HIDEHUD_PLAYERDEAD", - "annotation": "HIDEHUD_PLAYERDEAD", - "contents": "HIDEHUD_PLAYERDEAD$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "HIDEHUD_VEHICLE_CROSSHAIR", - "annotation": "HIDEHUD_VEHICLE_CROSSHAIR", - "contents": "HIDEHUD_VEHICLE_CROSSHAIR$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "HIDEHUD_WEAPONSELECTION", - "annotation": "HIDEHUD_WEAPONSELECTION", - "contents": "HIDEHUD_WEAPONSELECTION$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "HITGROUP_CHEST", - "annotation": "HITGROUP_CHEST", - "contents": "HITGROUP_CHEST$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "HITGROUP_GEAR", - "annotation": "HITGROUP_GEAR", - "contents": "HITGROUP_GEAR$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "HITGROUP_GENERIC", - "annotation": "HITGROUP_GENERIC", - "contents": "HITGROUP_GENERIC$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "HITGROUP_HEAD", - "annotation": "HITGROUP_HEAD", - "contents": "HITGROUP_HEAD$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "HITGROUP_LEFTARM", - "annotation": "HITGROUP_LEFTARM", - "contents": "HITGROUP_LEFTARM$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "HITGROUP_LEFTLEG", - "annotation": "HITGROUP_LEFTLEG", - "contents": "HITGROUP_LEFTLEG$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "HITGROUP_RIGHTARM", - "annotation": "HITGROUP_RIGHTARM", - "contents": "HITGROUP_RIGHTARM$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "HITGROUP_RIGHTLEG", - "annotation": "HITGROUP_RIGHTLEG", - "contents": "HITGROUP_RIGHTLEG$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "HITGROUP_STOMACH", - "annotation": "HITGROUP_STOMACH", - "contents": "HITGROUP_STOMACH$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "HOLD_FIRE_UNTIL_FULL_RELOAD", - "annotation": "HOLD_FIRE_UNTIL_FULL_RELOAD", - "contents": "HOLD_FIRE_UNTIL_FULL_RELOAD$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "HUD_PRINTCENTER", - "annotation": "HUD_PRINTCENTER", - "contents": "HUD_PRINTCENTER$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "HUD_PRINTCONSOLE", - "annotation": "HUD_PRINTCONSOLE", - "contents": "HUD_PRINTCONSOLE$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "HUD_PRINTNOTIFY", - "annotation": "HUD_PRINTNOTIFY", - "contents": "HUD_PRINTNOTIFY$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "HUD_PRINTTALK", - "annotation": "HUD_PRINTTALK", - "contents": "HUD_PRINTTALK$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "HasAction", - "annotation": "bool HasAction(handle entity, string outputName)", - "contents": "HasAction(${1:handle entity}, ${2:string outputName})$0", - "kind": "keyword", - "details": "Returns true if an action exists for the output." - }, - { - "trigger": "HasAnyAmmo", - "annotation": "bool HasAnyAmmo()", - "contents": "HasAnyAmmo()$0", - "kind": "keyword", - "details": "Do we have any ammo?" - }, - { - "trigger": "HasAttributeTF", - "annotation": "bool HasAttributeTF(int)", - "contents": "HasAttributeTF(${1:int})$0", - "kind": "keyword", - "details": "Has TF-specific area attribute bits" - }, - { - "trigger": "HasAttributes", - "annotation": "bool HasAttributes(int)", - "contents": "HasAttributes(${1:int})$0", - "kind": "keyword", - "details": "Has area attribute bits" - }, - { - "trigger": "HasAvoidanceObstacle", - "annotation": "bool HasAvoidanceObstacle(float maxheight)", - "contents": "HasAvoidanceObstacle(${1:float maxheight})$0", - "kind": "keyword", - "details": "Returns true if there's a large, immobile object obstructing this area" - }, - { - "trigger": "HasBotAttribute", - "annotation": "bool HasBotAttribute(int)", - "contents": "HasBotAttribute(${1:int})$0", - "kind": "keyword", - "details": "Checks if this TFBot has the given attributes" - }, - { - "trigger": "HasBotTag", - "annotation": "bool HasBotTag(string)", - "contents": "HasBotTag(${1:string})$0", - "kind": "keyword", - "details": "Checks if this TFBot has the given bot tag" - }, - { - "trigger": "HasItem", - "annotation": "bool HasItem()", - "contents": "HasItem()$0", - "kind": "keyword", - "details": "Currently holding an item? Eg. capture flag" - }, - { - "trigger": "HasOutput", - "annotation": "bool HasOutput(handle entity, string outputName)", - "contents": "HasOutput(${1:handle entity}, ${2:string outputName})$0", - "kind": "keyword", - "details": "Returns true if the output exists." - }, - { - "trigger": "HasPotentialGap", - "annotation": "float HasPotentialGap(Vector, Vector)", - "contents": "HasPotentialGap(${1:Vector}, ${2:Vector})$0", - "kind": "keyword", - "details": "Return true if there is a possible gap that will need to be jumped over" - }, - { - "trigger": "HasPrimaryAmmo", - "annotation": "bool HasPrimaryAmmo()", - "contents": "HasPrimaryAmmo()$0", - "kind": "keyword", - "details": "Do we have any primary ammo?" - }, - { - "trigger": "HasProp", - "annotation": "bool HasProp(handle entity, string propertyName)", - "contents": "HasProp(${1:handle entity}, ${2:string propertyName})$0", - "kind": "keyword", - "details": "Checks if a netprop exists." - }, - { - "trigger": "HasSecondaryAmmo", - "annotation": "bool HasSecondaryAmmo()", - "contents": "HasSecondaryAmmo()$0", - "kind": "keyword", - "details": "Do we have any secondary ammo?" - }, - { - "trigger": "HasWeaponRestriction", - "annotation": "bool HasWeaponRestriction(int)", - "contents": "HasWeaponRestriction(${1:int})$0", - "kind": "keyword", - "details": "Checks if this TFBot has the given weapon restriction flags" - }, - { - "trigger": "HaveStopWatchWinner", - "annotation": "bool HaveStopWatchWinner()", - "contents": "HaveStopWatchWinner()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "HookRootMetamethod", - "annotation": "HookRootMetamethod()", - "contents": "HookRootMetamethod()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IGNORE_ENEMIES", - "annotation": "IGNORE_ENEMIES", - "contents": "IGNORE_ENEMIES$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "IGNORE_FLAG", - "annotation": "IGNORE_FLAG", - "contents": "IGNORE_FLAG$0", - "kind": "keyword", - "details": "131072" - }, - { - "trigger": "IN_ALT1", - "annotation": "IN_ALT1", - "contents": "IN_ALT1$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "IN_ALT2", - "annotation": "IN_ALT2", - "contents": "IN_ALT2$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "IN_ATTACK", - "annotation": "IN_ATTACK", - "contents": "IN_ATTACK$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "IN_ATTACK2", - "annotation": "IN_ATTACK2", - "contents": "IN_ATTACK2$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "IN_ATTACK3", - "annotation": "IN_ATTACK3", - "contents": "IN_ATTACK3$0", - "kind": "keyword", - "details": "33554432" - }, - { - "trigger": "IN_BACK", - "annotation": "IN_BACK", - "contents": "IN_BACK$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "IN_BULLRUSH", - "annotation": "IN_BULLRUSH", - "contents": "IN_BULLRUSH$0", - "kind": "keyword", - "details": "4194304" - }, - { - "trigger": "IN_CANCEL", - "annotation": "IN_CANCEL", - "contents": "IN_CANCEL$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "IN_DUCK", - "annotation": "IN_DUCK", - "contents": "IN_DUCK$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "IN_FORWARD", - "annotation": "IN_FORWARD", - "contents": "IN_FORWARD$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "IN_GRENADE1", - "annotation": "IN_GRENADE1", - "contents": "IN_GRENADE1$0", - "kind": "keyword", - "details": "8388608" - }, - { - "trigger": "IN_GRENADE2", - "annotation": "IN_GRENADE2", - "contents": "IN_GRENADE2$0", - "kind": "keyword", - "details": "16777216" - }, - { - "trigger": "IN_JUMP", - "annotation": "IN_JUMP", - "contents": "IN_JUMP$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "IN_LEFT", - "annotation": "IN_LEFT", - "contents": "IN_LEFT$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "IN_MOVELEFT", - "annotation": "IN_MOVELEFT", - "contents": "IN_MOVELEFT$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "IN_MOVERIGHT", - "annotation": "IN_MOVERIGHT", - "contents": "IN_MOVERIGHT$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "IN_RELOAD", - "annotation": "IN_RELOAD", - "contents": "IN_RELOAD$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "IN_RIGHT", - "annotation": "IN_RIGHT", - "contents": "IN_RIGHT$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "IN_RUN", - "annotation": "IN_RUN", - "contents": "IN_RUN$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "IN_SCORE", - "annotation": "IN_SCORE", - "contents": "IN_SCORE$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "IN_SPEED", - "annotation": "IN_SPEED", - "contents": "IN_SPEED$0", - "kind": "keyword", - "details": "131072" - }, - { - "trigger": "IN_USE", - "annotation": "IN_USE", - "contents": "IN_USE$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "IN_WALK", - "annotation": "IN_WALK", - "contents": "IN_WALK$0", - "kind": "keyword", - "details": "262144" - }, - { - "trigger": "IN_WEAPON1", - "annotation": "IN_WEAPON1", - "contents": "IN_WEAPON1$0", - "kind": "keyword", - "details": "1048576" - }, - { - "trigger": "IN_WEAPON2", - "annotation": "IN_WEAPON2", - "contents": "IN_WEAPON2$0", - "kind": "keyword", - "details": "2097152" - }, - { - "trigger": "IN_ZOOM", - "annotation": "IN_ZOOM", - "contents": "IN_ZOOM$0", - "kind": "keyword", - "details": "524288" - }, - { - "trigger": "IS_NPC", - "annotation": "IS_NPC", - "contents": "IS_NPC$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "IgnitePlayer", - "annotation": "void IgnitePlayer()", - "contents": "IgnitePlayer()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "InAirDueToExplosion", - "annotation": "bool InAirDueToExplosion()", - "contents": "InAirDueToExplosion()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "InAirDueToKnockback", - "annotation": "bool InAirDueToKnockback()", - "contents": "InAirDueToKnockback()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "InCond", - "annotation": "bool InCond(ETFCond cond)", - "contents": "InCond(${1:ETFCond cond})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "InMatchStartCountdown", - "annotation": "bool InMatchStartCountdown()", - "contents": "InMatchStartCountdown()$0", - "kind": "keyword", - "details": "Are we in the pre-match state?" - }, - { - "trigger": "InOvertime", - "annotation": "bool InOvertime()", - "contents": "InOvertime()$0", - "kind": "keyword", - "details": "Currently in overtime?" - }, - { - "trigger": "IncludeScript", - "annotation": "bool IncludeScript(string file, handle scope = null)", - "contents": "IncludeScript(${1:string file}, ${2:handle scope = null})$0", - "kind": "keyword", - "details": "Wrapper for DoIncludeScript" - }, - { - "trigger": "Input[InputName]", - "annotation": "bool Input[InputName]()", - "contents": "Input[InputName]()$0", - "kind": "keyword", - "details": "Called when the entity receives an input from the I/O system that matches the function's name. The name of the function needs to beInputfollowed by the name of the input with the same casing (PascalCase). E.g. for the FireUser1 input, it would beInputFireUser1. When the function is called, Script Handles of the activator and caller entities are accessible to the function under the variablesactivatorandcaller. The function needs to return a boolean value; Returningtrueprocesses the input, whilefalsecancels it." - }, - { - "trigger": "Invert", - "annotation": "Quaternion Invert()", - "contents": "Invert()$0", - "kind": "keyword", - "details": "Returns a quaternion with the complimentary rotation." - }, - { - "trigger": "IsAbleToClimb", - "annotation": "bool IsAbleToClimb()", - "contents": "IsAbleToClimb()$0", - "kind": "keyword", - "details": "Return true if this bot can climb arbitrary geometry it encounters" - }, - { - "trigger": "IsAbleToJumpAcrossGaps", - "annotation": "bool IsAbleToJumpAcrossGaps()", - "contents": "IsAbleToJumpAcrossGaps()$0", - "kind": "keyword", - "details": "Return true if this bot can jump across gaps in its path" - }, - { - "trigger": "IsAirDashing", - "annotation": "bool IsAirDashing()", - "contents": "IsAirDashing()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsAllowedToSwitch", - "annotation": "bool IsAllowedToSwitch()", - "contents": "IsAllowedToSwitch()$0", - "kind": "keyword", - "details": "Are we allowed to switch to this weapon?" - }, - { - "trigger": "IsAllowedToTaunt", - "annotation": "bool IsAllowedToTaunt()", - "contents": "IsAllowedToTaunt()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsAmmoFull", - "annotation": "bool IsAmmoFull()", - "contents": "IsAmmoFull()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsAmmoLow", - "annotation": "bool IsAmmoLow()", - "contents": "IsAmmoLow()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsAreaTraversable", - "annotation": "bool IsAreaTraversable(handle)", - "contents": "IsAreaTraversable(${1:handle})$0", - "kind": "keyword", - "details": "Return true if given area can be used for navigation" - }, - { - "trigger": "IsAttackDefenseMode", - "annotation": "bool IsAttackDefenseMode()", - "contents": "IsAttackDefenseMode()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsAttemptingToMove", - "annotation": "bool IsAttemptingToMove()", - "contents": "IsAttemptingToMove()$0", - "kind": "keyword", - "details": "Return true if we have tried to Approach() or DriveTo() very recently" - }, - { - "trigger": "IsAttentionFocused", - "annotation": "bool IsAttentionFocused()", - "contents": "IsAttentionFocused()$0", - "kind": "keyword", - "details": "Is our attention focused right now?" - }, - { - "trigger": "IsAttentionFocusedOn", - "annotation": "bool IsAttentionFocusedOn(handle)", - "contents": "IsAttentionFocusedOn(${1:handle})$0", - "kind": "keyword", - "details": "Is our attention focused on this entity" - }, - { - "trigger": "IsBirthday", - "annotation": "bool IsBirthday()", - "contents": "IsBirthday()$0", - "kind": "keyword", - "details": "Are we in birthday mode?" - }, - { - "trigger": "IsBlocked", - "annotation": "bool IsBlocked(int team, bool)", - "contents": "IsBlocked(${1:int team}, ${2:bool})$0", - "kind": "keyword", - "details": "Return true if team is blocked in this area" - }, - { - "trigger": "IsBottleneck", - "annotation": "bool IsBottleneck()", - "contents": "IsBottleneck()$0", - "kind": "keyword", - "details": "Returns true if area is a bottleneck" - }, - { - "trigger": "IsCallingForMedic", - "annotation": "bool IsCallingForMedic()", - "contents": "IsCallingForMedic()$0", - "kind": "keyword", - "details": "Is this player calling for medic?" - }, - { - "trigger": "IsCarryingRune", - "annotation": "bool IsCarryingRune()", - "contents": "IsCarryingRune()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsClimbingOrJumping", - "annotation": "bool IsClimbingOrJumping()", - "contents": "IsClimbingOrJumping()$0", - "kind": "keyword", - "details": "Is jumping in any form" - }, - { - "trigger": "IsClimbingUpToLedge", - "annotation": "bool IsClimbingUpToLedge()", - "contents": "IsClimbingUpToLedge()$0", - "kind": "keyword", - "details": "Is climbing up to a high ledge" - }, - { - "trigger": "IsCompetitiveMode", - "annotation": "bool IsCompetitiveMode()", - "contents": "IsCompetitiveMode()$0", - "kind": "keyword", - "details": "Playing competitive?" - }, - { - "trigger": "IsCompletelyVisibleToTeam", - "annotation": "bool IsCompletelyVisibleToTeam(int team)", - "contents": "IsCompletelyVisibleToTeam(${1:int team})$0", - "kind": "keyword", - "details": "Return true if given area is completely visible from somewhere in this area by someone on the team" - }, - { - "trigger": "IsConVarOnAllowList", - "annotation": "bool IsConVarOnAllowList(string name)", - "contents": "IsConVarOnAllowList(${1:string name})$0", - "kind": "keyword", - "details": "Checks if the convar is allowed to be used and is in cfg/vscript_convar_allowlist.txt. Please be nice with this and use it for *compatibility* if you need check support and NOT to force server owners to allow hostname to be set... or else this will simply lie and return true in future. ;-) You have been warned!" - }, - { - "trigger": "IsConnected", - "annotation": "bool IsConnected(handle area, int dir)", - "contents": "IsConnected(${1:handle area}, ${2:int dir})$0", - "kind": "keyword", - "details": "Return true if given area is connected in given direction" - }, - { - "trigger": "IsControlStunned", - "annotation": "bool IsControlStunned()", - "contents": "IsControlStunned()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsCoplanar", - "annotation": "bool IsCoplanar(handle area)", - "contents": "IsCoplanar(${1:handle area})$0", - "kind": "keyword", - "details": "Return true if this area and given area are approximately co-planar" - }, - { - "trigger": "IsCritBoosted", - "annotation": "bool IsCritBoosted()", - "contents": "IsCritBoosted()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsDamaging", - "annotation": "bool IsDamaging()", - "contents": "IsDamaging()$0", - "kind": "keyword", - "details": "Return true if continuous damage (ie: fire) is in this area" - }, - { - "trigger": "IsDedicatedServer", - "annotation": "bool IsDedicatedServer()", - "contents": "IsDedicatedServer()$0", - "kind": "keyword", - "details": "Returns true if this server is a dedicated server." - }, - { - "trigger": "IsDefaultGameMode", - "annotation": "bool IsDefaultGameMode()", - "contents": "IsDefaultGameMode()$0", - "kind": "keyword", - "details": "The absence of arena, mvm, tournament mode, etc" - }, - { - "trigger": "IsDegenerate", - "annotation": "bool IsDegenerate()", - "contents": "IsDegenerate()$0", - "kind": "keyword", - "details": "Return true if this area is badly formed" - }, - { - "trigger": "IsDifficulty", - "annotation": "bool IsDifficulty(int)", - "contents": "IsDifficulty(${1:int})$0", - "kind": "keyword", - "details": "Returns true/false if the bot's difficulty level matches." - }, - { - "trigger": "IsEFlagSet", - "annotation": "bool IsEFlagSet(int)", - "contents": "IsEFlagSet(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsEdge", - "annotation": "bool IsEdge(int dir)", - "contents": "IsEdge(${1:int dir})$0", - "kind": "keyword", - "details": "Return true if there are no bi-directional links on the given side" - }, - { - "trigger": "IsEnemy", - "annotation": "bool IsEnemy(handle)", - "contents": "IsEnemy(${1:handle})$0", - "kind": "keyword", - "details": "Return true if given entity is our enemy" - }, - { - "trigger": "IsEntityTraversable", - "annotation": "bool IsEntityTraversable(handle, bool)", - "contents": "IsEntityTraversable(${1:handle}, ${2:bool})$0", - "kind": "keyword", - "details": "Return true if the entity handle is traversable" - }, - { - "trigger": "IsFireproof", - "annotation": "bool IsFireproof()", - "contents": "IsFireproof()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsFlaggedForUpdate", - "annotation": "bool IsFlaggedForUpdate()", - "contents": "IsFlaggedForUpdate()$0", - "kind": "keyword", - "details": "Is this bot flagged for update" - }, - { - "trigger": "IsFlat", - "annotation": "bool IsFlat()", - "contents": "IsFlat()$0", - "kind": "keyword", - "details": "Return true if this area is approximately flat" - }, - { - "trigger": "IsFriend", - "annotation": "bool IsFriend(handle)", - "contents": "IsFriend(${1:handle})$0", - "kind": "keyword", - "details": "Return true if given entity is our friend" - }, - { - "trigger": "IsFullyInvisible", - "annotation": "bool IsFullyInvisible()", - "contents": "IsFullyInvisible()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsGap", - "annotation": "bool IsGap(Vector, Vector)", - "contents": "IsGap(${1:Vector}, ${2:Vector})$0", - "kind": "keyword", - "details": "Return true if there is a gap here when moving in the given direction" - }, - { - "trigger": "IsHolidayActive", - "annotation": "bool IsHolidayActive(int holiday)", - "contents": "IsHolidayActive(${1:int holiday})$0", - "kind": "keyword", - "details": "Is the given holiday active? See Constants.EHoliday" - }, - { - "trigger": "IsHolidayMap", - "annotation": "bool IsHolidayMap(int holiday)", - "contents": "IsHolidayMap(${1:int holiday})$0", - "kind": "keyword", - "details": "Playing a holiday map? See Constants.EHoliday" - }, - { - "trigger": "IsHypeBuffed", - "annotation": "bool IsHypeBuffed()", - "contents": "IsHypeBuffed()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsImmobile", - "annotation": "bool IsImmobile()", - "contents": "IsImmobile()$0", - "kind": "keyword", - "details": "Return true if we haven't moved in awhile" - }, - { - "trigger": "IsImmuneToPushback", - "annotation": "bool IsImmuneToPushback()", - "contents": "IsImmuneToPushback()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsInASquad", - "annotation": "bool IsInASquad()", - "contents": "IsInASquad()$0", - "kind": "keyword", - "details": "Checks if we are in a squad" - }, - { - "trigger": "IsInArenaMode", - "annotation": "bool IsInArenaMode()", - "contents": "IsInArenaMode()$0", - "kind": "keyword", - "details": "Playing arena mode?" - }, - { - "trigger": "IsInKothMode", - "annotation": "bool IsInKothMode()", - "contents": "IsInKothMode()$0", - "kind": "keyword", - "details": "Playing king of the hill mode?" - }, - { - "trigger": "IsInMedievalMode", - "annotation": "bool IsInMedievalMode()", - "contents": "IsInMedievalMode()$0", - "kind": "keyword", - "details": "Playing medieval mode?" - }, - { - "trigger": "IsInWaitingForPlayers", - "annotation": "bool IsInWaitingForPlayers()", - "contents": "IsInWaitingForPlayers()$0", - "kind": "keyword", - "details": "Are we waiting for some stragglers?" - }, - { - "trigger": "IsInspecting", - "annotation": "bool IsInspecting()", - "contents": "IsInspecting()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsInvulnerable", - "annotation": "bool IsInvulnerable()", - "contents": "IsInvulnerable()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsJumping", - "annotation": "bool IsJumping()", - "contents": "IsJumping()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsJumpingAcrossGap", - "annotation": "bool IsJumpingAcrossGap()", - "contents": "IsJumpingAcrossGap()$0", - "kind": "keyword", - "details": "Is jumping across a gap to the far side" - }, - { - "trigger": "IsKeyEmpty", - "annotation": "bool IsKeyEmpty(string key)", - "contents": "IsKeyEmpty(${1:string key})$0", - "kind": "keyword", - "details": "Returns true if the named key has no value." - }, - { - "trigger": "IsMannVsMachineMode", - "annotation": "bool IsMannVsMachineMode()", - "contents": "IsMannVsMachineMode()$0", - "kind": "keyword", - "details": "Playing MvM? Beep boop" - }, - { - "trigger": "IsMannVsMachineRespecEnabled", - "annotation": "bool IsMannVsMachineRespecEnabled()", - "contents": "IsMannVsMachineRespecEnabled()$0", - "kind": "keyword", - "details": "Are players allowed to refund their upgrades?" - }, - { - "trigger": "IsMatchTypeCasual", - "annotation": "bool IsMatchTypeCasual()", - "contents": "IsMatchTypeCasual()$0", - "kind": "keyword", - "details": "Playing casual?" - }, - { - "trigger": "IsMatchTypeCompetitive", - "annotation": "bool IsMatchTypeCompetitive()", - "contents": "IsMatchTypeCompetitive()$0", - "kind": "keyword", - "details": "Playing competitive?" - }, - { - "trigger": "IsMeleeWeapon", - "annotation": "bool IsMeleeWeapon()", - "contents": "IsMeleeWeapon()$0", - "kind": "keyword", - "details": "Returns whether this is a melee weapon" - }, - { - "trigger": "IsMiniBoss", - "annotation": "bool IsMiniBoss()", - "contents": "IsMiniBoss()$0", - "kind": "keyword", - "details": "Is this player an MvM mini-boss?" - }, - { - "trigger": "IsModelPrecached", - "annotation": "bool IsModelPrecached(string modelname)", - "contents": "IsModelPrecached(${1:string modelname})$0", - "kind": "keyword", - "details": "Checks if the modelname is precached." - }, - { - "trigger": "IsNoclipping", - "annotation": "bool IsNoclipping()", - "contents": "IsNoclipping()$0", - "kind": "keyword", - "details": "Returns true if the player is in noclip mode." - }, - { - "trigger": "IsOnGround", - "annotation": "bool IsOnGround()", - "contents": "IsOnGround()$0", - "kind": "keyword", - "details": "Return true if standing on something" - }, - { - "trigger": "IsOverlapping", - "annotation": "bool IsOverlapping(handle area)", - "contents": "IsOverlapping(${1:handle area})$0", - "kind": "keyword", - "details": "Return true if 'area' overlaps our 2D extents" - }, - { - "trigger": "IsOverlappingOrigin", - "annotation": "bool IsOverlappingOrigin(Vector pos, float tolerance)", - "contents": "IsOverlappingOrigin(${1:Vector pos}, ${2:float tolerance})$0", - "kind": "keyword", - "details": "Return true if 'pos' is within 2D extents of area" - }, - { - "trigger": "IsPVEModeActive", - "annotation": "bool IsPVEModeActive()", - "contents": "IsPVEModeActive()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsParachuteEquipped", - "annotation": "bool IsParachuteEquipped()", - "contents": "IsParachuteEquipped()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsPasstimeMode", - "annotation": "bool IsPasstimeMode()", - "contents": "IsPasstimeMode()$0", - "kind": "keyword", - "details": "No ball games." - }, - { - "trigger": "IsPaused", - "annotation": "bool IsPaused()", - "contents": "IsPaused()$0", - "kind": "keyword", - "details": "If this scene is currently paused." - }, - { - "trigger": "IsPlacingSapper", - "annotation": "bool IsPlacingSapper()", - "contents": "IsPlacingSapper()$0", - "kind": "keyword", - "details": "Returns true if we placed a sapper in the last few moments" - }, - { - "trigger": "IsPlayer", - "annotation": "IsPlayer()", - "contents": "IsPlayer()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsPlayerABot", - "annotation": "bool IsPlayerABot(handle player)", - "contents": "IsPlayerABot(${1:handle player})$0", - "kind": "keyword", - "details": "Is this player/entity a bot." - }, - { - "trigger": "IsPlayerSpeaking", - "annotation": "bool IsPlayerSpeaking(int)", - "contents": "IsPlayerSpeaking(${1:int})$0", - "kind": "keyword", - "details": "Returns whether the player specified is speaking." - }, - { - "trigger": "IsPlayingBack", - "annotation": "bool IsPlayingBack()", - "contents": "IsPlayingBack()$0", - "kind": "keyword", - "details": "If this scene is currently playing." - }, - { - "trigger": "IsPotentiallyTraversable", - "annotation": "float IsPotentiallyTraversable(Vector, Vector, bool)", - "contents": "IsPotentiallyTraversable(${1:Vector}, ${2:Vector}, ${3:bool})$0", - "kind": "keyword", - "details": "Return true if this locomotor could potentially move along the line given." - }, - { - "trigger": "IsPotentiallyVisibleToTeam", - "annotation": "bool IsPotentiallyVisibleToTeam(int team)", - "contents": "IsPotentiallyVisibleToTeam(${1:int team})$0", - "kind": "keyword", - "details": "Return true if any portion of this area is visible to anyone on the given team" - }, - { - "trigger": "IsPowerupMode", - "annotation": "bool IsPowerupMode()", - "contents": "IsPowerupMode()$0", - "kind": "keyword", - "details": "Playing powerup mode? Not compatible with MvM" - }, - { - "trigger": "IsQuickBuildTime", - "annotation": "bool IsQuickBuildTime()", - "contents": "IsQuickBuildTime()$0", - "kind": "keyword", - "details": "If an engie places a building, will it immediately upgrade? Eg. MvM pre-round etc." - }, - { - "trigger": "IsRageDraining", - "annotation": "bool IsRageDraining()", - "contents": "IsRageDraining()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsReachableByTeam", - "annotation": "bool IsReachableByTeam(int)", - "contents": "IsReachableByTeam(${1:int})$0", - "kind": "keyword", - "details": "Is this area reachable by the given team?" - }, - { - "trigger": "IsRegenerating", - "annotation": "bool IsRegenerating()", - "contents": "IsRegenerating()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsRoughlySquare", - "annotation": "bool IsRoughlySquare()", - "contents": "IsRoughlySquare()$0", - "kind": "keyword", - "details": "Return true if this area is approximately square" - }, - { - "trigger": "IsRunning", - "annotation": "bool IsRunning()", - "contents": "IsRunning()$0", - "kind": "keyword", - "details": "Is running?" - }, - { - "trigger": "IsSapping", - "annotation": "bool IsSapping()", - "contents": "IsSapping()$0", - "kind": "keyword", - "details": "Returns true if we are currently sapping" - }, - { - "trigger": "IsScrambling", - "annotation": "bool IsScrambling()", - "contents": "IsScrambling()$0", - "kind": "keyword", - "details": "Is in the middle of a complex action (climbing a ladder, climbing a ledge, jumping, etc) that shouldn't be interrupted" - }, - { - "trigger": "IsSequenceFinished", - "annotation": "bool IsSequenceFinished()", - "contents": "IsSequenceFinished()$0", - "kind": "keyword", - "details": "Ask whether the main sequence is done playing" - }, - { - "trigger": "IsSnared", - "annotation": "bool IsSnared()", - "contents": "IsSnared()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsSolid", - "annotation": "bool IsSolid()", - "contents": "IsSolid()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsSolidFlagSet", - "annotation": "bool IsSolidFlagSet(int)", - "contents": "IsSolidFlagSet(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsSoundPrecached", - "annotation": "bool IsSoundPrecached(string soundname)", - "contents": "IsSoundPrecached(${1:string soundname})$0", - "kind": "keyword", - "details": "Checks if the soundname is precached." - }, - { - "trigger": "IsStealthed", - "annotation": "bool IsStealthed()", - "contents": "IsStealthed()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsStuck", - "annotation": "bool IsStuck()", - "contents": "IsStuck()$0", - "kind": "keyword", - "details": "Return true if bot is stuck. If the locomotor cannot make progress, it becomes stuck and can only leave this stuck state by successfully movingand becoming un-stuck." - }, - { - "trigger": "IsTFMarked", - "annotation": "bool IsTFMarked()", - "contents": "IsTFMarked()$0", - "kind": "keyword", - "details": "Is this nav area marked with the current marking scope?" - }, - { - "trigger": "IsTruceActive", - "annotation": "bool IsTruceActive()", - "contents": "IsTruceActive()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsUnderwater", - "annotation": "bool IsUnderwater()", - "contents": "IsUnderwater()$0", - "kind": "keyword", - "details": "Return true if area is underwater" - }, - { - "trigger": "IsUsingActionSlot", - "annotation": "bool IsUsingActionSlot()", - "contents": "IsUsingActionSlot()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsUsingGrapplingHook", - "annotation": "bool IsUsingGrapplingHook()", - "contents": "IsUsingGrapplingHook()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsUsingSpells", - "annotation": "bool IsUsingSpells()", - "contents": "IsUsingSpells()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsValid", - "annotation": "IsValid()", - "contents": "IsValid()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsValidForWanderingPopulation", - "annotation": "bool IsValidForWanderingPopulation()", - "contents": "IsValidForWanderingPopulation()$0", - "kind": "keyword", - "details": "Returns true if area is valid for wandering population" - }, - { - "trigger": "IsViewingCYOAPDA", - "annotation": "bool IsViewingCYOAPDA()", - "contents": "IsViewingCYOAPDA()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsVisible", - "annotation": "bool IsVisible(Vector point)", - "contents": "IsVisible(${1:Vector point})$0", - "kind": "keyword", - "details": "Return true if area is visible from the given eyepoint" - }, - { - "trigger": "IsWeakref", - "annotation": "bool IsWeakref()", - "contents": "IsWeakref()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "IsWeaponRestricted", - "annotation": "bool IsWeaponRestricted(handle)", - "contents": "IsWeaponRestricted(${1:handle})$0", - "kind": "keyword", - "details": "Checks if the given weapon is restricted for use on the bot" - }, - { - "trigger": "Jump", - "annotation": "void Jump()", - "contents": "Jump()$0", - "kind": "keyword", - "details": "Initiate a simple undirected jump in the air" - }, - { - "trigger": "JumpAcrossGap", - "annotation": "void JumpAcrossGap(Vector, Vector)", - "contents": "JumpAcrossGap(${1:Vector}, ${2:Vector})$0", - "kind": "keyword", - "details": "Initiate a jump across an empty volume of space to far side" - }, - { - "trigger": "KeyValueFromFloat", - "annotation": "bool KeyValueFromFloat(string, float)", - "contents": "KeyValueFromFloat(${1:string}, ${2:float})$0", - "kind": "keyword", - "details": "Executes KeyValue with a float" - }, - { - "trigger": "KeyValueFromInt", - "annotation": "bool KeyValueFromInt(string, int)", - "contents": "KeyValueFromInt(${1:string}, ${2:int})$0", - "kind": "keyword", - "details": "Executes KeyValue with an int" - }, - { - "trigger": "KeyValueFromString", - "annotation": "bool KeyValueFromString(string, string)", - "contents": "KeyValueFromString(${1:string}, ${2:string})$0", - "kind": "keyword", - "details": "Executes KeyValue with a string" - }, - { - "trigger": "KeyValueFromVector", - "annotation": "bool KeyValueFromVector(string, Vector)", - "contents": "KeyValueFromVector(${1:string}, ${2:Vector})$0", - "kind": "keyword", - "details": "Executes KeyValue with a vector" - }, - { - "trigger": "Kill", - "annotation": "void Kill()", - "contents": "Kill()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "LAST_SHARED_COLLISION_GROUP", - "annotation": "LAST_SHARED_COLLISION_GROUP", - "contents": "LAST_SHARED_COLLISION_GROUP$0", - "kind": "keyword", - "details": "20" - }, - { - "trigger": "LAST_VISIBLE_CONTENTS", - "annotation": "LAST_VISIBLE_CONTENTS", - "contents": "LAST_VISIBLE_CONTENTS$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "LEFT", - "annotation": "LEFT", - "contents": "LEFT$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "LeaveSquad", - "annotation": "void LeaveSquad()", - "contents": "LeaveSquad()$0", - "kind": "keyword", - "details": "Makes us leave the current squad (if any)" - }, - { - "trigger": "Left", - "annotation": "Left()", - "contents": "Left()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Length", - "annotation": "float Length()", - "contents": "Length()$0", - "kind": "keyword", - "details": "Magnitude of the vector." - }, - { - "trigger": "Length2D", - "annotation": "float Length2D()", - "contents": "Length2D()$0", - "kind": "keyword", - "details": "Returns the magnitude of the vector on the x-y plane. Meant to be used when working with the client's HUD." - }, - { - "trigger": "Length2DSqr", - "annotation": "float Length2DSqr()", - "contents": "Length2DSqr()$0", - "kind": "keyword", - "details": "Returns the square of the magnitude of the vector on the x-y plane. Faster than the above method." - }, - { - "trigger": "LengthSqr", - "annotation": "float LengthSqr()", - "contents": "LengthSqr()$0", - "kind": "keyword", - "details": "The magnitude of the vector squared. Faster than the above method." - }, - { - "trigger": "LoadSceneFromString", - "annotation": "bool LoadSceneFromString(string, string)", - "contents": "LoadSceneFromString(${1:string}, ${2:string})$0", - "kind": "keyword", - "details": "given a dummy scene name and a vcd string, load the scene" - }, - { - "trigger": "LocalEyeAngles", - "annotation": "handle LocalEyeAngles()", - "contents": "LocalEyeAngles()$0", - "kind": "keyword", - "details": "Returns the entity's local eye angles" - }, - { - "trigger": "LocalTime", - "annotation": "void LocalTime(table)", - "contents": "LocalTime(${1:table})$0", - "kind": "keyword", - "details": "Fills out a table with the local time (second, minute, hour, day, month, year, dayofweek, dayofyear, daylightsavings)" - }, - { - "trigger": "Log", - "annotation": "Log()", - "contents": "Log()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "LookupActivity", - "annotation": "int LookupActivity(string)", - "contents": "LookupActivity(${1:string})$0", - "kind": "keyword", - "details": "Get the named activity index" - }, - { - "trigger": "LookupAttachment", - "annotation": "int LookupAttachment(string)", - "contents": "LookupAttachment(${1:string})$0", - "kind": "keyword", - "details": "Get the named attachement id" - }, - { - "trigger": "LookupBone", - "annotation": "int LookupBone(string)", - "contents": "LookupBone(${1:string})$0", - "kind": "keyword", - "details": "Get the named bone index" - }, - { - "trigger": "LookupPoseParameter", - "annotation": "int LookupPoseParameter(string)", - "contents": "LookupPoseParameter(${1:string})$0", - "kind": "keyword", - "details": "Looks up a pose parameter index by name" - }, - { - "trigger": "LookupSequence", - "annotation": "int LookupSequence(string)", - "contents": "LookupSequence(${1:string})$0", - "kind": "keyword", - "details": "Looks up a sequence by sequence name or activity name" - }, - { - "trigger": "MAX_EDICTS", - "annotation": "MAX_EDICTS", - "contents": "MAX_EDICTS$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "MAX_PLAYERS", - "annotation": "MAX_PLAYERS", - "contents": "MAX_PLAYERS$0", - "kind": "keyword", - "details": "33" - }, - { - "trigger": "MINIBOSS", - "annotation": "MINIBOSS", - "contents": "MINIBOSS$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "MOVECOLLIDE_COUNT", - "annotation": "MOVECOLLIDE_COUNT", - "contents": "MOVECOLLIDE_COUNT$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "MOVECOLLIDE_DEFAULT", - "annotation": "MOVECOLLIDE_DEFAULT", - "contents": "MOVECOLLIDE_DEFAULT$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "MOVECOLLIDE_FLY_BOUNCE", - "annotation": "MOVECOLLIDE_FLY_BOUNCE", - "contents": "MOVECOLLIDE_FLY_BOUNCE$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "MOVECOLLIDE_FLY_CUSTOM", - "annotation": "MOVECOLLIDE_FLY_CUSTOM", - "contents": "MOVECOLLIDE_FLY_CUSTOM$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "MOVECOLLIDE_FLY_SLIDE", - "annotation": "MOVECOLLIDE_FLY_SLIDE", - "contents": "MOVECOLLIDE_FLY_SLIDE$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "MOVECOLLIDE_MAX_BITS", - "annotation": "MOVECOLLIDE_MAX_BITS", - "contents": "MOVECOLLIDE_MAX_BITS$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "MOVETYPE_CUSTOM", - "annotation": "MOVETYPE_CUSTOM", - "contents": "MOVETYPE_CUSTOM$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "MOVETYPE_FLY", - "annotation": "MOVETYPE_FLY", - "contents": "MOVETYPE_FLY$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "MOVETYPE_FLYGRAVITY", - "annotation": "MOVETYPE_FLYGRAVITY", - "contents": "MOVETYPE_FLYGRAVITY$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "MOVETYPE_ISOMETRIC", - "annotation": "MOVETYPE_ISOMETRIC", - "contents": "MOVETYPE_ISOMETRIC$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "MOVETYPE_LADDER", - "annotation": "MOVETYPE_LADDER", - "contents": "MOVETYPE_LADDER$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "MOVETYPE_LAST", - "annotation": "MOVETYPE_LAST", - "contents": "MOVETYPE_LAST$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "MOVETYPE_NOCLIP", - "annotation": "MOVETYPE_NOCLIP", - "contents": "MOVETYPE_NOCLIP$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "MOVETYPE_NONE", - "annotation": "MOVETYPE_NONE", - "contents": "MOVETYPE_NONE$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "MOVETYPE_OBSERVER", - "annotation": "MOVETYPE_OBSERVER", - "contents": "MOVETYPE_OBSERVER$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "MOVETYPE_PUSH", - "annotation": "MOVETYPE_PUSH", - "contents": "MOVETYPE_PUSH$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "MOVETYPE_STEP", - "annotation": "MOVETYPE_STEP", - "contents": "MOVETYPE_STEP$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "MOVETYPE_VPHYSICS", - "annotation": "MOVETYPE_VPHYSICS", - "contents": "MOVETYPE_VPHYSICS$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "MOVETYPE_WALK", - "annotation": "MOVETYPE_WALK", - "contents": "MOVETYPE_WALK$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "MakeNamespace", - "annotation": "MakeNamespace()", - "contents": "MakeNamespace()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "MapHasMatchSummaryStage", - "annotation": "bool MapHasMatchSummaryStage()", - "contents": "MapHasMatchSummaryStage()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "MarkAsBlocked", - "annotation": "void MarkAsBlocked(int team)", - "contents": "MarkAsBlocked(${1:int team})$0", - "kind": "keyword", - "details": "Mark this area as blocked for team" - }, - { - "trigger": "MarkAsDamaging", - "annotation": "void MarkAsDamaging(float duration)", - "contents": "MarkAsDamaging(${1:float duration})$0", - "kind": "keyword", - "details": "Mark this area is damaging for the next 'duration' seconds" - }, - { - "trigger": "MarkObstacleToAvoid", - "annotation": "void MarkObstacleToAvoid(float height)", - "contents": "MarkObstacleToAvoid(${1:float height})$0", - "kind": "keyword", - "details": "Marks the obstructed status of the nav area" - }, - { - "trigger": "MatchmakingShouldUseStopwatchMode", - "annotation": "bool MatchmakingShouldUseStopwatchMode()", - "contents": "MatchmakingShouldUseStopwatchMode()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Msg", - "annotation": "void Msg(string message)", - "contents": "Msg(${1:string message})$0", - "kind": "keyword", - "details": "Prints message to console without any line feed after." - }, - { - "trigger": "NAV_MESH_AVOID", - "annotation": "NAV_MESH_AVOID", - "contents": "NAV_MESH_AVOID$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "NAV_MESH_CLIFF", - "annotation": "NAV_MESH_CLIFF", - "contents": "NAV_MESH_CLIFF$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "NAV_MESH_CROUCH", - "annotation": "NAV_MESH_CROUCH", - "contents": "NAV_MESH_CROUCH$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "NAV_MESH_DONT_HIDE", - "annotation": "NAV_MESH_DONT_HIDE", - "contents": "NAV_MESH_DONT_HIDE$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "NAV_MESH_FIRST_CUSTOM", - "annotation": "NAV_MESH_FIRST_CUSTOM", - "contents": "NAV_MESH_FIRST_CUSTOM$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "NAV_MESH_FUNC_COST", - "annotation": "NAV_MESH_FUNC_COST", - "contents": "NAV_MESH_FUNC_COST$0", - "kind": "keyword", - "details": "536870912" - }, - { - "trigger": "NAV_MESH_HAS_ELEVATOR", - "annotation": "NAV_MESH_HAS_ELEVATOR", - "contents": "NAV_MESH_HAS_ELEVATOR$0", - "kind": "keyword", - "details": "1073741824" - }, - { - "trigger": "NAV_MESH_INVALID", - "annotation": "NAV_MESH_INVALID", - "contents": "NAV_MESH_INVALID$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "NAV_MESH_JUMP", - "annotation": "NAV_MESH_JUMP", - "contents": "NAV_MESH_JUMP$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "NAV_MESH_LAST_CUSTOM", - "annotation": "NAV_MESH_LAST_CUSTOM", - "contents": "NAV_MESH_LAST_CUSTOM$0", - "kind": "keyword", - "details": "67108864" - }, - { - "trigger": "NAV_MESH_NAV_BLOCKER", - "annotation": "NAV_MESH_NAV_BLOCKER", - "contents": "NAV_MESH_NAV_BLOCKER$0", - "kind": "keyword", - "details": "2147483648" - }, - { - "trigger": "NAV_MESH_NO_HOSTAGES", - "annotation": "NAV_MESH_NO_HOSTAGES", - "contents": "NAV_MESH_NO_HOSTAGES$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "NAV_MESH_NO_JUMP", - "annotation": "NAV_MESH_NO_JUMP", - "contents": "NAV_MESH_NO_JUMP$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "NAV_MESH_NO_MERGE", - "annotation": "NAV_MESH_NO_MERGE", - "contents": "NAV_MESH_NO_MERGE$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "NAV_MESH_OBSTACLE_TOP", - "annotation": "NAV_MESH_OBSTACLE_TOP", - "contents": "NAV_MESH_OBSTACLE_TOP$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "NAV_MESH_PRECISE", - "annotation": "NAV_MESH_PRECISE", - "contents": "NAV_MESH_PRECISE$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "NAV_MESH_RUN", - "annotation": "NAV_MESH_RUN", - "contents": "NAV_MESH_RUN$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "NAV_MESH_STAIRS", - "annotation": "NAV_MESH_STAIRS", - "contents": "NAV_MESH_STAIRS$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "NAV_MESH_STAND", - "annotation": "NAV_MESH_STAND", - "contents": "NAV_MESH_STAND$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "NAV_MESH_STOP", - "annotation": "NAV_MESH_STOP", - "contents": "NAV_MESH_STOP$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "NAV_MESH_TRANSIENT", - "annotation": "NAV_MESH_TRANSIENT", - "contents": "NAV_MESH_TRANSIENT$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "NAV_MESH_WALK", - "annotation": "NAV_MESH_WALK", - "contents": "NAV_MESH_WALK$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "NORMAL", - "annotation": "NORMAL", - "contents": "NORMAL$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "NORTH", - "annotation": "NORTH", - "contents": "NORTH$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "NORTH_EAST", - "annotation": "NORTH_EAST", - "contents": "NORTH_EAST$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "NORTH_WEST", - "annotation": "NORTH_WEST", - "contents": "NORTH_WEST$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "NUM_CORNERS", - "annotation": "NUM_CORNERS", - "contents": "NUM_CORNERS$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "NUM_DIFFICULTY_LEVELS", - "annotation": "NUM_DIFFICULTY_LEVELS", - "contents": "NUM_DIFFICULTY_LEVELS$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "NUM_DIRECTIONS", - "annotation": "NUM_DIRECTIONS", - "contents": "NUM_DIRECTIONS$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "NUM_OBSERVER_MODES", - "annotation": "NUM_OBSERVER_MODES", - "contents": "NUM_OBSERVER_MODES$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "NUM_RELATIVE_DIRECTIONS", - "annotation": "NUM_RELATIVE_DIRECTIONS", - "contents": "NUM_RELATIVE_DIRECTIONS$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "NUM_TRAVERSE_TYPES", - "annotation": "NUM_TRAVERSE_TYPES", - "contents": "NUM_TRAVERSE_TYPES$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "NavAreaBuildPath", - "annotation": "bool NavAreaBuildPath(CTFNavArea startArea, CTFNavArea endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers)", - "contents": "NavAreaBuildPath(${1:CTFNavArea startArea}, ${2:CTFNavArea endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers})$0", - "kind": "keyword", - "details": "returns true if a path exists" - }, - { - "trigger": "NavAreaTravelDistance", - "annotation": "float NavAreaTravelDistance(TFNavArea startArea, CTFNavArea endArea, float flMaxPathLength)", - "contents": "NavAreaTravelDistance(${1:TFNavArea startArea}, ${2:CTFNavArea endArea}, ${3:float flMaxPathLength})$0", - "kind": "keyword", - "details": "compute distance between two areas. Return -1 if can't reach 'endArea' from 'startArea'" - }, - { - "trigger": "Next", - "annotation": "handle Next(handle previous)", - "contents": "Next(${1:handle previous})$0", - "kind": "keyword", - "details": "At the given reference of a previously-found entity, returns the next one after it in the list." - }, - { - "trigger": "NextMovePeer", - "annotation": "handle NextMovePeer()", - "contents": "NextMovePeer()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Norm", - "annotation": "Quaternion Norm()", - "contents": "Norm()$0", - "kind": "keyword", - "details": "Normalizes the 4D vector length." - }, - { - "trigger": "OBS_MODE_CHASE", - "annotation": "OBS_MODE_CHASE", - "contents": "OBS_MODE_CHASE$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "OBS_MODE_DEATHCAM", - "annotation": "OBS_MODE_DEATHCAM", - "contents": "OBS_MODE_DEATHCAM$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "OBS_MODE_FIXED", - "annotation": "OBS_MODE_FIXED", - "contents": "OBS_MODE_FIXED$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "OBS_MODE_FREEZECAM", - "annotation": "OBS_MODE_FREEZECAM", - "contents": "OBS_MODE_FREEZECAM$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "OBS_MODE_IN_EYE", - "annotation": "OBS_MODE_IN_EYE", - "contents": "OBS_MODE_IN_EYE$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "OBS_MODE_NONE", - "annotation": "OBS_MODE_NONE", - "contents": "OBS_MODE_NONE$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "OBS_MODE_POI", - "annotation": "OBS_MODE_POI", - "contents": "OBS_MODE_POI$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "OBS_MODE_ROAMING", - "annotation": "OBS_MODE_ROAMING", - "contents": "OBS_MODE_ROAMING$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "OnLandOnGround", - "annotation": "void OnLandOnGround(handle)", - "contents": "OnLandOnGround(${1:handle})$0", - "kind": "keyword", - "details": "Manually run the OnLandOnGround callback. Typically invoked when bot lands on the ground after being in the air" - }, - { - "trigger": "OnLeaveGround", - "annotation": "void OnLeaveGround(handle)", - "contents": "OnLeaveGround(${1:handle})$0", - "kind": "keyword", - "details": "Manually run the OnLeaveGround callback. Typically invoked when bot leaves ground for any reason" - }, - { - "trigger": "OnPostSpawn", - "annotation": "void OnPostSpawn()", - "contents": "OnPostSpawn()$0", - "kind": "keyword", - "details": "Called after the entity spawns, which is after scripts and players have loaded. This could be used to have an entity register itself with a master script, or adjusting the entity parameters in a programmatic way." - }, - { - "trigger": "OnTakeDamage", - "annotation": "void OnTakeDamage(handle params)", - "contents": "OnTakeDamage(${1:handle params})$0", - "kind": "keyword", - "details": "Called each time an entity takes damage. The script can modify the table entries not suffixed with const, and these will be sent back to the game code" - }, - { - "trigger": "One", - "annotation": "One", - "contents": "One$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "PARACHUTE", - "annotation": "PARACHUTE", - "contents": "PARACHUTE$0", - "kind": "keyword", - "details": "67108864" - }, - { - "trigger": "PI", - "annotation": "PI", - "contents": "PI$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PLAYER_FLAG_BITS", - "annotation": "PLAYER_FLAG_BITS", - "contents": "PLAYER_FLAG_BITS$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "PREFER_VACCINATOR_BLAST", - "annotation": "PREFER_VACCINATOR_BLAST", - "contents": "PREFER_VACCINATOR_BLAST$0", - "kind": "keyword", - "details": "2097152" - }, - { - "trigger": "PREFER_VACCINATOR_BULLETS", - "annotation": "PREFER_VACCINATOR_BULLETS", - "contents": "PREFER_VACCINATOR_BULLETS$0", - "kind": "keyword", - "details": "1048576" - }, - { - "trigger": "PREFER_VACCINATOR_FIRE", - "annotation": "PREFER_VACCINATOR_FIRE", - "contents": "PREFER_VACCINATOR_FIRE$0", - "kind": "keyword", - "details": "4194304" - }, - { - "trigger": "PRIORITIZE_DEFENSE", - "annotation": "PRIORITIZE_DEFENSE", - "contents": "PRIORITIZE_DEFENSE$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "PROJECTILE_SHIELD", - "annotation": "PROJECTILE_SHIELD", - "contents": "PROJECTILE_SHIELD$0", - "kind": "keyword", - "details": "134217728" - }, - { - "trigger": "Pi", - "annotation": "Pi", - "contents": "Pi$0", - "kind": "keyword", - "details": "3.14159" - }, - { - "trigger": "PickupObject", - "annotation": "void PickupObject(handle player, handle entity)", - "contents": "PickupObject(${1:handle player}, ${2:handle entity})$0", - "kind": "keyword", - "details": "Object from world is put into the \"Held\" slot of the player. Warning: it will smoothly interpolate from where it is to the players hand - which is a bit goofy if it is on other side of level." - }, - { - "trigger": "Pitch", - "annotation": "Pitch()", - "contents": "Pitch()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PlayScene", - "annotation": "float PlayScene(string, float)", - "contents": "PlayScene(${1:string}, ${2:float})$0", - "kind": "keyword", - "details": "Play the specified .vcd file." - }, - { - "trigger": "PlayerInstanceFromIndex", - "annotation": "CBasePlayer PlayerInstanceFromIndex(int index)", - "contents": "PlayerInstanceFromIndex(${1:int index})$0", - "kind": "keyword", - "details": "Get a script handle of a player using the player index." - }, - { - "trigger": "PlayerReadyStatus_ArePlayersOnTeamReady", - "annotation": "bool PlayerReadyStatus_ArePlayersOnTeamReady(int)", - "contents": "PlayerReadyStatus_ArePlayersOnTeamReady(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PlayerReadyStatus_HaveMinPlayersToEnable", - "annotation": "bool PlayerReadyStatus_HaveMinPlayersToEnable()", - "contents": "PlayerReadyStatus_HaveMinPlayersToEnable()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PlayerReadyStatus_ResetState", - "annotation": "void PlayerReadyStatus_ResetState()", - "contents": "PlayerReadyStatus_ResetState()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PlayersAreOnMatchSummaryStage", - "annotation": "bool PlayersAreOnMatchSummaryStage()", - "contents": "PlayersAreOnMatchSummaryStage()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PointsMayBeCaptured", - "annotation": "bool PointsMayBeCaptured()", - "contents": "PointsMayBeCaptured()$0", - "kind": "keyword", - "details": "Are points able to be captured?" - }, - { - "trigger": "PostScriptExecute", - "annotation": "PostScriptExecute()", - "contents": "PostScriptExecute()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PostSpawn", - "annotation": "void PostSpawn(table entities)", - "contents": "PostSpawn(${1:table entities})$0", - "kind": "keyword", - "details": "Called after the entities are spawned. A table with the handles of the spawned entities indexed by name is passed to the function. Could use this to connect outputs or do whatever needs to be done after the entity was created." - }, - { - "trigger": "PreSpawnInstance", - "annotation": "table PreSpawnInstance(string entityClass, string entityName)", - "contents": "PreSpawnInstance(${1:string entityClass}, ${2:string entityName})$0", - "kind": "keyword", - "details": "If this is defined, it will be called right before the entity is created, and any keyvalues returned will be assigned to the entity." - }, - { - "trigger": "Precache", - "annotation": "void Precache()", - "contents": "Precache()$0", - "kind": "keyword", - "details": "Called after the script executes. Can be used to call precache functions for models and sounds on map load." - }, - { - "trigger": "PrecacheEntityFromTable", - "annotation": "bool PrecacheEntityFromTable(table keyvalues)", - "contents": "PrecacheEntityFromTable(${1:table keyvalues})$0", - "kind": "keyword", - "details": "Precache an entity from KeyValues in a table; useful for entenv_shake." - }, - { - "trigger": "PrecacheModel", - "annotation": "int PrecacheModel(string filename)", - "contents": "PrecacheModel(${1:string filename})$0", - "kind": "keyword", - "details": "Precache a model and return index of the model." - }, - { - "trigger": "PrecacheScriptSound", - "annotation": "void PrecacheScriptSound(string)", - "contents": "PrecacheScriptSound(${1:string})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PrecacheSound", - "annotation": "void PrecacheSound(string soundName)", - "contents": "PrecacheSound(${1:string soundName})$0", - "kind": "keyword", - "details": "Precache a sound." - }, - { - "trigger": "PrecacheSoundScript", - "annotation": "void PrecacheSoundScript(string)", - "contents": "PrecacheSoundScript(${1:string})$0", - "kind": "keyword", - "details": "Precache a sound for later playing." - }, - { - "trigger": "PressAltFireButton", - "annotation": "void PressAltFireButton(float)", - "contents": "PressAltFireButton(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PressFireButton", - "annotation": "void PressFireButton(float)", - "contents": "PressFireButton(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PressSpecialFireButton", - "annotation": "void PressSpecialFireButton(float)", - "contents": "PressSpecialFireButton(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "PrimaryAttack", - "annotation": "void PrimaryAttack()", - "contents": "PrimaryAttack()$0", - "kind": "keyword", - "details": "Force a primary attack" - }, - { - "trigger": "PrintHelp", - "annotation": "PrintHelp()", - "contents": "PrintHelp()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "QUOTA_MANANGED", - "annotation": "QUOTA_MANANGED", - "contents": "QUOTA_MANANGED$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "Quaternion", - "annotation": "Quaternion(float x, float y, float z, float w)", - "contents": "Quaternion(${1:float x}, ${2:float y}, ${3:float z}, ${4:float w})$0", - "kind": "keyword", - "details": "Creates a new quaternion of the form w + x i + y j + z k." - }, - { - "trigger": "RAND_MAX", - "annotation": "RAND_MAX", - "contents": "RAND_MAX$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "REMOVE_ON_DEATH", - "annotation": "REMOVE_ON_DEATH", - "contents": "REMOVE_ON_DEATH$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "RETAIN_BUILDINGS", - "annotation": "RETAIN_BUILDINGS", - "contents": "RETAIN_BUILDINGS$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "RIGHT", - "annotation": "RIGHT", - "contents": "RIGHT$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "RandomFloat", - "annotation": "float RandomFloat(float min, float max)", - "contents": "RandomFloat(${1:float min}, ${2:float max})$0", - "kind": "keyword", - "details": "Generate a random floating-point number within a range, inclusive." - }, - { - "trigger": "RandomInt", - "annotation": "int RandomInt(int min, int max)", - "contents": "RandomInt(${1:int min}, ${2:int max})$0", - "kind": "keyword", - "details": "Generate a random integer within a range, inclusive." - }, - { - "trigger": "ReapplyProvision", - "annotation": "void ReapplyProvision()", - "contents": "ReapplyProvision()$0", - "kind": "keyword", - "details": "Relinks attributes to provisioners, e.g. calling this on a weapon will add it's attributes to the player" - }, - { - "trigger": "Regenerate", - "annotation": "void Regenerate(bool)", - "contents": "Regenerate(${1:bool})$0", - "kind": "keyword", - "details": "Resupplies a player. If regen health/ammo is set, clears negative conds, gives back player health/ammo" - }, - { - "trigger": "RegisterAvoidanceObstacle", - "annotation": "void RegisterAvoidanceObstacle(handle entity)", - "contents": "RegisterAvoidanceObstacle(${1:handle entity})$0", - "kind": "keyword", - "details": "registers avoidance obstacle" - }, - { - "trigger": "RegisterFunctionDocumentation", - "annotation": "void RegisterFunctionDocumentation(unknown func, string name, string signature, string description)", - "contents": "RegisterFunctionDocumentation(${1:unknown func}, ${2:string name}, ${3:string signature}, ${4:string description})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RegisterScriptGameEventListener", - "annotation": "void RegisterScriptGameEventListener(string eventName)", - "contents": "RegisterScriptGameEventListener(${1:string eventName})$0", - "kind": "keyword", - "details": "Register as a listener for a game event from script. It's what __CollectGameEventCallbacks() uses to register event callbacks to the C++ code." - }, - { - "trigger": "RegisterScriptHookListener", - "annotation": "void RegisterScriptHookListener(string)", - "contents": "RegisterScriptHookListener(${1:string})$0", - "kind": "keyword", - "details": "Register as a listener for a script hook from script." - }, - { - "trigger": "ReleaseKeyValues", - "annotation": "void ReleaseKeyValues()", - "contents": "ReleaseKeyValues()$0", - "kind": "keyword", - "details": "Releases the contents of the instance." - }, - { - "trigger": "RemoveAllItems", - "annotation": "void RemoveAllItems(bool)", - "contents": "RemoveAllItems(${1:bool})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveAllObjects", - "annotation": "void RemoveAllObjects(bool)", - "contents": "RemoveAllObjects(${1:bool})$0", - "kind": "keyword", - "details": "Remove all player objects. Eg. dispensers/sentries." - }, - { - "trigger": "RemoveAttribute", - "annotation": "void RemoveAttribute(string)", - "contents": "RemoveAttribute(${1:string})$0", - "kind": "keyword", - "details": "Remove an attribute to the entity" - }, - { - "trigger": "RemoveAttributes", - "annotation": "void RemoveAttributes(int)", - "contents": "RemoveAttributes(${1:int})$0", - "kind": "keyword", - "details": "Removes area attribute bits" - }, - { - "trigger": "RemoveBotAttribute", - "annotation": "void RemoveBotAttribute(int)", - "contents": "RemoveBotAttribute(${1:int})$0", - "kind": "keyword", - "details": "Removes attribute flags on this TFBot" - }, - { - "trigger": "RemoveBotTag", - "annotation": "void RemoveBotTag(string)", - "contents": "RemoveBotTag(${1:string})$0", - "kind": "keyword", - "details": "Removes a bot tag" - }, - { - "trigger": "RemoveBroadcastTeamTarget", - "annotation": "void RemoveBroadcastTeamTarget(int)", - "contents": "RemoveBroadcastTeamTarget(${1:int})$0", - "kind": "keyword", - "details": "Removes a team (by index) from the broadcast list" - }, - { - "trigger": "RemoveCond", - "annotation": "void RemoveCond(ETFCond cond)", - "contents": "RemoveCond(${1:ETFCond cond})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveCondEx", - "annotation": "void RemoveCondEx(ETFCond cond, bool ignoreDuration)", - "contents": "RemoveCondEx(${1:ETFCond cond}, ${2:bool ignoreDuration})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveCurrency", - "annotation": "void RemoveCurrency(int)", - "contents": "RemoveCurrency(${1:int})$0", - "kind": "keyword", - "details": "Take away money from a player for reasons such as ie. spending." - }, - { - "trigger": "RemoveCustomAttribute", - "annotation": "void RemoveCustomAttribute(string)", - "contents": "RemoveCustomAttribute(${1:string})$0", - "kind": "keyword", - "details": "Remove a custom attribute to the player" - }, - { - "trigger": "RemoveDelegation", - "annotation": "RemoveDelegation()", - "contents": "RemoveDelegation()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveDisguise", - "annotation": "void RemoveDisguise()", - "contents": "RemoveDisguise()$0", - "kind": "keyword", - "details": "Undisguise a spy." - }, - { - "trigger": "RemoveEFlags", - "annotation": "void RemoveEFlags(int)", - "contents": "RemoveEFlags(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveFlag", - "annotation": "void RemoveFlag(int)", - "contents": "RemoveFlag(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveInvisibility", - "annotation": "void RemoveInvisibility()", - "contents": "RemoveInvisibility()$0", - "kind": "keyword", - "details": "Un-invisible a spy." - }, - { - "trigger": "RemoveOrthogonalConnections", - "annotation": "void RemoveOrthogonalConnections(int dir)", - "contents": "RemoveOrthogonalConnections(${1:int dir})$0", - "kind": "keyword", - "details": "Removes all connections in directions to left and right of specified direction" - }, - { - "trigger": "RemoveOutput", - "annotation": "void RemoveOutput(handle entity, string outputName, string targetName, string inputName, string parameter)", - "contents": "RemoveOutput(${1:handle entity}, ${2:string outputName}, ${3:string targetName}, ${4:string inputName}, ${5:string parameter})$0", - "kind": "keyword", - "details": "Removes an output from the entity." - }, - { - "trigger": "RemoveSolidFlags", - "annotation": "void RemoveSolidFlags(int)", - "contents": "RemoveSolidFlags(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveTeleportEffect", - "annotation": "void RemoveTeleportEffect()", - "contents": "RemoveTeleportEffect()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RemoveWeaponRestriction", - "annotation": "void RemoveWeaponRestriction(int)", - "contents": "RemoveWeaponRestriction(${1:int})$0", - "kind": "keyword", - "details": "Removes weapon restriction flags" - }, - { - "trigger": "Reset", - "annotation": "void Reset()", - "contents": "Reset()$0", - "kind": "keyword", - "details": "Resets the internal update state" - }, - { - "trigger": "ResetScores", - "annotation": "void ResetScores()", - "contents": "ResetScores()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ResetSequence", - "annotation": "void ResetSequence(int)", - "contents": "ResetSequence(${1:int})$0", - "kind": "keyword", - "details": "Reset a sequence by id. If the id is different than the current sequence, switch to the new sequence" - }, - { - "trigger": "Resolve", - "annotation": "Resolve()", - "contents": "Resolve()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RetrieveNativeSignature", - "annotation": "RetrieveNativeSignature()", - "contents": "RetrieveNativeSignature()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Roll", - "annotation": "Roll()", - "contents": "Roll()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RollRareSpell", - "annotation": "void RollRareSpell()", - "contents": "RollRareSpell()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "RotateOrientation", - "annotation": "QAngle RotateOrientation(QAngle, QAngle)", - "contents": "RotateOrientation(${1:QAngle}, ${2:QAngle})$0", - "kind": "keyword", - "details": "Rotate a QAngle by another QAngle." - }, - { - "trigger": "RotatePosition", - "annotation": "Vector RotatePosition(Vector origin, QAngle rotation, Vector input)", - "contents": "RotatePosition(${1:Vector origin}, ${2:QAngle rotation}, ${3:Vector input})$0", - "kind": "keyword", - "details": "Rotate the input Vector around an origin." - }, - { - "trigger": "Run", - "annotation": "void Run()", - "contents": "Run()$0", - "kind": "keyword", - "details": "Set desired movement speed to running" - }, - { - "trigger": "SOLID_BBOX", - "annotation": "SOLID_BBOX", - "contents": "SOLID_BBOX$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "SOLID_BSP", - "annotation": "SOLID_BSP", - "contents": "SOLID_BSP$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "SOLID_CUSTOM", - "annotation": "SOLID_CUSTOM", - "contents": "SOLID_CUSTOM$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "SOLID_LAST", - "annotation": "SOLID_LAST", - "contents": "SOLID_LAST$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "SOLID_NONE", - "annotation": "SOLID_NONE", - "contents": "SOLID_NONE$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "SOLID_OBB", - "annotation": "SOLID_OBB", - "contents": "SOLID_OBB$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "SOLID_OBB_YAW", - "annotation": "SOLID_OBB_YAW", - "contents": "SOLID_OBB_YAW$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "SOLID_VPHYSICS", - "annotation": "SOLID_VPHYSICS", - "contents": "SOLID_VPHYSICS$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "SOUTH", - "annotation": "SOUTH", - "contents": "SOUTH$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "SOUTH_EAST", - "annotation": "SOUTH_EAST", - "contents": "SOUTH_EAST$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "SOUTH_WEST", - "annotation": "SOUTH_WEST", - "contents": "SOUTH_WEST$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "SPAWN_WITH_FULL_CHARGE", - "annotation": "SPAWN_WITH_FULL_CHARGE", - "contents": "SPAWN_WITH_FULL_CHARGE$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "STOPWATCH_CAPTURE_TIME_NOT_SET", - "annotation": "STOPWATCH_CAPTURE_TIME_NOT_SET", - "contents": "STOPWATCH_CAPTURE_TIME_NOT_SET$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "STOPWATCH_OVERTIME", - "annotation": "STOPWATCH_OVERTIME", - "contents": "STOPWATCH_OVERTIME$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "STOPWATCH_RUNNING", - "annotation": "STOPWATCH_RUNNING", - "contents": "STOPWATCH_RUNNING$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "SUPPRESS_FIRE", - "annotation": "SUPPRESS_FIRE", - "contents": "SUPPRESS_FIRE$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "SURF_BUMPLIGHT", - "annotation": "SURF_BUMPLIGHT", - "contents": "SURF_BUMPLIGHT$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "SURF_HINT", - "annotation": "SURF_HINT", - "contents": "SURF_HINT$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "SURF_HITBOX", - "annotation": "SURF_HITBOX", - "contents": "SURF_HITBOX$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "SURF_LIGHT", - "annotation": "SURF_LIGHT", - "contents": "SURF_LIGHT$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "SURF_NOCHOP", - "annotation": "SURF_NOCHOP", - "contents": "SURF_NOCHOP$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "SURF_NODECALS", - "annotation": "SURF_NODECALS", - "contents": "SURF_NODECALS$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "SURF_NODRAW", - "annotation": "SURF_NODRAW", - "contents": "SURF_NODRAW$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "SURF_NOLIGHT", - "annotation": "SURF_NOLIGHT", - "contents": "SURF_NOLIGHT$0", - "kind": "keyword", - "details": "1024" - }, - { - "trigger": "SURF_NOPORTAL", - "annotation": "SURF_NOPORTAL", - "contents": "SURF_NOPORTAL$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "SURF_NOSHADOWS", - "annotation": "SURF_NOSHADOWS", - "contents": "SURF_NOSHADOWS$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "SURF_SKIP", - "annotation": "SURF_SKIP", - "contents": "SURF_SKIP$0", - "kind": "keyword", - "details": "512" - }, - { - "trigger": "SURF_SKY", - "annotation": "SURF_SKY", - "contents": "SURF_SKY$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "SURF_SKY2D", - "annotation": "SURF_SKY2D", - "contents": "SURF_SKY2D$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "SURF_TRANS", - "annotation": "SURF_TRANS", - "contents": "SURF_TRANS$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "SURF_TRIGGER", - "annotation": "SURF_TRIGGER", - "contents": "SURF_TRIGGER$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "SURF_WARP", - "annotation": "SURF_WARP", - "contents": "SURF_WARP$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "Say", - "annotation": "void Say(CBasePlayer player, string message, bool teamOnly)", - "contents": "Say(${1:CBasePlayer player}, ${2:string message}, ${3:bool teamOnly})$0", - "kind": "keyword", - "details": "Calling this will have the specified player send the message to chat, either to teamOnly (true) or to everyone." - }, - { - "trigger": "Scale", - "annotation": "Vector Scale(float factor)", - "contents": "Scale(${1:float factor})$0", - "kind": "keyword", - "details": "Scales the vector magnitude." - }, - { - "trigger": "ScreenFade", - "annotation": "void ScreenFade(handle player, int red, int green, int blue, int alpha, float fadeTime, float fadeHold, int flags)", - "contents": "ScreenFade(${1:handle player}, ${2:int red}, ${3:int green}, ${4:int blue}, ${5:int alpha}, ${6:float fadeTime}, ${7:float fadeHold}, ${8:int flags})$0", - "kind": "keyword", - "details": "Start a customisable screenfade." - }, - { - "trigger": "ScreenShake", - "annotation": "void ScreenShake(Vector vecCenter, float flAmplitude, float flFrequency, float flDuration, float flRadius, int eCommand, bool bAirShake)", - "contents": "ScreenShake(${1:Vector vecCenter}, ${2:float flAmplitude}, ${3:float flFrequency}, ${4:float flDuration}, ${5:float flRadius}, ${6:int eCommand}, ${7:bool bAirShake})$0", - "kind": "keyword", - "details": "Start a customisable screenshake; eCommand( SHAKE_START = 0, SHAKE_STOP = 1 )." - }, - { - "trigger": "ScriptDebugAddTextFilter", - "annotation": "void ScriptDebugAddTextFilter()", - "contents": "ScriptDebugAddTextFilter()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugAddTrace", - "annotation": "void ScriptDebugAddTrace()", - "contents": "ScriptDebugAddTrace()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugAddWatch", - "annotation": "void ScriptDebugAddWatch()", - "contents": "ScriptDebugAddWatch()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugAddWatchPattern", - "annotation": "void ScriptDebugAddWatchPattern()", - "contents": "ScriptDebugAddWatchPattern()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugAddWatches", - "annotation": "void ScriptDebugAddWatches()", - "contents": "ScriptDebugAddWatches()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugClearTraces", - "annotation": "void ScriptDebugClearTraces()", - "contents": "ScriptDebugClearTraces()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugClearWatches", - "annotation": "void ScriptDebugClearWatches()", - "contents": "ScriptDebugClearWatches()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugDefaultWatchColor", - "annotation": "void ScriptDebugDefaultWatchColor()", - "contents": "ScriptDebugDefaultWatchColor()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugDraw", - "annotation": "void ScriptDebugDraw()", - "contents": "ScriptDebugDraw()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugDrawTextEnabled", - "annotation": "ScriptDebugDrawTextEnabled", - "contents": "ScriptDebugDrawTextEnabled$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugDrawWatches", - "annotation": "void ScriptDebugDrawWatches()", - "contents": "ScriptDebugDrawWatches()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugDrawWatchesEnabled", - "annotation": "ScriptDebugDrawWatchesEnabled", - "contents": "ScriptDebugDrawWatchesEnabled$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugDumpKeys", - "annotation": "void ScriptDebugDumpKeys()", - "contents": "ScriptDebugDumpKeys()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugHook", - "annotation": "void ScriptDebugHook()", - "contents": "ScriptDebugHook()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugInDebugDraw", - "annotation": "ScriptDebugInDebugDraw", - "contents": "ScriptDebugInDebugDraw$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugIterateKeys", - "annotation": "void ScriptDebugIterateKeys()", - "contents": "ScriptDebugIterateKeys()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugIterateKeysRecursive", - "annotation": "void ScriptDebugIterateKeysRecursive()", - "contents": "ScriptDebugIterateKeysRecursive()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugRemoveTextFilter", - "annotation": "void ScriptDebugRemoveTextFilter()", - "contents": "ScriptDebugRemoveTextFilter()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugRemoveTrace", - "annotation": "void ScriptDebugRemoveTrace()", - "contents": "ScriptDebugRemoveTrace()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugRemoveWatch", - "annotation": "void ScriptDebugRemoveWatch()", - "contents": "ScriptDebugRemoveWatch()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugRemoveWatchPattern", - "annotation": "void ScriptDebugRemoveWatchPattern()", - "contents": "ScriptDebugRemoveWatchPattern()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugRemoveWatches", - "annotation": "void ScriptDebugRemoveWatches()", - "contents": "ScriptDebugRemoveWatches()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugText", - "annotation": "void ScriptDebugText()", - "contents": "ScriptDebugText()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTextDraw", - "annotation": "void ScriptDebugTextDraw()", - "contents": "ScriptDebugTextDraw()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTextFilters", - "annotation": "ScriptDebugTextFilters", - "contents": "ScriptDebugTextFilters$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTextIndent", - "annotation": "ScriptDebugTextIndent", - "contents": "ScriptDebugTextIndent$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTextPrint", - "annotation": "void ScriptDebugTextPrint()", - "contents": "ScriptDebugTextPrint()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTextTrace", - "annotation": "void ScriptDebugTextTrace()", - "contents": "ScriptDebugTextTrace()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTraceAll", - "annotation": "void ScriptDebugTraceAll()", - "contents": "ScriptDebugTraceAll()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTraceAllOn", - "annotation": "ScriptDebugTraceAllOn", - "contents": "ScriptDebugTraceAllOn$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugTraces", - "annotation": "ScriptDebugTraces", - "contents": "ScriptDebugTraces$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptDebugWatches", - "annotation": "void ScriptDebugWatches()", - "contents": "ScriptDebugWatches()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ScriptHooksEnabled", - "annotation": "bool ScriptHooksEnabled()", - "contents": "ScriptHooksEnabled()$0", - "kind": "keyword", - "details": "Returns whether script hooks are currently enabled." - }, - { - "trigger": "SecondaryAttack", - "annotation": "void SecondaryAttack()", - "contents": "SecondaryAttack()$0", - "kind": "keyword", - "details": "Force a secondary attack" - }, - { - "trigger": "SendGlobalGameEvent", - "annotation": "bool SendGlobalGameEvent(string, handle)", - "contents": "SendGlobalGameEvent(${1:string}, ${2:handle})$0", - "kind": "keyword", - "details": "Sends a real game event to everything. Parameters are passed in a squirrel table." - }, - { - "trigger": "SendToConsole", - "annotation": "void SendToConsole(string command)", - "contents": "SendToConsole(${1:string command})$0", - "kind": "keyword", - "details": "Send a string to the console as a command. Note: this obeys the behavior of the sv_allow_point_servercommand convar. By default, this command will do nothing unless the server has this command to set to \"always\"" - }, - { - "trigger": "SendToConsoleServer", - "annotation": "void SendToConsoleServer(string command)", - "contents": "SendToConsoleServer(${1:string command})$0", - "kind": "keyword", - "details": "Copy of SendToServerConsole with another name for compat." - }, - { - "trigger": "SendToServerConsole", - "annotation": "void SendToServerConsole(string command)", - "contents": "SendToServerConsole(${1:string command})$0", - "kind": "keyword", - "details": "Send a string that gets executed on the server as a ServerCommand." - }, - { - "trigger": "SetAbsAngles", - "annotation": "void SetAbsAngles(QAngle)", - "contents": "SetAbsAngles(${1:QAngle})$0", - "kind": "keyword", - "details": "Set entity pitch, yaw, roll as QAngles" - }, - { - "trigger": "SetAbsOrigin", - "annotation": "void SetAbsOrigin(Vector)", - "contents": "SetAbsOrigin(${1:Vector})$0", - "kind": "keyword", - "details": "SetAbsOrigin" - }, - { - "trigger": "SetAbsVelocity", - "annotation": "void SetAbsVelocity(Vector)", - "contents": "SetAbsVelocity(${1:Vector})$0", - "kind": "keyword", - "details": "Sets the current absolute velocity of the entity" - }, - { - "trigger": "SetAngles", - "annotation": "void SetAngles(float, float, float)", - "contents": "SetAngles(${1:float}, ${2:float}, ${3:float})$0", - "kind": "keyword", - "details": "Set entity pitch, yaw, roll." - }, - { - "trigger": "SetAngularVelocity", - "annotation": "void SetAngularVelocity(float, float, float)", - "contents": "SetAngularVelocity(${1:float}, ${2:float}, ${3:float})$0", - "kind": "keyword", - "details": "Set the local angular velocity - takes float pitch,yaw,roll velocities" - }, - { - "trigger": "SetAttentionFocus", - "annotation": "void SetAttentionFocus(handle)", - "contents": "SetAttentionFocus(${1:handle})$0", - "kind": "keyword", - "details": "Sets our current attention focus to this entity" - }, - { - "trigger": "SetAttributeTF", - "annotation": "void SetAttributeTF(int)", - "contents": "SetAttributeTF(${1:int})$0", - "kind": "keyword", - "details": "Set TF-specific area attributes" - }, - { - "trigger": "SetAttributes", - "annotation": "void SetAttributes(int)", - "contents": "SetAttributes(${1:int})$0", - "kind": "keyword", - "details": "Set area attribute bits" - }, - { - "trigger": "SetAutoJump", - "annotation": "void SetAutoJump(float, float)", - "contents": "SetAutoJump(${1:float}, ${2:float})$0", - "kind": "keyword", - "details": "Sets if the bot should automatically jump" - }, - { - "trigger": "SetBodygroup", - "annotation": "void SetBodygroup(int, int)", - "contents": "SetBodygroup(${1:int}, ${2:int})$0", - "kind": "keyword", - "details": "Sets a bodygroup" - }, - { - "trigger": "SetClip1", - "annotation": "void SetClip1(int)", - "contents": "SetClip1(${1:int})$0", - "kind": "keyword", - "details": "Set current ammo in clip1" - }, - { - "trigger": "SetClip2", - "annotation": "void SetClip2(int)", - "contents": "SetClip2(${1:int})$0", - "kind": "keyword", - "details": "Set current ammo in clip2" - }, - { - "trigger": "SetCollisionGroup", - "annotation": "void SetCollisionGroup(int)", - "contents": "SetCollisionGroup(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCondDuration", - "annotation": "void SetCondDuration(ETFCond cond, float duration)", - "contents": "SetCondDuration(${1:ETFCond cond}, ${2:float duration})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCurrency", - "annotation": "void SetCurrency(int)", - "contents": "SetCurrency(${1:int})$0", - "kind": "keyword", - "details": "Set player's cash for game modes with upgrades, ie. MvM" - }, - { - "trigger": "SetCurrentTauntMoveSpeed", - "annotation": "void SetCurrentTauntMoveSpeed(float)", - "contents": "SetCurrentTauntMoveSpeed(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCustomModel", - "annotation": "void SetCustomModel(string)", - "contents": "SetCustomModel(${1:string})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCustomModelOffset", - "annotation": "void SetCustomModelOffset(Vector)", - "contents": "SetCustomModelOffset(${1:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCustomModelRotates", - "annotation": "void SetCustomModelRotates(bool)", - "contents": "SetCustomModelRotates(${1:bool})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCustomModelRotation", - "annotation": "void SetCustomModelRotation(QAngle)", - "contents": "SetCustomModelRotation(${1:QAngle})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCustomModelVisibleToSelf", - "annotation": "void SetCustomModelVisibleToSelf(bool)", - "contents": "SetCustomModelVisibleToSelf(${1:bool})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCustomModelWithClassAnimations", - "annotation": "void SetCustomModelWithClassAnimations(string)", - "contents": "SetCustomModelWithClassAnimations(${1:string})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetCustomViewModel", - "annotation": "void SetCustomViewModel(string)", - "contents": "SetCustomViewModel(${1:string})$0", - "kind": "keyword", - "details": "Sets a custom view model for this weapon by model name" - }, - { - "trigger": "SetCustomViewModelModelIndex", - "annotation": "void SetCustomViewModelModelIndex(int)", - "contents": "SetCustomViewModelModelIndex(${1:int})$0", - "kind": "keyword", - "details": "Sets a custom view model for this weapon by modelindex" - }, - { - "trigger": "SetCycle", - "annotation": "void SetCycle(float)", - "contents": "SetCycle(${1:float})$0", - "kind": "keyword", - "details": "Sets the models current cycle" - }, - { - "trigger": "SetDesiredSpeed", - "annotation": "void SetDesiredSpeed(float)", - "contents": "SetDesiredSpeed(${1:float})$0", - "kind": "keyword", - "details": "Set desired speed for locomotor movement" - }, - { - "trigger": "SetDifficulty", - "annotation": "void SetDifficulty(int)", - "contents": "SetDifficulty(${1:int})$0", - "kind": "keyword", - "details": "Sets the bots difficulty level" - }, - { - "trigger": "SetDisguiseAmmoCount", - "annotation": "void SetDisguiseAmmoCount(int)", - "contents": "SetDisguiseAmmoCount(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetDrawEnabled", - "annotation": "void SetDrawEnabled(bool)", - "contents": "SetDrawEnabled(${1:bool})$0", - "kind": "keyword", - "details": "Enables drawing if you pass true, disables drawing if you pass false." - }, - { - "trigger": "SetEFlags", - "annotation": "void SetEFlags(int)", - "contents": "SetEFlags(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetFakeClientConVarValue", - "annotation": "void SetFakeClientConVarValue(handle bot, string cvar, string value)", - "contents": "SetFakeClientConVarValue(${1:handle bot}, ${2:string cvar}, ${3:string value})$0", - "kind": "keyword", - "details": "Sets a USERINFO client ConVar for a fakeclient." - }, - { - "trigger": "SetForceLocalDraw", - "annotation": "void SetForceLocalDraw(bool)", - "contents": "SetForceLocalDraw(${1:bool})$0", - "kind": "keyword", - "details": "Forces the player to be drawn as if they are third person" - }, - { - "trigger": "SetForcedTauntCam", - "annotation": "void SetForcedTauntCam(int)", - "contents": "SetForcedTauntCam(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetForwardVector", - "annotation": "void SetForwardVector(Vector)", - "contents": "SetForwardVector(${1:Vector})$0", - "kind": "keyword", - "details": "Set the orientation of the entity to have this forward vector" - }, - { - "trigger": "SetFriction", - "annotation": "void SetFriction(float)", - "contents": "SetFriction(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetGrapplingHookTarget", - "annotation": "void SetGrapplingHookTarget(handle, bool)", - "contents": "SetGrapplingHookTarget(${1:handle}, ${2:bool})$0", - "kind": "keyword", - "details": "Set the player's target grapple entity" - }, - { - "trigger": "SetGravity", - "annotation": "void SetGravity(float)", - "contents": "SetGravity(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetGravityMultiplier", - "annotation": "void SetGravityMultiplier(float multiplier)", - "contents": "SetGravityMultiplier(${1:float multiplier})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetGroupSpawnTables", - "annotation": "void SetGroupSpawnTables(handle, handle)", - "contents": "SetGroupSpawnTables(${1:handle}, ${2:handle})$0", - "kind": "keyword", - "details": "Cache the group spawn tables" - }, - { - "trigger": "SetHealth", - "annotation": "void SetHealth(int)", - "contents": "SetHealth(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetHomeArea", - "annotation": "void SetHomeArea(handle)", - "contents": "SetHomeArea(${1:handle})$0", - "kind": "keyword", - "details": "Returns the home nav area of the bot -- may be nil." - }, - { - "trigger": "SetIsMiniBoss", - "annotation": "void SetIsMiniBoss(bool)", - "contents": "SetIsMiniBoss(${1:bool})$0", - "kind": "keyword", - "details": "Make this player an MvM mini-boss." - }, - { - "trigger": "SetLocalAngles", - "annotation": "void SetLocalAngles(QAngle)", - "contents": "SetLocalAngles(${1:QAngle})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetLocalOrigin", - "annotation": "void SetLocalOrigin(Vector)", - "contents": "SetLocalOrigin(${1:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetMannVsMachineAlarmStatus", - "annotation": "void SetMannVsMachineAlarmStatus(bool status)", - "contents": "SetMannVsMachineAlarmStatus(${1:bool status})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetMaxHealth", - "annotation": "void SetMaxHealth(int)", - "contents": "SetMaxHealth(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetMaxVisionRangeOverride", - "annotation": "void SetMaxVisionRangeOverride(float)", - "contents": "SetMaxVisionRangeOverride(${1:float})$0", - "kind": "keyword", - "details": "Sets max vision range override for the bot" - }, - { - "trigger": "SetModel", - "annotation": "void SetModel(string)", - "contents": "SetModel(${1:string})$0", - "kind": "keyword", - "details": "Set a model for this entity" - }, - { - "trigger": "SetModelScale", - "annotation": "void SetModelScale(float, float)", - "contents": "SetModelScale(${1:float}, ${2:float})$0", - "kind": "keyword", - "details": "(scale, change_duration) Changes a model's scale over time" - }, - { - "trigger": "SetModelSimple", - "annotation": "void SetModelSimple(string)", - "contents": "SetModelSimple(${1:string})$0", - "kind": "keyword", - "details": "Set a model for this entity. Matches easier behaviour of the SetModel input, automatically precaches, maintains sequence/cycle if possible." - }, - { - "trigger": "SetMoveType", - "annotation": "void SetMoveType(EMoveType movetype, EMoveCollide movecollide)", - "contents": "SetMoveType(${1:EMoveType movetype}, ${2:EMoveCollide movecollide})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetNextChangeClassTime", - "annotation": "void SetNextChangeClassTime(float)", - "contents": "SetNextChangeClassTime(${1:float})$0", - "kind": "keyword", - "details": "Set next change class time." - }, - { - "trigger": "SetNextChangeTeamTime", - "annotation": "void SetNextChangeTeamTime(float)", - "contents": "SetNextChangeTeamTime(${1:float})$0", - "kind": "keyword", - "details": "Set next change team time." - }, - { - "trigger": "SetNextRegenTime", - "annotation": "void SetNextRegenTime(float)", - "contents": "SetNextRegenTime(${1:float})$0", - "kind": "keyword", - "details": "Set next health regen time." - }, - { - "trigger": "SetOrigin", - "annotation": "void SetOrigin(Vector)", - "contents": "SetOrigin(${1:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetOvertimeAllowedForCTF", - "annotation": "void SetOvertimeAllowedForCTF(bool state)", - "contents": "SetOvertimeAllowedForCTF(${1:bool state})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetOwner", - "annotation": "void SetOwner(handle)", - "contents": "SetOwner(${1:handle})$0", - "kind": "keyword", - "details": "Sets this entity's owner" - }, - { - "trigger": "SetPhysAngularVelocity", - "annotation": "void SetPhysAngularVelocity(Vector)", - "contents": "SetPhysAngularVelocity(${1:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetPhysVelocity", - "annotation": "void SetPhysVelocity(Vector)", - "contents": "SetPhysVelocity(${1:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetPitchYawRoll", - "annotation": "void SetPitchYawRoll(float pitch, float yaw, float roll)", - "contents": "SetPitchYawRoll(${1:float pitch}, ${2:float yaw}, ${3:float roll})$0", - "kind": "keyword", - "details": "Recomputes the quaternion from the supplied Euler angles." - }, - { - "trigger": "SetPlaceName", - "annotation": "void SetPlaceName(string name)", - "contents": "SetPlaceName(${1:string name})$0", - "kind": "keyword", - "details": "Set place name" - }, - { - "trigger": "SetPlaybackRate", - "annotation": "void SetPlaybackRate(float)", - "contents": "SetPlaybackRate(${1:float})$0", - "kind": "keyword", - "details": "Set the current playback rate." - }, - { - "trigger": "SetPlayerClass", - "annotation": "void SetPlayerClass(int)", - "contents": "SetPlayerClass(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetPlayersInHell", - "annotation": "void SetPlayersInHell(bool state)", - "contents": "SetPlayersInHell(${1:bool state})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetPoseParameter", - "annotation": "float SetPoseParameter(int, float)", - "contents": "SetPoseParameter(${1:int}, ${2:float})$0", - "kind": "keyword", - "details": "(id, value) Sets a pose parameter value" - }, - { - "trigger": "SetPropBool", - "annotation": "void SetPropBool(handle entity, string propertyName, bool value)", - "contents": "SetPropBool(${1:handle entity}, ${2:string propertyName}, ${3:bool value})$0", - "kind": "keyword", - "details": "Sets a netprop to the specified boolean." - }, - { - "trigger": "SetPropBoolArray", - "annotation": "void SetPropBoolArray(handle entity, string propertyName, bool value, int arrayElement)", - "contents": "SetPropBoolArray(${1:handle entity}, ${2:string propertyName}, ${3:bool value}, ${4:int arrayElement})$0", - "kind": "keyword", - "details": "Sets a netprop from an array to the specified boolean." - }, - { - "trigger": "SetPropEntity", - "annotation": "void SetPropEntity(handle entity, string propertyName, handle value)", - "contents": "SetPropEntity(${1:handle entity}, ${2:string propertyName}, ${3:handle value})$0", - "kind": "keyword", - "details": "Sets an EHANDLE-valued netprop (21 bit integer) to reference the specified entity." - }, - { - "trigger": "SetPropEntityArray", - "annotation": "void SetPropEntityArray(handle entity, string propertyName, handle value, int arrayElement)", - "contents": "SetPropEntityArray(${1:handle entity}, ${2:string propertyName}, ${3:handle value}, ${4:int arrayElement})$0", - "kind": "keyword", - "details": "Sets an EHANDLE-valued netprop (21 bit integer) from an array to reference the specified entity." - }, - { - "trigger": "SetPropFloat", - "annotation": "void SetPropFloat(handle entity, string propertyName, float value)", - "contents": "SetPropFloat(${1:handle entity}, ${2:string propertyName}, ${3:float value})$0", - "kind": "keyword", - "details": "Sets a netprop to the specified float." - }, - { - "trigger": "SetPropFloatArray", - "annotation": "void SetPropFloatArray(handle entity, string propertyName, float value, int arrayElement)", - "contents": "SetPropFloatArray(${1:handle entity}, ${2:string propertyName}, ${3:float value}, ${4:int arrayElement})$0", - "kind": "keyword", - "details": "Sets a netprop from an array to the specified float." - }, - { - "trigger": "SetPropInt", - "annotation": "void SetPropInt(handle entity, string propertyName, int value)", - "contents": "SetPropInt(${1:handle entity}, ${2:string propertyName}, ${3:int value})$0", - "kind": "keyword", - "details": "Sets a netprop to the specified integer." - }, - { - "trigger": "SetPropInt", - "annotation": "void SetPropInt(handle entity, string propertyName, int value, int arrayElement)", - "contents": "SetPropInt(${1:handle entity}, ${2:string propertyName}, ${3:int value}, ${4:int arrayElement})$0", - "kind": "keyword", - "details": "Sets a netprop from an array to the specified integer." - }, - { - "trigger": "SetPropString", - "annotation": "void SetPropString(handle entity, string propertyName, string value)", - "contents": "SetPropString(${1:handle entity}, ${2:string propertyName}, ${3:string value})$0", - "kind": "keyword", - "details": "Sets a netprop to the specified string." - }, - { - "trigger": "SetPropStringArray", - "annotation": "void SetPropStringArray(handle entity, string propertyName, string value, int arrayElement)", - "contents": "SetPropStringArray(${1:handle entity}, ${2:string propertyName}, ${3:string value}, ${4:int arrayElement})$0", - "kind": "keyword", - "details": "Sets a netprop from an array to the specified string." - }, - { - "trigger": "SetPropVector", - "annotation": "void SetPropVector(handle entity, string propertyName, Vector value)", - "contents": "SetPropVector(${1:handle entity}, ${2:string propertyName}, ${3:Vector value})$0", - "kind": "keyword", - "details": "Sets a netprop to the specified vector." - }, - { - "trigger": "SetPropVectorArray", - "annotation": "void SetPropVectorArray(handle entity, string propertyName, Vector value, int arrayElement)", - "contents": "SetPropVectorArray(${1:handle entity}, ${2:string propertyName}, ${3:Vector value}, ${4:int arrayElement})$0", - "kind": "keyword", - "details": "Sets a netprop from an array to the specified vector." - }, - { - "trigger": "SetRageMeter", - "annotation": "void SetRageMeter(float)", - "contents": "SetRageMeter(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetScaleOverride", - "annotation": "void SetScaleOverride(float)", - "contents": "SetScaleOverride(${1:float})$0", - "kind": "keyword", - "details": "Sets the scale override for the bot" - }, - { - "trigger": "SetScoutHypeMeter", - "annotation": "void SetScoutHypeMeter(float)", - "contents": "SetScoutHypeMeter(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetScriptOverlayMaterial", - "annotation": "void SetScriptOverlayMaterial(string)", - "contents": "SetScriptOverlayMaterial(${1:string})$0", - "kind": "keyword", - "details": " Sets a view overlay material" - }, - { - "trigger": "SetSequence", - "annotation": "void SetSequence(int)", - "contents": "SetSequence(${1:int})$0", - "kind": "keyword", - "details": "Set a sequence by id" - }, - { - "trigger": "SetShouldQuickBuild", - "annotation": "void SetShouldQuickBuild(bool)", - "contents": "SetShouldQuickBuild(${1:bool})$0", - "kind": "keyword", - "details": "Sets if the bot should build instantly" - }, - { - "trigger": "SetSize", - "annotation": "void SetSize(Vector, Vector)", - "contents": "SetSize(${1:Vector}, ${2:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetSkin", - "annotation": "void SetSkin(int)", - "contents": "SetSkin(${1:int})$0", - "kind": "keyword", - "details": "Sets the skin." - }, - { - "trigger": "SetSkyboxTexture", - "annotation": "void SetSkyboxTexture(string)", - "contents": "SetSkyboxTexture(${1:string})$0", - "kind": "keyword", - "details": "Sets the current skybox texture" - }, - { - "trigger": "SetSolid", - "annotation": "SetSolid(int)", - "contents": "SetSolid(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetSolidFlags", - "annotation": "SetSolidFlags(int)", - "contents": "SetSolidFlags(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetSpeedLimit", - "annotation": "void SetSpeedLimit(float)", - "contents": "SetSpeedLimit(${1:float})$0", - "kind": "keyword", - "details": "Set maximum speed bot can reach, regardless of desired speed" - }, - { - "trigger": "SetSpyCloakMeter", - "annotation": "void SetSpyCloakMeter(float)", - "contents": "SetSpyCloakMeter(${1:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetSquadFormationError", - "annotation": "void SetSquadFormationError(float)", - "contents": "SetSquadFormationError(${1:float})$0", - "kind": "keyword", - "details": "Sets our formation error coefficient." - }, - { - "trigger": "SetSubType", - "annotation": "void SetSubType(int)", - "contents": "SetSubType(${1:int})$0", - "kind": "keyword", - "details": "Set the weapon subtype" - }, - { - "trigger": "SetTeam", - "annotation": "void SetTeam(int)", - "contents": "SetTeam(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetUseBossHealthBar", - "annotation": "void SetUseBossHealthBar(bool)", - "contents": "SetUseBossHealthBar(${1:bool})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetUsingSpells", - "annotation": "void SetUsingSpells(bool state)", - "contents": "SetUsingSpells(${1:bool state})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetValue", - "annotation": "void SetValue(string name, value)", - "contents": "SetValue(${1:string name}, ${2:value})$0", - "kind": "keyword", - "details": "Sets the value of the convar. The convar must be in cfg/vscript_convar_allowlist.txt to be set. Convars marked as cheat-only can be set even if sv_cheats is off. Supported types are bool, int, float, string." - }, - { - "trigger": "SetVelocity", - "annotation": "void SetVelocity(Vector)", - "contents": "SetVelocity(${1:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetWaterLevel", - "annotation": "SetWaterLevel(int)", - "contents": "SetWaterLevel(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "SetWaterType", - "annotation": "SetWaterType(int)", - "contents": "SetWaterType(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ShouldAutoJump", - "annotation": "bool ShouldAutoJump()", - "contents": "ShouldAutoJump()$0", - "kind": "keyword", - "details": "Returns if the bot should automatically jump" - }, - { - "trigger": "ShouldQuickBuild", - "annotation": "bool ShouldQuickBuild()", - "contents": "ShouldQuickBuild()$0", - "kind": "keyword", - "details": "Returns if the bot should build instantly" - }, - { - "trigger": "ShowMessage", - "annotation": "void ShowMessage(string message)", - "contents": "ShowMessage(${1:string message})$0", - "kind": "keyword", - "details": "Print a hud message on all clients" - }, - { - "trigger": "SnapEyeAngles", - "annotation": "void SnapEyeAngles(QAngle)", - "contents": "SnapEyeAngles(${1:QAngle})$0", - "kind": "keyword", - "details": "Snap the player's eye angles to this." - }, - { - "trigger": "SpawnEntity", - "annotation": "void SpawnEntity()", - "contents": "SpawnEntity()$0", - "kind": "keyword", - "details": "Create an entity at the location of the maker" - }, - { - "trigger": "SpawnEntityAtEntityOrigin", - "annotation": "void SpawnEntityAtEntityOrigin(handle)", - "contents": "SpawnEntityAtEntityOrigin(${1:handle})$0", - "kind": "keyword", - "details": "Create an entity at the location of a specified entity instance" - }, - { - "trigger": "SpawnEntityAtLocation", - "annotation": "void SpawnEntityAtLocation(Vector, Vector)", - "contents": "SpawnEntityAtLocation(${1:Vector}, ${2:Vector})$0", - "kind": "keyword", - "details": "Create an entity at a specified location and orientaton, orientation is Euler angle in degrees (pitch, yaw, roll)" - }, - { - "trigger": "SpawnEntityAtNamedEntityOrigin", - "annotation": "void SpawnEntityAtNamedEntityOrigin(string)", - "contents": "SpawnEntityAtNamedEntityOrigin(${1:string})$0", - "kind": "keyword", - "details": "Create an entity at the location of a named entity" - }, - { - "trigger": "SpawnEntityFromTable", - "annotation": "handle SpawnEntityFromTable(string name, handle keyvalues)", - "contents": "SpawnEntityFromTable(${1:string name}, ${2:handle keyvalues})$0", - "kind": "keyword", - "details": "Spawn entity from KeyValues in table - 'name' is entity name, rest are KeyValues for spawn." - }, - { - "trigger": "SpawnEntityGroupFromTable", - "annotation": "bool SpawnEntityGroupFromTable(handle entityGroup)", - "contents": "SpawnEntityGroupFromTable(${1:handle entityGroup})$0", - "kind": "keyword", - "details": "Hierarchically spawn an entity group from a set of spawn tables. See L4D2_EMS/Appendix:_Spawning." - }, - { - "trigger": "Sqrt2", - "annotation": "Sqrt2", - "contents": "Sqrt2$0", - "kind": "keyword", - "details": "1.41421" - }, - { - "trigger": "Sqrt3", - "annotation": "Sqrt3", - "contents": "Sqrt3$0", - "kind": "keyword", - "details": "1.73205" - }, - { - "trigger": "Stop", - "annotation": "void Stop()", - "contents": "Stop()$0", - "kind": "keyword", - "details": "Set desired movement speed to stopped" - }, - { - "trigger": "StopAmbientSoundOn", - "annotation": "void StopAmbientSoundOn(string soundName, handle entity)", - "contents": "StopAmbientSoundOn(${1:string soundName}, ${2:handle entity})$0", - "kind": "keyword", - "details": "Stop named sound on an entity using configurations similar to ambient_generic." - }, - { - "trigger": "StopAnimation", - "annotation": "void StopAnimation()", - "contents": "StopAnimation()$0", - "kind": "keyword", - "details": "Stop the current animation (same as SetPlaybackRate 0.0)" - }, - { - "trigger": "StopSound", - "annotation": "void StopSound(string)", - "contents": "StopSound(${1:string})$0", - "kind": "keyword", - "details": "Stops a sound on this entity." - }, - { - "trigger": "StopSoundOn", - "annotation": "void StopSoundOn(string soundScript, handle entity)", - "contents": "StopSoundOn(${1:string soundScript}, ${2:handle entity})$0", - "kind": "keyword", - "details": "Stop named sound on an entity." - }, - { - "trigger": "StringToFile", - "annotation": "void StringToFile(string file, string string)", - "contents": "StringToFile(${1:string file}, ${2:string string})$0", - "kind": "keyword", - "details": "Stores a string as a file." - }, - { - "trigger": "StudioFrameAdvance", - "annotation": "void StudioFrameAdvance()", - "contents": "StudioFrameAdvance()$0", - "kind": "keyword", - "details": "Advance animation frame to some time in the future with an automatically calculated interval" - }, - { - "trigger": "StudioFrameAdvanceManual", - "annotation": "void StudioFrameAdvanceManual(float)", - "contents": "StudioFrameAdvanceManual(${1:float})$0", - "kind": "keyword", - "details": "Advance animation frame to some time in the future with a manual interval" - }, - { - "trigger": "TEAM_ANY", - "annotation": "TEAM_ANY", - "contents": "TEAM_ANY$0", - "kind": "keyword", - "details": "-1" - }, - { - "trigger": "TEAM_INVALID", - "annotation": "TEAM_INVALID", - "contents": "TEAM_INVALID$0", - "kind": "keyword", - "details": "-1" - }, - { - "trigger": "TEAM_SPECTATOR", - "annotation": "TEAM_SPECTATOR", - "contents": "TEAM_SPECTATOR$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "TEAM_UNASSIGNED", - "annotation": "TEAM_UNASSIGNED", - "contents": "TEAM_UNASSIGNED$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "TELEPORT_TO_HINT", - "annotation": "TELEPORT_TO_HINT", - "contents": "TELEPORT_TO_HINT$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "TFMark", - "annotation": "void TFMark()", - "contents": "TFMark()$0", - "kind": "keyword", - "details": "Mark this nav area with the current marking scope." - }, - { - "trigger": "TF_CLASS_CIVILIAN", - "annotation": "TF_CLASS_CIVILIAN", - "contents": "TF_CLASS_CIVILIAN$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "TF_CLASS_COUNT_ALL", - "annotation": "TF_CLASS_COUNT_ALL", - "contents": "TF_CLASS_COUNT_ALL$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "TF_CLASS_DEMOMAN", - "annotation": "TF_CLASS_DEMOMAN", - "contents": "TF_CLASS_DEMOMAN$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "TF_CLASS_ENGINEER", - "annotation": "TF_CLASS_ENGINEER", - "contents": "TF_CLASS_ENGINEER$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "TF_CLASS_HEAVYWEAPONS", - "annotation": "TF_CLASS_HEAVYWEAPONS", - "contents": "TF_CLASS_HEAVYWEAPONS$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "TF_CLASS_MEDIC", - "annotation": "TF_CLASS_MEDIC", - "contents": "TF_CLASS_MEDIC$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "TF_CLASS_PYRO", - "annotation": "TF_CLASS_PYRO", - "contents": "TF_CLASS_PYRO$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "TF_CLASS_RANDOM", - "annotation": "TF_CLASS_RANDOM", - "contents": "TF_CLASS_RANDOM$0", - "kind": "keyword", - "details": "12" - }, - { - "trigger": "TF_CLASS_SCOUT", - "annotation": "TF_CLASS_SCOUT", - "contents": "TF_CLASS_SCOUT$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "TF_CLASS_SNIPER", - "annotation": "TF_CLASS_SNIPER", - "contents": "TF_CLASS_SNIPER$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "TF_CLASS_SOLDIER", - "annotation": "TF_CLASS_SOLDIER", - "contents": "TF_CLASS_SOLDIER$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "TF_CLASS_SPY", - "annotation": "TF_CLASS_SPY", - "contents": "TF_CLASS_SPY$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "TF_CLASS_UNDEFINED", - "annotation": "TF_CLASS_UNDEFINED", - "contents": "TF_CLASS_UNDEFINED$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "TF_COND_AFTERBURN_IMMUNE", - "annotation": "TF_COND_AFTERBURN_IMMUNE", - "contents": "TF_COND_AFTERBURN_IMMUNE$0", - "kind": "keyword", - "details": "102" - }, - { - "trigger": "TF_COND_AIMING", - "annotation": "TF_COND_AIMING", - "contents": "TF_COND_AIMING$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "TF_COND_AIR_CURRENT", - "annotation": "TF_COND_AIR_CURRENT", - "contents": "TF_COND_AIR_CURRENT$0", - "kind": "keyword", - "details": "127" - }, - { - "trigger": "TF_COND_BALLOON_HEAD", - "annotation": "TF_COND_BALLOON_HEAD", - "contents": "TF_COND_BALLOON_HEAD$0", - "kind": "keyword", - "details": "84" - }, - { - "trigger": "TF_COND_BLASTJUMPING", - "annotation": "TF_COND_BLASTJUMPING", - "contents": "TF_COND_BLASTJUMPING$0", - "kind": "keyword", - "details": "81" - }, - { - "trigger": "TF_COND_BLAST_IMMUNE", - "annotation": "TF_COND_BLAST_IMMUNE", - "contents": "TF_COND_BLAST_IMMUNE$0", - "kind": "keyword", - "details": "68" - }, - { - "trigger": "TF_COND_BLEEDING", - "annotation": "TF_COND_BLEEDING", - "contents": "TF_COND_BLEEDING$0", - "kind": "keyword", - "details": "25" - }, - { - "trigger": "TF_COND_BULLET_IMMUNE", - "annotation": "TF_COND_BULLET_IMMUNE", - "contents": "TF_COND_BULLET_IMMUNE$0", - "kind": "keyword", - "details": "67" - }, - { - "trigger": "TF_COND_BURNING", - "annotation": "TF_COND_BURNING", - "contents": "TF_COND_BURNING$0", - "kind": "keyword", - "details": "22" - }, - { - "trigger": "TF_COND_BURNING_PYRO", - "annotation": "TF_COND_BURNING_PYRO", - "contents": "TF_COND_BURNING_PYRO$0", - "kind": "keyword", - "details": "124" - }, - { - "trigger": "TF_COND_CANNOT_SWITCH_FROM_MELEE", - "annotation": "TF_COND_CANNOT_SWITCH_FROM_MELEE", - "contents": "TF_COND_CANNOT_SWITCH_FROM_MELEE$0", - "kind": "keyword", - "details": "41" - }, - { - "trigger": "TF_COND_COMPETITIVE_LOSER", - "annotation": "TF_COND_COMPETITIVE_LOSER", - "contents": "TF_COND_COMPETITIVE_LOSER$0", - "kind": "keyword", - "details": "117" - }, - { - "trigger": "TF_COND_COMPETITIVE_WINNER", - "annotation": "TF_COND_COMPETITIVE_WINNER", - "contents": "TF_COND_COMPETITIVE_WINNER$0", - "kind": "keyword", - "details": "116" - }, - { - "trigger": "TF_COND_CRITBOOSTED", - "annotation": "TF_COND_CRITBOOSTED", - "contents": "TF_COND_CRITBOOSTED$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "TF_COND_CRITBOOSTED_BONUS_TIME", - "annotation": "TF_COND_CRITBOOSTED_BONUS_TIME", - "contents": "TF_COND_CRITBOOSTED_BONUS_TIME$0", - "kind": "keyword", - "details": "38" - }, - { - "trigger": "TF_COND_CRITBOOSTED_CARD_EFFECT", - "annotation": "TF_COND_CRITBOOSTED_CARD_EFFECT", - "contents": "TF_COND_CRITBOOSTED_CARD_EFFECT$0", - "kind": "keyword", - "details": "56" - }, - { - "trigger": "TF_COND_CRITBOOSTED_CTF_CAPTURE", - "annotation": "TF_COND_CRITBOOSTED_CTF_CAPTURE", - "contents": "TF_COND_CRITBOOSTED_CTF_CAPTURE$0", - "kind": "keyword", - "details": "39" - }, - { - "trigger": "TF_COND_CRITBOOSTED_DEMO_CHARGE", - "annotation": "TF_COND_CRITBOOSTED_DEMO_CHARGE", - "contents": "TF_COND_CRITBOOSTED_DEMO_CHARGE$0", - "kind": "keyword", - "details": "35" - }, - { - "trigger": "TF_COND_CRITBOOSTED_FIRST_BLOOD", - "annotation": "TF_COND_CRITBOOSTED_FIRST_BLOOD", - "contents": "TF_COND_CRITBOOSTED_FIRST_BLOOD$0", - "kind": "keyword", - "details": "37" - }, - { - "trigger": "TF_COND_CRITBOOSTED_ON_KILL", - "annotation": "TF_COND_CRITBOOSTED_ON_KILL", - "contents": "TF_COND_CRITBOOSTED_ON_KILL$0", - "kind": "keyword", - "details": "40" - }, - { - "trigger": "TF_COND_CRITBOOSTED_PUMPKIN", - "annotation": "TF_COND_CRITBOOSTED_PUMPKIN", - "contents": "TF_COND_CRITBOOSTED_PUMPKIN$0", - "kind": "keyword", - "details": "33" - }, - { - "trigger": "TF_COND_CRITBOOSTED_RAGE_BUFF", - "annotation": "TF_COND_CRITBOOSTED_RAGE_BUFF", - "contents": "TF_COND_CRITBOOSTED_RAGE_BUFF$0", - "kind": "keyword", - "details": "44" - }, - { - "trigger": "TF_COND_CRITBOOSTED_RUNE_TEMP", - "annotation": "TF_COND_CRITBOOSTED_RUNE_TEMP", - "contents": "TF_COND_CRITBOOSTED_RUNE_TEMP$0", - "kind": "keyword", - "details": "105" - }, - { - "trigger": "TF_COND_CRITBOOSTED_USER_BUFF", - "annotation": "TF_COND_CRITBOOSTED_USER_BUFF", - "contents": "TF_COND_CRITBOOSTED_USER_BUFF$0", - "kind": "keyword", - "details": "34" - }, - { - "trigger": "TF_COND_DEFENSEBUFF", - "annotation": "TF_COND_DEFENSEBUFF", - "contents": "TF_COND_DEFENSEBUFF$0", - "kind": "keyword", - "details": "26" - }, - { - "trigger": "TF_COND_DEFENSEBUFF_HIGH", - "annotation": "TF_COND_DEFENSEBUFF_HIGH", - "contents": "TF_COND_DEFENSEBUFF_HIGH$0", - "kind": "keyword", - "details": "45" - }, - { - "trigger": "TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK", - "annotation": "TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK", - "contents": "TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK$0", - "kind": "keyword", - "details": "42" - }, - { - "trigger": "TF_COND_DEMO_BUFF", - "annotation": "TF_COND_DEMO_BUFF", - "contents": "TF_COND_DEMO_BUFF$0", - "kind": "keyword", - "details": "18" - }, - { - "trigger": "TF_COND_DISGUISED", - "annotation": "TF_COND_DISGUISED", - "contents": "TF_COND_DISGUISED$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "TF_COND_DISGUISED_AS_DISPENSER", - "annotation": "TF_COND_DISGUISED_AS_DISPENSER", - "contents": "TF_COND_DISGUISED_AS_DISPENSER$0", - "kind": "keyword", - "details": "49" - }, - { - "trigger": "TF_COND_DISGUISE_WEARINGOFF", - "annotation": "TF_COND_DISGUISE_WEARINGOFF", - "contents": "TF_COND_DISGUISE_WEARINGOFF$0", - "kind": "keyword", - "details": "47" - }, - { - "trigger": "TF_COND_DISGUISING", - "annotation": "TF_COND_DISGUISING", - "contents": "TF_COND_DISGUISING$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "TF_COND_DONOTUSE_0", - "annotation": "TF_COND_DONOTUSE_0", - "contents": "TF_COND_DONOTUSE_0$0", - "kind": "keyword", - "details": "89" - }, - { - "trigger": "TF_COND_ENERGY_BUFF", - "annotation": "TF_COND_ENERGY_BUFF", - "contents": "TF_COND_ENERGY_BUFF$0", - "kind": "keyword", - "details": "19" - }, - { - "trigger": "TF_COND_FEIGN_DEATH", - "annotation": "TF_COND_FEIGN_DEATH", - "contents": "TF_COND_FEIGN_DEATH$0", - "kind": "keyword", - "details": "13" - }, - { - "trigger": "TF_COND_FIRE_IMMUNE", - "annotation": "TF_COND_FIRE_IMMUNE", - "contents": "TF_COND_FIRE_IMMUNE$0", - "kind": "keyword", - "details": "69" - }, - { - "trigger": "TF_COND_FREEZE_INPUT", - "annotation": "TF_COND_FREEZE_INPUT", - "contents": "TF_COND_FREEZE_INPUT$0", - "kind": "keyword", - "details": "87" - }, - { - "trigger": "TF_COND_GAS", - "annotation": "TF_COND_GAS", - "contents": "TF_COND_GAS$0", - "kind": "keyword", - "details": "123" - }, - { - "trigger": "TF_COND_GRAPPLED_BY_PLAYER", - "annotation": "TF_COND_GRAPPLED_BY_PLAYER", - "contents": "TF_COND_GRAPPLED_BY_PLAYER$0", - "kind": "keyword", - "details": "121" - }, - { - "trigger": "TF_COND_GRAPPLED_TO_PLAYER", - "annotation": "TF_COND_GRAPPLED_TO_PLAYER", - "contents": "TF_COND_GRAPPLED_TO_PLAYER$0", - "kind": "keyword", - "details": "120" - }, - { - "trigger": "TF_COND_GRAPPLINGHOOK", - "annotation": "TF_COND_GRAPPLINGHOOK", - "contents": "TF_COND_GRAPPLINGHOOK$0", - "kind": "keyword", - "details": "98" - }, - { - "trigger": "TF_COND_GRAPPLINGHOOK_BLEEDING", - "annotation": "TF_COND_GRAPPLINGHOOK_BLEEDING", - "contents": "TF_COND_GRAPPLINGHOOK_BLEEDING$0", - "kind": "keyword", - "details": "101" - }, - { - "trigger": "TF_COND_GRAPPLINGHOOK_LATCHED", - "annotation": "TF_COND_GRAPPLINGHOOK_LATCHED", - "contents": "TF_COND_GRAPPLINGHOOK_LATCHED$0", - "kind": "keyword", - "details": "100" - }, - { - "trigger": "TF_COND_GRAPPLINGHOOK_SAFEFALL", - "annotation": "TF_COND_GRAPPLINGHOOK_SAFEFALL", - "contents": "TF_COND_GRAPPLINGHOOK_SAFEFALL$0", - "kind": "keyword", - "details": "99" - }, - { - "trigger": "TF_COND_HALLOWEEN_BOMB_HEAD", - "annotation": "TF_COND_HALLOWEEN_BOMB_HEAD", - "contents": "TF_COND_HALLOWEEN_BOMB_HEAD$0", - "kind": "keyword", - "details": "53" - }, - { - "trigger": "TF_COND_HALLOWEEN_GHOST_MODE", - "annotation": "TF_COND_HALLOWEEN_GHOST_MODE", - "contents": "TF_COND_HALLOWEEN_GHOST_MODE$0", - "kind": "keyword", - "details": "77" - }, - { - "trigger": "TF_COND_HALLOWEEN_GIANT", - "annotation": "TF_COND_HALLOWEEN_GIANT", - "contents": "TF_COND_HALLOWEEN_GIANT$0", - "kind": "keyword", - "details": "74" - }, - { - "trigger": "TF_COND_HALLOWEEN_HELL_HEAL", - "annotation": "TF_COND_HALLOWEEN_HELL_HEAL", - "contents": "TF_COND_HALLOWEEN_HELL_HEAL$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "TF_COND_HALLOWEEN_IN_HELL", - "annotation": "TF_COND_HALLOWEEN_IN_HELL", - "contents": "TF_COND_HALLOWEEN_IN_HELL$0", - "kind": "keyword", - "details": "76" - }, - { - "trigger": "TF_COND_HALLOWEEN_KART", - "annotation": "TF_COND_HALLOWEEN_KART", - "contents": "TF_COND_HALLOWEEN_KART$0", - "kind": "keyword", - "details": "82" - }, - { - "trigger": "TF_COND_HALLOWEEN_KART_CAGE", - "annotation": "TF_COND_HALLOWEEN_KART_CAGE", - "contents": "TF_COND_HALLOWEEN_KART_CAGE$0", - "kind": "keyword", - "details": "88" - }, - { - "trigger": "TF_COND_HALLOWEEN_KART_DASH", - "annotation": "TF_COND_HALLOWEEN_KART_DASH", - "contents": "TF_COND_HALLOWEEN_KART_DASH$0", - "kind": "keyword", - "details": "83" - }, - { - "trigger": "TF_COND_HALLOWEEN_QUICK_HEAL", - "annotation": "TF_COND_HALLOWEEN_QUICK_HEAL", - "contents": "TF_COND_HALLOWEEN_QUICK_HEAL$0", - "kind": "keyword", - "details": "73" - }, - { - "trigger": "TF_COND_HALLOWEEN_SPEED_BOOST", - "annotation": "TF_COND_HALLOWEEN_SPEED_BOOST", - "contents": "TF_COND_HALLOWEEN_SPEED_BOOST$0", - "kind": "keyword", - "details": "72" - }, - { - "trigger": "TF_COND_HALLOWEEN_THRILLER", - "annotation": "TF_COND_HALLOWEEN_THRILLER", - "contents": "TF_COND_HALLOWEEN_THRILLER$0", - "kind": "keyword", - "details": "54" - }, - { - "trigger": "TF_COND_HALLOWEEN_TINY", - "annotation": "TF_COND_HALLOWEEN_TINY", - "contents": "TF_COND_HALLOWEEN_TINY$0", - "kind": "keyword", - "details": "75" - }, - { - "trigger": "TF_COND_HEALING_DEBUFF", - "annotation": "TF_COND_HEALING_DEBUFF", - "contents": "TF_COND_HEALING_DEBUFF$0", - "kind": "keyword", - "details": "118" - }, - { - "trigger": "TF_COND_HEALTH_BUFF", - "annotation": "TF_COND_HEALTH_BUFF", - "contents": "TF_COND_HEALTH_BUFF$0", - "kind": "keyword", - "details": "21" - }, - { - "trigger": "TF_COND_HEALTH_OVERHEALED", - "annotation": "TF_COND_HEALTH_OVERHEALED", - "contents": "TF_COND_HEALTH_OVERHEALED$0", - "kind": "keyword", - "details": "23" - }, - { - "trigger": "TF_COND_INVALID", - "annotation": "TF_COND_INVALID", - "contents": "TF_COND_INVALID$0", - "kind": "keyword", - "details": "-1" - }, - { - "trigger": "TF_COND_INVULNERABLE", - "annotation": "TF_COND_INVULNERABLE", - "contents": "TF_COND_INVULNERABLE$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "TF_COND_INVULNERABLE_CARD_EFFECT", - "annotation": "TF_COND_INVULNERABLE_CARD_EFFECT", - "contents": "TF_COND_INVULNERABLE_CARD_EFFECT$0", - "kind": "keyword", - "details": "57" - }, - { - "trigger": "TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED", - "annotation": "TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED", - "contents": "TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED$0", - "kind": "keyword", - "details": "51" - }, - { - "trigger": "TF_COND_INVULNERABLE_USER_BUFF", - "annotation": "TF_COND_INVULNERABLE_USER_BUFF", - "contents": "TF_COND_INVULNERABLE_USER_BUFF$0", - "kind": "keyword", - "details": "52" - }, - { - "trigger": "TF_COND_INVULNERABLE_WEARINGOFF", - "annotation": "TF_COND_INVULNERABLE_WEARINGOFF", - "contents": "TF_COND_INVULNERABLE_WEARINGOFF$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "TF_COND_KING_BUFFED", - "annotation": "TF_COND_KING_BUFFED", - "contents": "TF_COND_KING_BUFFED$0", - "kind": "keyword", - "details": "113" - }, - { - "trigger": "TF_COND_KNOCKED_INTO_AIR", - "annotation": "TF_COND_KNOCKED_INTO_AIR", - "contents": "TF_COND_KNOCKED_INTO_AIR$0", - "kind": "keyword", - "details": "115" - }, - { - "trigger": "TF_COND_LOST_FOOTING", - "annotation": "TF_COND_LOST_FOOTING", - "contents": "TF_COND_LOST_FOOTING$0", - "kind": "keyword", - "details": "126" - }, - { - "trigger": "TF_COND_MAD_MILK", - "annotation": "TF_COND_MAD_MILK", - "contents": "TF_COND_MAD_MILK$0", - "kind": "keyword", - "details": "27" - }, - { - "trigger": "TF_COND_MARKEDFORDEATH", - "annotation": "TF_COND_MARKEDFORDEATH", - "contents": "TF_COND_MARKEDFORDEATH$0", - "kind": "keyword", - "details": "30" - }, - { - "trigger": "TF_COND_MARKEDFORDEATH_SILENT", - "annotation": "TF_COND_MARKEDFORDEATH_SILENT", - "contents": "TF_COND_MARKEDFORDEATH_SILENT$0", - "kind": "keyword", - "details": "48" - }, - { - "trigger": "TF_COND_MEDIGUN_DEBUFF", - "annotation": "TF_COND_MEDIGUN_DEBUFF", - "contents": "TF_COND_MEDIGUN_DEBUFF$0", - "kind": "keyword", - "details": "65" - }, - { - "trigger": "TF_COND_MEDIGUN_SMALL_BLAST_RESIST", - "annotation": "TF_COND_MEDIGUN_SMALL_BLAST_RESIST", - "contents": "TF_COND_MEDIGUN_SMALL_BLAST_RESIST$0", - "kind": "keyword", - "details": "62" - }, - { - "trigger": "TF_COND_MEDIGUN_SMALL_BULLET_RESIST", - "annotation": "TF_COND_MEDIGUN_SMALL_BULLET_RESIST", - "contents": "TF_COND_MEDIGUN_SMALL_BULLET_RESIST$0", - "kind": "keyword", - "details": "61" - }, - { - "trigger": "TF_COND_MEDIGUN_SMALL_FIRE_RESIST", - "annotation": "TF_COND_MEDIGUN_SMALL_FIRE_RESIST", - "contents": "TF_COND_MEDIGUN_SMALL_FIRE_RESIST$0", - "kind": "keyword", - "details": "63" - }, - { - "trigger": "TF_COND_MEDIGUN_UBER_BLAST_RESIST", - "annotation": "TF_COND_MEDIGUN_UBER_BLAST_RESIST", - "contents": "TF_COND_MEDIGUN_UBER_BLAST_RESIST$0", - "kind": "keyword", - "details": "59" - }, - { - "trigger": "TF_COND_MEDIGUN_UBER_BULLET_RESIST", - "annotation": "TF_COND_MEDIGUN_UBER_BULLET_RESIST", - "contents": "TF_COND_MEDIGUN_UBER_BULLET_RESIST$0", - "kind": "keyword", - "details": "58" - }, - { - "trigger": "TF_COND_MEDIGUN_UBER_FIRE_RESIST", - "annotation": "TF_COND_MEDIGUN_UBER_FIRE_RESIST", - "contents": "TF_COND_MEDIGUN_UBER_FIRE_RESIST$0", - "kind": "keyword", - "details": "60" - }, - { - "trigger": "TF_COND_MEGAHEAL", - "annotation": "TF_COND_MEGAHEAL", - "contents": "TF_COND_MEGAHEAL$0", - "kind": "keyword", - "details": "28" - }, - { - "trigger": "TF_COND_MELEE_ONLY", - "annotation": "TF_COND_MELEE_ONLY", - "contents": "TF_COND_MELEE_ONLY$0", - "kind": "keyword", - "details": "85" - }, - { - "trigger": "TF_COND_MINICRITBOOSTED_ON_KILL", - "annotation": "TF_COND_MINICRITBOOSTED_ON_KILL", - "contents": "TF_COND_MINICRITBOOSTED_ON_KILL$0", - "kind": "keyword", - "details": "78" - }, - { - "trigger": "TF_COND_MVM_BOT_STUN_RADIOWAVE", - "annotation": "TF_COND_MVM_BOT_STUN_RADIOWAVE", - "contents": "TF_COND_MVM_BOT_STUN_RADIOWAVE$0", - "kind": "keyword", - "details": "71" - }, - { - "trigger": "TF_COND_NOHEALINGDAMAGEBUFF", - "annotation": "TF_COND_NOHEALINGDAMAGEBUFF", - "contents": "TF_COND_NOHEALINGDAMAGEBUFF$0", - "kind": "keyword", - "details": "31" - }, - { - "trigger": "TF_COND_OBSCURED_SMOKE", - "annotation": "TF_COND_OBSCURED_SMOKE", - "contents": "TF_COND_OBSCURED_SMOKE$0", - "kind": "keyword", - "details": "79" - }, - { - "trigger": "TF_COND_OFFENSEBUFF", - "annotation": "TF_COND_OFFENSEBUFF", - "contents": "TF_COND_OFFENSEBUFF$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "TF_COND_PARACHUTE_ACTIVE", - "annotation": "TF_COND_PARACHUTE_ACTIVE", - "contents": "TF_COND_PARACHUTE_ACTIVE$0", - "kind": "keyword", - "details": "80" - }, - { - "trigger": "TF_COND_PARACHUTE_DEPLOYED", - "annotation": "TF_COND_PARACHUTE_DEPLOYED", - "contents": "TF_COND_PARACHUTE_DEPLOYED$0", - "kind": "keyword", - "details": "122" - }, - { - "trigger": "TF_COND_PASSTIME_INTERCEPTION", - "annotation": "TF_COND_PASSTIME_INTERCEPTION", - "contents": "TF_COND_PASSTIME_INTERCEPTION$0", - "kind": "keyword", - "details": "106" - }, - { - "trigger": "TF_COND_PASSTIME_PENALTY_DEBUFF", - "annotation": "TF_COND_PASSTIME_PENALTY_DEBUFF", - "contents": "TF_COND_PASSTIME_PENALTY_DEBUFF$0", - "kind": "keyword", - "details": "119" - }, - { - "trigger": "TF_COND_PHASE", - "annotation": "TF_COND_PHASE", - "contents": "TF_COND_PHASE$0", - "kind": "keyword", - "details": "14" - }, - { - "trigger": "TF_COND_PLAGUE", - "annotation": "TF_COND_PLAGUE", - "contents": "TF_COND_PLAGUE$0", - "kind": "keyword", - "details": "112" - }, - { - "trigger": "TF_COND_POWERUPMODE_DOMINANT", - "annotation": "TF_COND_POWERUPMODE_DOMINANT", - "contents": "TF_COND_POWERUPMODE_DOMINANT$0", - "kind": "keyword", - "details": "129" - }, - { - "trigger": "TF_COND_PREVENT_DEATH", - "annotation": "TF_COND_PREVENT_DEATH", - "contents": "TF_COND_PREVENT_DEATH$0", - "kind": "keyword", - "details": "70" - }, - { - "trigger": "TF_COND_PURGATORY", - "annotation": "TF_COND_PURGATORY", - "contents": "TF_COND_PURGATORY$0", - "kind": "keyword", - "details": "108" - }, - { - "trigger": "TF_COND_RADIUSHEAL", - "annotation": "TF_COND_RADIUSHEAL", - "contents": "TF_COND_RADIUSHEAL$0", - "kind": "keyword", - "details": "20" - }, - { - "trigger": "TF_COND_RADIUSHEAL_ON_DAMAGE", - "annotation": "TF_COND_RADIUSHEAL_ON_DAMAGE", - "contents": "TF_COND_RADIUSHEAL_ON_DAMAGE$0", - "kind": "keyword", - "details": "55" - }, - { - "trigger": "TF_COND_REGENONDAMAGEBUFF", - "annotation": "TF_COND_REGENONDAMAGEBUFF", - "contents": "TF_COND_REGENONDAMAGEBUFF$0", - "kind": "keyword", - "details": "29" - }, - { - "trigger": "TF_COND_REPROGRAMMED", - "annotation": "TF_COND_REPROGRAMMED", - "contents": "TF_COND_REPROGRAMMED$0", - "kind": "keyword", - "details": "43" - }, - { - "trigger": "TF_COND_ROCKETPACK", - "annotation": "TF_COND_ROCKETPACK", - "contents": "TF_COND_ROCKETPACK$0", - "kind": "keyword", - "details": "125" - }, - { - "trigger": "TF_COND_RUNE_AGILITY", - "annotation": "TF_COND_RUNE_AGILITY", - "contents": "TF_COND_RUNE_AGILITY$0", - "kind": "keyword", - "details": "97" - }, - { - "trigger": "TF_COND_RUNE_HASTE", - "annotation": "TF_COND_RUNE_HASTE", - "contents": "TF_COND_RUNE_HASTE$0", - "kind": "keyword", - "details": "91" - }, - { - "trigger": "TF_COND_RUNE_IMBALANCE", - "annotation": "TF_COND_RUNE_IMBALANCE", - "contents": "TF_COND_RUNE_IMBALANCE$0", - "kind": "keyword", - "details": "104" - }, - { - "trigger": "TF_COND_RUNE_KING", - "annotation": "TF_COND_RUNE_KING", - "contents": "TF_COND_RUNE_KING$0", - "kind": "keyword", - "details": "109" - }, - { - "trigger": "TF_COND_RUNE_KNOCKOUT", - "annotation": "TF_COND_RUNE_KNOCKOUT", - "contents": "TF_COND_RUNE_KNOCKOUT$0", - "kind": "keyword", - "details": "103" - }, - { - "trigger": "TF_COND_RUNE_PLAGUE", - "annotation": "TF_COND_RUNE_PLAGUE", - "contents": "TF_COND_RUNE_PLAGUE$0", - "kind": "keyword", - "details": "110" - }, - { - "trigger": "TF_COND_RUNE_PRECISION", - "annotation": "TF_COND_RUNE_PRECISION", - "contents": "TF_COND_RUNE_PRECISION$0", - "kind": "keyword", - "details": "96" - }, - { - "trigger": "TF_COND_RUNE_REFLECT", - "annotation": "TF_COND_RUNE_REFLECT", - "contents": "TF_COND_RUNE_REFLECT$0", - "kind": "keyword", - "details": "95" - }, - { - "trigger": "TF_COND_RUNE_REGEN", - "annotation": "TF_COND_RUNE_REGEN", - "contents": "TF_COND_RUNE_REGEN$0", - "kind": "keyword", - "details": "92" - }, - { - "trigger": "TF_COND_RUNE_RESIST", - "annotation": "TF_COND_RUNE_RESIST", - "contents": "TF_COND_RUNE_RESIST$0", - "kind": "keyword", - "details": "93" - }, - { - "trigger": "TF_COND_RUNE_STRENGTH", - "annotation": "TF_COND_RUNE_STRENGTH", - "contents": "TF_COND_RUNE_STRENGTH$0", - "kind": "keyword", - "details": "90" - }, - { - "trigger": "TF_COND_RUNE_SUPERNOVA", - "annotation": "TF_COND_RUNE_SUPERNOVA", - "contents": "TF_COND_RUNE_SUPERNOVA$0", - "kind": "keyword", - "details": "111" - }, - { - "trigger": "TF_COND_RUNE_VAMPIRE", - "annotation": "TF_COND_RUNE_VAMPIRE", - "contents": "TF_COND_RUNE_VAMPIRE$0", - "kind": "keyword", - "details": "94" - }, - { - "trigger": "TF_COND_SAPPED", - "annotation": "TF_COND_SAPPED", - "contents": "TF_COND_SAPPED$0", - "kind": "keyword", - "details": "50" - }, - { - "trigger": "TF_COND_SELECTED_TO_TELEPORT", - "annotation": "TF_COND_SELECTED_TO_TELEPORT", - "contents": "TF_COND_SELECTED_TO_TELEPORT$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "TF_COND_SHIELD_CHARGE", - "annotation": "TF_COND_SHIELD_CHARGE", - "contents": "TF_COND_SHIELD_CHARGE$0", - "kind": "keyword", - "details": "17" - }, - { - "trigger": "TF_COND_SNIPERCHARGE_RAGE_BUFF", - "annotation": "TF_COND_SNIPERCHARGE_RAGE_BUFF", - "contents": "TF_COND_SNIPERCHARGE_RAGE_BUFF$0", - "kind": "keyword", - "details": "46" - }, - { - "trigger": "TF_COND_SODAPOPPER_HYPE", - "annotation": "TF_COND_SODAPOPPER_HYPE", - "contents": "TF_COND_SODAPOPPER_HYPE$0", - "kind": "keyword", - "details": "36" - }, - { - "trigger": "TF_COND_SPEED_BOOST", - "annotation": "TF_COND_SPEED_BOOST", - "contents": "TF_COND_SPEED_BOOST$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "TF_COND_STEALTHED", - "annotation": "TF_COND_STEALTHED", - "contents": "TF_COND_STEALTHED$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "TF_COND_STEALTHED_BLINK", - "annotation": "TF_COND_STEALTHED_BLINK", - "contents": "TF_COND_STEALTHED_BLINK$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "TF_COND_STEALTHED_USER_BUFF", - "annotation": "TF_COND_STEALTHED_USER_BUFF", - "contents": "TF_COND_STEALTHED_USER_BUFF$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "TF_COND_STEALTHED_USER_BUFF_FADING", - "annotation": "TF_COND_STEALTHED_USER_BUFF_FADING", - "contents": "TF_COND_STEALTHED_USER_BUFF_FADING$0", - "kind": "keyword", - "details": "66" - }, - { - "trigger": "TF_COND_STUNNED", - "annotation": "TF_COND_STUNNED", - "contents": "TF_COND_STUNNED$0", - "kind": "keyword", - "details": "15" - }, - { - "trigger": "TF_COND_SWIMMING_CURSE", - "annotation": "TF_COND_SWIMMING_CURSE", - "contents": "TF_COND_SWIMMING_CURSE$0", - "kind": "keyword", - "details": "86" - }, - { - "trigger": "TF_COND_SWIMMING_NO_EFFECTS", - "annotation": "TF_COND_SWIMMING_NO_EFFECTS", - "contents": "TF_COND_SWIMMING_NO_EFFECTS$0", - "kind": "keyword", - "details": "107" - }, - { - "trigger": "TF_COND_TAUNTING", - "annotation": "TF_COND_TAUNTING", - "contents": "TF_COND_TAUNTING$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "TF_COND_TEAM_GLOWS", - "annotation": "TF_COND_TEAM_GLOWS", - "contents": "TF_COND_TEAM_GLOWS$0", - "kind": "keyword", - "details": "114" - }, - { - "trigger": "TF_COND_TELEPORTED", - "annotation": "TF_COND_TELEPORTED", - "contents": "TF_COND_TELEPORTED$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "TF_COND_TMPDAMAGEBONUS", - "annotation": "TF_COND_TMPDAMAGEBONUS", - "contents": "TF_COND_TMPDAMAGEBONUS$0", - "kind": "keyword", - "details": "12" - }, - { - "trigger": "TF_COND_URINE", - "annotation": "TF_COND_URINE", - "contents": "TF_COND_URINE$0", - "kind": "keyword", - "details": "24" - }, - { - "trigger": "TF_COND_ZOOMED", - "annotation": "TF_COND_ZOOMED", - "contents": "TF_COND_ZOOMED$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "TF_DMG_CUSTOM_AEGIS_ROUND", - "annotation": "TF_DMG_CUSTOM_AEGIS_ROUND", - "contents": "TF_DMG_CUSTOM_AEGIS_ROUND$0", - "kind": "keyword", - "details": "43" - }, - { - "trigger": "TF_DMG_CUSTOM_AIR_STICKY_BURST", - "annotation": "TF_DMG_CUSTOM_AIR_STICKY_BURST", - "contents": "TF_DMG_CUSTOM_AIR_STICKY_BURST$0", - "kind": "keyword", - "details": "25" - }, - { - "trigger": "TF_DMG_CUSTOM_AXTINGUISHER_BOOSTED", - "annotation": "TF_DMG_CUSTOM_AXTINGUISHER_BOOSTED", - "contents": "TF_DMG_CUSTOM_AXTINGUISHER_BOOSTED$0", - "kind": "keyword", - "details": "83" - }, - { - "trigger": "TF_DMG_CUSTOM_BACKSTAB", - "annotation": "TF_DMG_CUSTOM_BACKSTAB", - "contents": "TF_DMG_CUSTOM_BACKSTAB$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "TF_DMG_CUSTOM_BASEBALL", - "annotation": "TF_DMG_CUSTOM_BASEBALL", - "contents": "TF_DMG_CUSTOM_BASEBALL$0", - "kind": "keyword", - "details": "22" - }, - { - "trigger": "TF_DMG_CUSTOM_BLEEDING", - "annotation": "TF_DMG_CUSTOM_BLEEDING", - "contents": "TF_DMG_CUSTOM_BLEEDING$0", - "kind": "keyword", - "details": "34" - }, - { - "trigger": "TF_DMG_CUSTOM_BOOTS_STOMP", - "annotation": "TF_DMG_CUSTOM_BOOTS_STOMP", - "contents": "TF_DMG_CUSTOM_BOOTS_STOMP$0", - "kind": "keyword", - "details": "45" - }, - { - "trigger": "TF_DMG_CUSTOM_BURNING", - "annotation": "TF_DMG_CUSTOM_BURNING", - "contents": "TF_DMG_CUSTOM_BURNING$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "TF_DMG_CUSTOM_BURNING_ARROW", - "annotation": "TF_DMG_CUSTOM_BURNING_ARROW", - "contents": "TF_DMG_CUSTOM_BURNING_ARROW$0", - "kind": "keyword", - "details": "17" - }, - { - "trigger": "TF_DMG_CUSTOM_BURNING_FLARE", - "annotation": "TF_DMG_CUSTOM_BURNING_FLARE", - "contents": "TF_DMG_CUSTOM_BURNING_FLARE$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "TF_DMG_CUSTOM_CANNONBALL_PUSH", - "annotation": "TF_DMG_CUSTOM_CANNONBALL_PUSH", - "contents": "TF_DMG_CUSTOM_CANNONBALL_PUSH$0", - "kind": "keyword", - "details": "61" - }, - { - "trigger": "TF_DMG_CUSTOM_CARRIED_BUILDING", - "annotation": "TF_DMG_CUSTOM_CARRIED_BUILDING", - "contents": "TF_DMG_CUSTOM_CARRIED_BUILDING$0", - "kind": "keyword", - "details": "36" - }, - { - "trigger": "TF_DMG_CUSTOM_CHARGE_IMPACT", - "annotation": "TF_DMG_CUSTOM_CHARGE_IMPACT", - "contents": "TF_DMG_CUSTOM_CHARGE_IMPACT$0", - "kind": "keyword", - "details": "23" - }, - { - "trigger": "TF_DMG_CUSTOM_CLEAVER", - "annotation": "TF_DMG_CUSTOM_CLEAVER", - "contents": "TF_DMG_CUSTOM_CLEAVER$0", - "kind": "keyword", - "details": "54" - }, - { - "trigger": "TF_DMG_CUSTOM_CLEAVER_CRIT", - "annotation": "TF_DMG_CUSTOM_CLEAVER_CRIT", - "contents": "TF_DMG_CUSTOM_CLEAVER_CRIT$0", - "kind": "keyword", - "details": "55" - }, - { - "trigger": "TF_DMG_CUSTOM_COMBO_PUNCH", - "annotation": "TF_DMG_CUSTOM_COMBO_PUNCH", - "contents": "TF_DMG_CUSTOM_COMBO_PUNCH$0", - "kind": "keyword", - "details": "37" - }, - { - "trigger": "TF_DMG_CUSTOM_CROC", - "annotation": "TF_DMG_CUSTOM_CROC", - "contents": "TF_DMG_CUSTOM_CROC$0", - "kind": "keyword", - "details": "81" - }, - { - "trigger": "TF_DMG_CUSTOM_DECAPITATION", - "annotation": "TF_DMG_CUSTOM_DECAPITATION", - "contents": "TF_DMG_CUSTOM_DECAPITATION$0", - "kind": "keyword", - "details": "20" - }, - { - "trigger": "TF_DMG_CUSTOM_DECAPITATION_BOSS", - "annotation": "TF_DMG_CUSTOM_DECAPITATION_BOSS", - "contents": "TF_DMG_CUSTOM_DECAPITATION_BOSS$0", - "kind": "keyword", - "details": "41" - }, - { - "trigger": "TF_DMG_CUSTOM_DEFENSIVE_STICKY", - "annotation": "TF_DMG_CUSTOM_DEFENSIVE_STICKY", - "contents": "TF_DMG_CUSTOM_DEFENSIVE_STICKY$0", - "kind": "keyword", - "details": "26" - }, - { - "trigger": "TF_DMG_CUSTOM_DRAGONS_FURY_BONUS_BURNING", - "annotation": "TF_DMG_CUSTOM_DRAGONS_FURY_BONUS_BURNING", - "contents": "TF_DMG_CUSTOM_DRAGONS_FURY_BONUS_BURNING$0", - "kind": "keyword", - "details": "79" - }, - { - "trigger": "TF_DMG_CUSTOM_DRAGONS_FURY_IGNITE", - "annotation": "TF_DMG_CUSTOM_DRAGONS_FURY_IGNITE", - "contents": "TF_DMG_CUSTOM_DRAGONS_FURY_IGNITE$0", - "kind": "keyword", - "details": "78" - }, - { - "trigger": "TF_DMG_CUSTOM_END", - "annotation": "TF_DMG_CUSTOM_END", - "contents": "TF_DMG_CUSTOM_END$0", - "kind": "keyword", - "details": "84" - }, - { - "trigger": "TF_DMG_CUSTOM_EYEBALL_ROCKET", - "annotation": "TF_DMG_CUSTOM_EYEBALL_ROCKET", - "contents": "TF_DMG_CUSTOM_EYEBALL_ROCKET$0", - "kind": "keyword", - "details": "50" - }, - { - "trigger": "TF_DMG_CUSTOM_FISH_KILL", - "annotation": "TF_DMG_CUSTOM_FISH_KILL", - "contents": "TF_DMG_CUSTOM_FISH_KILL$0", - "kind": "keyword", - "details": "39" - }, - { - "trigger": "TF_DMG_CUSTOM_FLARE_EXPLOSION", - "annotation": "TF_DMG_CUSTOM_FLARE_EXPLOSION", - "contents": "TF_DMG_CUSTOM_FLARE_EXPLOSION$0", - "kind": "keyword", - "details": "44" - }, - { - "trigger": "TF_DMG_CUSTOM_FLARE_PELLET", - "annotation": "TF_DMG_CUSTOM_FLARE_PELLET", - "contents": "TF_DMG_CUSTOM_FLARE_PELLET$0", - "kind": "keyword", - "details": "53" - }, - { - "trigger": "TF_DMG_CUSTOM_FLYINGBURN", - "annotation": "TF_DMG_CUSTOM_FLYINGBURN", - "contents": "TF_DMG_CUSTOM_FLYINGBURN$0", - "kind": "keyword", - "details": "18" - }, - { - "trigger": "TF_DMG_CUSTOM_GIANT_HAMMER", - "annotation": "TF_DMG_CUSTOM_GIANT_HAMMER", - "contents": "TF_DMG_CUSTOM_GIANT_HAMMER$0", - "kind": "keyword", - "details": "76" - }, - { - "trigger": "TF_DMG_CUSTOM_GOLD_WRENCH", - "annotation": "TF_DMG_CUSTOM_GOLD_WRENCH", - "contents": "TF_DMG_CUSTOM_GOLD_WRENCH$0", - "kind": "keyword", - "details": "35" - }, - { - "trigger": "TF_DMG_CUSTOM_HEADSHOT", - "annotation": "TF_DMG_CUSTOM_HEADSHOT", - "contents": "TF_DMG_CUSTOM_HEADSHOT$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "TF_DMG_CUSTOM_HEADSHOT_DECAPITATION", - "annotation": "TF_DMG_CUSTOM_HEADSHOT_DECAPITATION", - "contents": "TF_DMG_CUSTOM_HEADSHOT_DECAPITATION$0", - "kind": "keyword", - "details": "51" - }, - { - "trigger": "TF_DMG_CUSTOM_KART", - "annotation": "TF_DMG_CUSTOM_KART", - "contents": "TF_DMG_CUSTOM_KART$0", - "kind": "keyword", - "details": "75" - }, - { - "trigger": "TF_DMG_CUSTOM_MERASMUS_DECAPITATION", - "annotation": "TF_DMG_CUSTOM_MERASMUS_DECAPITATION", - "contents": "TF_DMG_CUSTOM_MERASMUS_DECAPITATION$0", - "kind": "keyword", - "details": "60" - }, - { - "trigger": "TF_DMG_CUSTOM_MERASMUS_GRENADE", - "annotation": "TF_DMG_CUSTOM_MERASMUS_GRENADE", - "contents": "TF_DMG_CUSTOM_MERASMUS_GRENADE$0", - "kind": "keyword", - "details": "58" - }, - { - "trigger": "TF_DMG_CUSTOM_MERASMUS_PLAYER_BOMB", - "annotation": "TF_DMG_CUSTOM_MERASMUS_PLAYER_BOMB", - "contents": "TF_DMG_CUSTOM_MERASMUS_PLAYER_BOMB$0", - "kind": "keyword", - "details": "57" - }, - { - "trigger": "TF_DMG_CUSTOM_MERASMUS_ZAP", - "annotation": "TF_DMG_CUSTOM_MERASMUS_ZAP", - "contents": "TF_DMG_CUSTOM_MERASMUS_ZAP$0", - "kind": "keyword", - "details": "59" - }, - { - "trigger": "TF_DMG_CUSTOM_MINIGUN", - "annotation": "TF_DMG_CUSTOM_MINIGUN", - "contents": "TF_DMG_CUSTOM_MINIGUN$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "TF_DMG_CUSTOM_NONE", - "annotation": "TF_DMG_CUSTOM_NONE", - "contents": "TF_DMG_CUSTOM_NONE$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "TF_DMG_CUSTOM_PENETRATE_ALL_PLAYERS", - "annotation": "TF_DMG_CUSTOM_PENETRATE_ALL_PLAYERS", - "contents": "TF_DMG_CUSTOM_PENETRATE_ALL_PLAYERS$0", - "kind": "keyword", - "details": "12" - }, - { - "trigger": "TF_DMG_CUSTOM_PENETRATE_MY_TEAM", - "annotation": "TF_DMG_CUSTOM_PENETRATE_MY_TEAM", - "contents": "TF_DMG_CUSTOM_PENETRATE_MY_TEAM$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "TF_DMG_CUSTOM_PENETRATE_NONBURNING_TEAMMATE", - "annotation": "TF_DMG_CUSTOM_PENETRATE_NONBURNING_TEAMMATE", - "contents": "TF_DMG_CUSTOM_PENETRATE_NONBURNING_TEAMMATE$0", - "kind": "keyword", - "details": "14" - }, - { - "trigger": "TF_DMG_CUSTOM_PICKAXE", - "annotation": "TF_DMG_CUSTOM_PICKAXE", - "contents": "TF_DMG_CUSTOM_PICKAXE$0", - "kind": "keyword", - "details": "27" - }, - { - "trigger": "TF_DMG_CUSTOM_PLASMA", - "annotation": "TF_DMG_CUSTOM_PLASMA", - "contents": "TF_DMG_CUSTOM_PLASMA$0", - "kind": "keyword", - "details": "46" - }, - { - "trigger": "TF_DMG_CUSTOM_PLASMA_CHARGED", - "annotation": "TF_DMG_CUSTOM_PLASMA_CHARGED", - "contents": "TF_DMG_CUSTOM_PLASMA_CHARGED$0", - "kind": "keyword", - "details": "47" - }, - { - "trigger": "TF_DMG_CUSTOM_PLASMA_GIB", - "annotation": "TF_DMG_CUSTOM_PLASMA_GIB", - "contents": "TF_DMG_CUSTOM_PLASMA_GIB$0", - "kind": "keyword", - "details": "48" - }, - { - "trigger": "TF_DMG_CUSTOM_PLAYER_SENTRY", - "annotation": "TF_DMG_CUSTOM_PLAYER_SENTRY", - "contents": "TF_DMG_CUSTOM_PLAYER_SENTRY$0", - "kind": "keyword", - "details": "30" - }, - { - "trigger": "TF_DMG_CUSTOM_PRACTICE_STICKY", - "annotation": "TF_DMG_CUSTOM_PRACTICE_STICKY", - "contents": "TF_DMG_CUSTOM_PRACTICE_STICKY$0", - "kind": "keyword", - "details": "49" - }, - { - "trigger": "TF_DMG_CUSTOM_PUMPKIN_BOMB", - "annotation": "TF_DMG_CUSTOM_PUMPKIN_BOMB", - "contents": "TF_DMG_CUSTOM_PUMPKIN_BOMB$0", - "kind": "keyword", - "details": "19" - }, - { - "trigger": "TF_DMG_CUSTOM_ROCKET_DIRECTHIT", - "annotation": "TF_DMG_CUSTOM_ROCKET_DIRECTHIT", - "contents": "TF_DMG_CUSTOM_ROCKET_DIRECTHIT$0", - "kind": "keyword", - "details": "28" - }, - { - "trigger": "TF_DMG_CUSTOM_RUNE_REFLECT", - "annotation": "TF_DMG_CUSTOM_RUNE_REFLECT", - "contents": "TF_DMG_CUSTOM_RUNE_REFLECT$0", - "kind": "keyword", - "details": "77" - }, - { - "trigger": "TF_DMG_CUSTOM_SAPPER_RECORDER_DEATH", - "annotation": "TF_DMG_CUSTOM_SAPPER_RECORDER_DEATH", - "contents": "TF_DMG_CUSTOM_SAPPER_RECORDER_DEATH$0", - "kind": "keyword", - "details": "56" - }, - { - "trigger": "TF_DMG_CUSTOM_SHOTGUN_REVENGE_CRIT", - "annotation": "TF_DMG_CUSTOM_SHOTGUN_REVENGE_CRIT", - "contents": "TF_DMG_CUSTOM_SHOTGUN_REVENGE_CRIT$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "TF_DMG_CUSTOM_SLAP_KILL", - "annotation": "TF_DMG_CUSTOM_SLAP_KILL", - "contents": "TF_DMG_CUSTOM_SLAP_KILL$0", - "kind": "keyword", - "details": "80" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_BATS", - "annotation": "TF_DMG_CUSTOM_SPELL_BATS", - "contents": "TF_DMG_CUSTOM_SPELL_BATS$0", - "kind": "keyword", - "details": "73" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_BLASTJUMP", - "annotation": "TF_DMG_CUSTOM_SPELL_BLASTJUMP", - "contents": "TF_DMG_CUSTOM_SPELL_BLASTJUMP$0", - "kind": "keyword", - "details": "72" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_FIREBALL", - "annotation": "TF_DMG_CUSTOM_SPELL_FIREBALL", - "contents": "TF_DMG_CUSTOM_SPELL_FIREBALL$0", - "kind": "keyword", - "details": "70" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_LIGHTNING", - "annotation": "TF_DMG_CUSTOM_SPELL_LIGHTNING", - "contents": "TF_DMG_CUSTOM_SPELL_LIGHTNING$0", - "kind": "keyword", - "details": "69" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_METEOR", - "annotation": "TF_DMG_CUSTOM_SPELL_METEOR", - "contents": "TF_DMG_CUSTOM_SPELL_METEOR$0", - "kind": "keyword", - "details": "68" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_MIRV", - "annotation": "TF_DMG_CUSTOM_SPELL_MIRV", - "contents": "TF_DMG_CUSTOM_SPELL_MIRV$0", - "kind": "keyword", - "details": "67" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_MONOCULUS", - "annotation": "TF_DMG_CUSTOM_SPELL_MONOCULUS", - "contents": "TF_DMG_CUSTOM_SPELL_MONOCULUS$0", - "kind": "keyword", - "details": "71" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_SKELETON", - "annotation": "TF_DMG_CUSTOM_SPELL_SKELETON", - "contents": "TF_DMG_CUSTOM_SPELL_SKELETON$0", - "kind": "keyword", - "details": "66" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_TELEPORT", - "annotation": "TF_DMG_CUSTOM_SPELL_TELEPORT", - "contents": "TF_DMG_CUSTOM_SPELL_TELEPORT$0", - "kind": "keyword", - "details": "65" - }, - { - "trigger": "TF_DMG_CUSTOM_SPELL_TINY", - "annotation": "TF_DMG_CUSTOM_SPELL_TINY", - "contents": "TF_DMG_CUSTOM_SPELL_TINY$0", - "kind": "keyword", - "details": "74" - }, - { - "trigger": "TF_DMG_CUSTOM_STANDARD_STICKY", - "annotation": "TF_DMG_CUSTOM_STANDARD_STICKY", - "contents": "TF_DMG_CUSTOM_STANDARD_STICKY$0", - "kind": "keyword", - "details": "31" - }, - { - "trigger": "TF_DMG_CUSTOM_STICKBOMB_EXPLOSION", - "annotation": "TF_DMG_CUSTOM_STICKBOMB_EXPLOSION", - "contents": "TF_DMG_CUSTOM_STICKBOMB_EXPLOSION$0", - "kind": "keyword", - "details": "42" - }, - { - "trigger": "TF_DMG_CUSTOM_SUICIDE", - "annotation": "TF_DMG_CUSTOM_SUICIDE", - "contents": "TF_DMG_CUSTOM_SUICIDE$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_ALLCLASS_GUITAR_RIFF", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_ALLCLASS_GUITAR_RIFF", - "contents": "TF_DMG_CUSTOM_TAUNTATK_ALLCLASS_GUITAR_RIFF$0", - "kind": "keyword", - "details": "62" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_ARMAGEDDON", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_ARMAGEDDON", - "contents": "TF_DMG_CUSTOM_TAUNTATK_ARMAGEDDON$0", - "kind": "keyword", - "details": "52" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_ARROW_STAB", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_ARROW_STAB", - "contents": "TF_DMG_CUSTOM_TAUNTATK_ARROW_STAB$0", - "kind": "keyword", - "details": "15" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_BARBARIAN_SWING", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_BARBARIAN_SWING", - "contents": "TF_DMG_CUSTOM_TAUNTATK_BARBARIAN_SWING$0", - "kind": "keyword", - "details": "24" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_ARM_KILL", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_ARM_KILL", - "contents": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_ARM_KILL$0", - "kind": "keyword", - "details": "38" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_GUITAR_SMASH", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_GUITAR_SMASH", - "contents": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_GUITAR_SMASH$0", - "kind": "keyword", - "details": "33" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_FENCING", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_FENCING", - "contents": "TF_DMG_CUSTOM_TAUNTATK_FENCING$0", - "kind": "keyword", - "details": "13" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_GASBLAST", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_GASBLAST", - "contents": "TF_DMG_CUSTOM_TAUNTATK_GASBLAST$0", - "kind": "keyword", - "details": "82" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_GRAND_SLAM", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_GRAND_SLAM", - "contents": "TF_DMG_CUSTOM_TAUNTATK_GRAND_SLAM$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_GRENADE", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_GRENADE", - "contents": "TF_DMG_CUSTOM_TAUNTATK_GRENADE$0", - "kind": "keyword", - "details": "21" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_HADOUKEN", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_HADOUKEN", - "contents": "TF_DMG_CUSTOM_TAUNTATK_HADOUKEN$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_HIGH_NOON", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_HIGH_NOON", - "contents": "TF_DMG_CUSTOM_TAUNTATK_HIGH_NOON$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "TF_DMG_CUSTOM_TAUNTATK_UBERSLICE", - "annotation": "TF_DMG_CUSTOM_TAUNTATK_UBERSLICE", - "contents": "TF_DMG_CUSTOM_TAUNTATK_UBERSLICE$0", - "kind": "keyword", - "details": "29" - }, - { - "trigger": "TF_DMG_CUSTOM_TELEFRAG", - "annotation": "TF_DMG_CUSTOM_TELEFRAG", - "contents": "TF_DMG_CUSTOM_TELEFRAG$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "TF_DMG_CUSTOM_THROWABLE", - "annotation": "TF_DMG_CUSTOM_THROWABLE", - "contents": "TF_DMG_CUSTOM_THROWABLE$0", - "kind": "keyword", - "details": "63" - }, - { - "trigger": "TF_DMG_CUSTOM_THROWABLE_KILL", - "annotation": "TF_DMG_CUSTOM_THROWABLE_KILL", - "contents": "TF_DMG_CUSTOM_THROWABLE_KILL$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "TF_DMG_CUSTOM_TRIGGER_HURT", - "annotation": "TF_DMG_CUSTOM_TRIGGER_HURT", - "contents": "TF_DMG_CUSTOM_TRIGGER_HURT$0", - "kind": "keyword", - "details": "40" - }, - { - "trigger": "TF_DMG_WRENCH_FIX", - "annotation": "TF_DMG_WRENCH_FIX", - "contents": "TF_DMG_WRENCH_FIX$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "TF_NAV_BLOCKED", - "annotation": "TF_NAV_BLOCKED", - "contents": "TF_NAV_BLOCKED$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "TF_NAV_BLOCKED_AFTER_POINT_CAPTURE", - "annotation": "TF_NAV_BLOCKED_AFTER_POINT_CAPTURE", - "contents": "TF_NAV_BLOCKED_AFTER_POINT_CAPTURE$0", - "kind": "keyword", - "details": "8192" - }, - { - "trigger": "TF_NAV_BLOCKED_UNTIL_POINT_CAPTURE", - "annotation": "TF_NAV_BLOCKED_UNTIL_POINT_CAPTURE", - "contents": "TF_NAV_BLOCKED_UNTIL_POINT_CAPTURE$0", - "kind": "keyword", - "details": "16384" - }, - { - "trigger": "TF_NAV_BLUE_ONE_WAY_DOOR", - "annotation": "TF_NAV_BLUE_ONE_WAY_DOOR", - "contents": "TF_NAV_BLUE_ONE_WAY_DOOR$0", - "kind": "keyword", - "details": "32768" - }, - { - "trigger": "TF_NAV_BLUE_SENTRY_DANGER", - "annotation": "TF_NAV_BLUE_SENTRY_DANGER", - "contents": "TF_NAV_BLUE_SENTRY_DANGER$0", - "kind": "keyword", - "details": "128" - }, - { - "trigger": "TF_NAV_BLUE_SETUP_GATE", - "annotation": "TF_NAV_BLUE_SETUP_GATE", - "contents": "TF_NAV_BLUE_SETUP_GATE$0", - "kind": "keyword", - "details": "2048" - }, - { - "trigger": "TF_NAV_BOMB_CAN_DROP_HERE", - "annotation": "TF_NAV_BOMB_CAN_DROP_HERE", - "contents": "TF_NAV_BOMB_CAN_DROP_HERE$0", - "kind": "keyword", - "details": "134217728" - }, - { - "trigger": "TF_NAV_CONTROL_POINT", - "annotation": "TF_NAV_CONTROL_POINT", - "contents": "TF_NAV_CONTROL_POINT$0", - "kind": "keyword", - "details": "64" - }, - { - "trigger": "TF_NAV_DOOR_ALWAYS_BLOCKS", - "annotation": "TF_NAV_DOOR_ALWAYS_BLOCKS", - "contents": "TF_NAV_DOOR_ALWAYS_BLOCKS$0", - "kind": "keyword", - "details": "536870912" - }, - { - "trigger": "TF_NAV_DOOR_NEVER_BLOCKS", - "annotation": "TF_NAV_DOOR_NEVER_BLOCKS", - "contents": "TF_NAV_DOOR_NEVER_BLOCKS$0", - "kind": "keyword", - "details": "268435456" - }, - { - "trigger": "TF_NAV_ESCAPE_ROUTE", - "annotation": "TF_NAV_ESCAPE_ROUTE", - "contents": "TF_NAV_ESCAPE_ROUTE$0", - "kind": "keyword", - "details": "8388608" - }, - { - "trigger": "TF_NAV_ESCAPE_ROUTE_VISIBLE", - "annotation": "TF_NAV_ESCAPE_ROUTE_VISIBLE", - "contents": "TF_NAV_ESCAPE_ROUTE_VISIBLE$0", - "kind": "keyword", - "details": "16777216" - }, - { - "trigger": "TF_NAV_HAS_AMMO", - "annotation": "TF_NAV_HAS_AMMO", - "contents": "TF_NAV_HAS_AMMO$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "TF_NAV_HAS_HEALTH", - "annotation": "TF_NAV_HAS_HEALTH", - "contents": "TF_NAV_HAS_HEALTH$0", - "kind": "keyword", - "details": "32" - }, - { - "trigger": "TF_NAV_INVALID", - "annotation": "TF_NAV_INVALID", - "contents": "TF_NAV_INVALID$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "TF_NAV_NO_SPAWNING", - "annotation": "TF_NAV_NO_SPAWNING", - "contents": "TF_NAV_NO_SPAWNING$0", - "kind": "keyword", - "details": "33554432" - }, - { - "trigger": "TF_NAV_PERSISTENT_ATTRIBUTES", - "annotation": "TF_NAV_PERSISTENT_ATTRIBUTES", - "contents": "TF_NAV_PERSISTENT_ATTRIBUTES$0", - "kind": "keyword", - "details": "1988098048" - }, - { - "trigger": "TF_NAV_RED_ONE_WAY_DOOR", - "annotation": "TF_NAV_RED_ONE_WAY_DOOR", - "contents": "TF_NAV_RED_ONE_WAY_DOOR$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "TF_NAV_RED_SENTRY_DANGER", - "annotation": "TF_NAV_RED_SENTRY_DANGER", - "contents": "TF_NAV_RED_SENTRY_DANGER$0", - "kind": "keyword", - "details": "256" - }, - { - "trigger": "TF_NAV_RED_SETUP_GATE", - "annotation": "TF_NAV_RED_SETUP_GATE", - "contents": "TF_NAV_RED_SETUP_GATE$0", - "kind": "keyword", - "details": "4096" - }, - { - "trigger": "TF_NAV_RESCUE_CLOSET", - "annotation": "TF_NAV_RESCUE_CLOSET", - "contents": "TF_NAV_RESCUE_CLOSET$0", - "kind": "keyword", - "details": "67108864" - }, - { - "trigger": "TF_NAV_SENTRY_SPOT", - "annotation": "TF_NAV_SENTRY_SPOT", - "contents": "TF_NAV_SENTRY_SPOT$0", - "kind": "keyword", - "details": "4194304" - }, - { - "trigger": "TF_NAV_SNIPER_SPOT", - "annotation": "TF_NAV_SNIPER_SPOT", - "contents": "TF_NAV_SNIPER_SPOT$0", - "kind": "keyword", - "details": "2097152" - }, - { - "trigger": "TF_NAV_SPAWN_ROOM_BLUE", - "annotation": "TF_NAV_SPAWN_ROOM_BLUE", - "contents": "TF_NAV_SPAWN_ROOM_BLUE$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "TF_NAV_SPAWN_ROOM_EXIT", - "annotation": "TF_NAV_SPAWN_ROOM_EXIT", - "contents": "TF_NAV_SPAWN_ROOM_EXIT$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "TF_NAV_SPAWN_ROOM_RED", - "annotation": "TF_NAV_SPAWN_ROOM_RED", - "contents": "TF_NAV_SPAWN_ROOM_RED$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "TF_NAV_UNBLOCKABLE", - "annotation": "TF_NAV_UNBLOCKABLE", - "contents": "TF_NAV_UNBLOCKABLE$0", - "kind": "keyword", - "details": "1073741824" - }, - { - "trigger": "TF_NAV_WITH_FIFTH_POINT", - "annotation": "TF_NAV_WITH_FIFTH_POINT", - "contents": "TF_NAV_WITH_FIFTH_POINT$0", - "kind": "keyword", - "details": "1048576" - }, - { - "trigger": "TF_NAV_WITH_FOURTH_POINT", - "annotation": "TF_NAV_WITH_FOURTH_POINT", - "contents": "TF_NAV_WITH_FOURTH_POINT$0", - "kind": "keyword", - "details": "524288" - }, - { - "trigger": "TF_NAV_WITH_SECOND_POINT", - "annotation": "TF_NAV_WITH_SECOND_POINT", - "contents": "TF_NAV_WITH_SECOND_POINT$0", - "kind": "keyword", - "details": "131072" - }, - { - "trigger": "TF_NAV_WITH_THIRD_POINT", - "annotation": "TF_NAV_WITH_THIRD_POINT", - "contents": "TF_NAV_WITH_THIRD_POINT$0", - "kind": "keyword", - "details": "262144" - }, - { - "trigger": "TF_TEAM_BLUE", - "annotation": "TF_TEAM_BLUE", - "contents": "TF_TEAM_BLUE$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "TF_TEAM_COUNT", - "annotation": "TF_TEAM_COUNT", - "contents": "TF_TEAM_COUNT$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "TF_TEAM_PVE_DEFENDERS", - "annotation": "TF_TEAM_PVE_DEFENDERS", - "contents": "TF_TEAM_PVE_DEFENDERS$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "TF_TEAM_PVE_INVADERS", - "annotation": "TF_TEAM_PVE_INVADERS", - "contents": "TF_TEAM_PVE_INVADERS$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "TF_TEAM_PVE_INVADERS_GIANTS", - "annotation": "TF_TEAM_PVE_INVADERS_GIANTS", - "contents": "TF_TEAM_PVE_INVADERS_GIANTS$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "TF_TEAM_RED", - "annotation": "TF_TEAM_RED", - "contents": "TF_TEAM_RED$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "TakeDamage", - "annotation": "void TakeDamage(float flDamage, int nDamageType, handle hAttacker)", - "contents": "TakeDamage(${1:float flDamage}, ${2:int nDamageType}, ${3:handle hAttacker})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "TakeDamageCustom", - "annotation": "void TakeDamageCustom(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType, int nCustomDamageType)", - "contents": "TakeDamageCustom(${1:handle hInflictor}, ${2:handle hAttacker}, ${3:handle hWeapon}, ${4:Vector vecDamageForce}, ${5:Vector vecDamagePosition}, ${6:float flDamage}, ${7:int nDamageType}, ${8:int nCustomDamageType})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "TakeDamageEx", - "annotation": "void TakeDamageEx(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType)", - "contents": "TakeDamageEx(${1:handle hInflictor}, ${2:handle hAttacker}, ${3:handle hWeapon}, ${4:Vector vecDamageForce}, ${5:Vector vecDamagePosition}, ${6:float flDamage}, ${7:int nDamageType})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Tau", - "annotation": "Tau", - "contents": "Tau$0", - "kind": "keyword", - "details": "6.28319" - }, - { - "trigger": "Teleport", - "annotation": "void Teleport(bool, Vector, bool, QAngle, bool, Vector)", - "contents": "Teleport(${1:bool}, ${2:Vector}, ${3:bool}, ${4:QAngle}, ${5:bool}, ${6:Vector})$0", - "kind": "keyword", - "details": "Teleports this entity" - }, - { - "trigger": "TerminateScriptScope", - "annotation": "void TerminateScriptScope()", - "contents": "TerminateScriptScope()$0", - "kind": "keyword", - "details": "Clear the current script scope for this entity" - }, - { - "trigger": "Time", - "annotation": "float Time()", - "contents": "Time()$0", - "kind": "keyword", - "details": "Get the current server time" - }, - { - "trigger": "ToKVString", - "annotation": "string ToKVString()", - "contents": "ToKVString()$0", - "kind": "keyword", - "details": "Returns a string with the values separated by one space." - }, - { - "trigger": "ToQAngle", - "annotation": "QAngle ToQAngle()", - "contents": "ToQAngle()$0", - "kind": "keyword", - "details": "Returns the angles resulting from the rotation." - }, - { - "trigger": "ToQuat", - "annotation": "ToQuat()", - "contents": "ToQuat()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "ToggleFlag", - "annotation": "ToggleFlag(int)", - "contents": "ToggleFlag(${1:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "TraceHull", - "annotation": "bool TraceHull(table traceTable)", - "contents": "TraceHull(${1:table traceTable})$0", - "kind": "keyword", - "details": "Input Table: start, end, hullmin, hullmax, mask, ignore. Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props" - }, - { - "trigger": "TraceLine", - "annotation": "float TraceLine(Vector, Vector, handle)", - "contents": "TraceLine(${1:Vector}, ${2:Vector}, ${3:handle})$0", - "kind": "keyword", - "details": "given 2 points & ent to ignore, return fraction along line that hits world or models" - }, - { - "trigger": "TraceLineEx", - "annotation": "bool TraceLineEx(table traceTable)", - "contents": "TraceLineEx(${1:table traceTable})$0", - "kind": "keyword", - "details": "Input Table: start, end, mask, ignore. Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props" - }, - { - "trigger": "TraceLinePlayersIncluded", - "annotation": "float TraceLinePlayersIncluded(Vector, Vector, handle)", - "contents": "TraceLinePlayersIncluded(${1:Vector}, ${2:Vector}, ${3:handle})$0", - "kind": "keyword", - "details": "given 2 points & ent to ignore, return fraction along line that hits world, models, players or npcs" - }, - { - "trigger": "TryToPickupBuilding", - "annotation": "bool TryToPickupBuilding()", - "contents": "TryToPickupBuilding()$0", - "kind": "keyword", - "details": "Make the player attempt to pick up a building in front of them" - }, - { - "trigger": "UNDEFINED", - "annotation": "UNDEFINED", - "contents": "UNDEFINED$0", - "kind": "keyword", - "details": "-1" - }, - { - "trigger": "UP", - "annotation": "UP", - "contents": "UP$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "USE_BOSS_HEALTH_BAR", - "annotation": "USE_BOSS_HEALTH_BAR", - "contents": "USE_BOSS_HEALTH_BAR$0", - "kind": "keyword", - "details": "65536" - }, - { - "trigger": "UnblockArea", - "annotation": "void UnblockArea()", - "contents": "UnblockArea()$0", - "kind": "keyword", - "details": "Unblocks this area" - }, - { - "trigger": "UnhookRootMetamethod", - "annotation": "UnhookRootMetamethod()", - "contents": "UnhookRootMetamethod()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "UniqueString", - "annotation": "string UniqueString(string input)", - "contents": "UniqueString(${1:string input})$0", - "kind": "keyword", - "details": "Generate a string guaranteed to be unique across the life of the script VM, with an optional root string. Useful for adding data to tables when not sure what keys are already in use in that table." - }, - { - "trigger": "UnregisterAvoidanceObstacle", - "annotation": "void UnregisterAvoidanceObstacle(handle entity)", - "contents": "UnregisterAvoidanceObstacle(${1:handle entity})$0", - "kind": "keyword", - "details": "unregisters avoidance obstacle" - }, - { - "trigger": "Up", - "annotation": "Up()", - "contents": "Up()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "UpdateDelayedThreatNotices", - "annotation": "void UpdateDelayedThreatNotices()", - "contents": "UpdateDelayedThreatNotices()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "UsePlayerReadyStatusMode", - "annotation": "bool UsePlayerReadyStatusMode()", - "contents": "UsePlayerReadyStatusMode()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "UsesClipsForAmmo1", - "annotation": "bool UsesClipsForAmmo1()", - "contents": "UsesClipsForAmmo1()$0", - "kind": "keyword", - "details": "Do we use clips for ammo 1?" - }, - { - "trigger": "UsesClipsForAmmo2", - "annotation": "bool UsesClipsForAmmo2()", - "contents": "UsesClipsForAmmo2()$0", - "kind": "keyword", - "details": "Do we use clips for ammo 2?" - }, - { - "trigger": "UsesPrimaryAmmo", - "annotation": "bool UsesPrimaryAmmo()", - "contents": "UsesPrimaryAmmo()$0", - "kind": "keyword", - "details": "Do we use primary ammo?" - }, - { - "trigger": "UsesSecondaryAmmo", - "annotation": "bool UsesSecondaryAmmo()", - "contents": "UsesSecondaryAmmo()$0", - "kind": "keyword", - "details": "Do we use secondary ammo?" - }, - { - "trigger": "VSquirrel_OnCreateScope", - "annotation": "table VSquirrel_OnCreateScope(any value, table scope)", - "contents": "VSquirrel_OnCreateScope(${1:any value}, ${2:table scope})$0", - "kind": "keyword", - "details": "Creates a new scope with the name of value in the submitted table (includes unique params)." - }, - { - "trigger": "VSquirrel_OnReleaseScope", - "annotation": "void VSquirrel_OnReleaseScope(table createdScope)", - "contents": "VSquirrel_OnReleaseScope(${1:table createdScope})$0", - "kind": "keyword", - "details": "Removes a scope created via VSquirrel_OnCreateScope." - }, - { - "trigger": "ValidateScriptScope", - "annotation": "bool ValidateScriptScope()", - "contents": "ValidateScriptScope()$0", - "kind": "keyword", - "details": "Ensure that an entity's script scope has been created" - }, - { - "trigger": "Vector2D", - "annotation": "Vector2D(float, float)", - "contents": "Vector2D(${1:float}, ${2:float})$0", - "kind": "keyword", - "details": "Creates a new 2D vector with the specified Cartesian coordiantes." - }, - { - "trigger": "Vector4D", - "annotation": "Vector4D(float, float, float, float)", - "contents": "Vector4D(${1:float}, ${2:float}, ${3:float}, ${4:float})$0", - "kind": "keyword", - "details": "Creates a new 4D vector with the specified Cartesian coordiantes." - }, - { - "trigger": "ViewPunch", - "annotation": "void ViewPunch(QAngle)", - "contents": "ViewPunch(${1:QAngle})$0", - "kind": "keyword", - "details": "Ow! Punches the player's view" - }, - { - "trigger": "ViewPunchReset", - "annotation": "void ViewPunchReset(float)", - "contents": "ViewPunchReset(${1:float})$0", - "kind": "keyword", - "details": "Reset's the player's view punch" - }, - { - "trigger": "VisibleInWeaponSelection", - "annotation": "bool VisibleInWeaponSelection()", - "contents": "VisibleInWeaponSelection()$0", - "kind": "keyword", - "details": "Is this weapon visible in weapon selection" - }, - { - "trigger": "WEST", - "annotation": "WEST", - "contents": "WEST$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "Walk", - "annotation": "void Walk()", - "contents": "Walk()$0", - "kind": "keyword", - "details": "Set desired movement speed to walking" - }, - { - "trigger": "WasInCond", - "annotation": "bool WasInCond(ETFCond cond)", - "contents": "WasInCond(${1:ETFCond cond})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Weapon_CanUse", - "annotation": "bool Weapon_CanUse(handle weapon)", - "contents": "Weapon_CanUse(${1:handle weapon})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Weapon_Drop", - "annotation": "void Weapon_Drop(handle weapon)", - "contents": "Weapon_Drop(${1:handle weapon})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Weapon_Drop", - "annotation": "void Weapon_Drop(handle weapon, Vector target, Vector velocity)", - "contents": "Weapon_Drop(${1:handle weapon}, ${2:Vector target}, ${3:Vector velocity})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Weapon_Equip", - "annotation": "void Weapon_Equip(handle weapon)", - "contents": "Weapon_Equip(${1:handle weapon})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Weapon_SetLast", - "annotation": "void Weapon_SetLast(handle weapon)", - "contents": "Weapon_SetLast(${1:handle weapon})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Weapon_ShootPosition", - "annotation": "vector Weapon_ShootPosition()", - "contents": "Weapon_ShootPosition()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Weapon_Switch", - "annotation": "void Weapon_Switch(handle weapon)", - "contents": "Weapon_Switch(${1:handle weapon})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Yaw", - "annotation": "Yaw()", - "contents": "Yaw()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "Zero", - "annotation": "Zero", - "contents": "Zero$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "__CollectEventCallbacks", - "annotation": "void __CollectEventCallbacks(scope, prefix, globalTableName, regFunc)", - "contents": "__CollectEventCallbacks(${1:scope}, ${2:prefix}, ${3:globalTableName}, ${4:regFunc})$0", - "kind": "keyword", - "details": "Overloaded function. Its only used for this: __CollectEventCallbacks(scope, \"OnGameEvent_\", \"GameEventCallbacks\", ::RegisterScriptGameEventListener)" - }, - { - "trigger": "__CollectGameEventCallbacks", - "annotation": "void __CollectGameEventCallbacks(scope)", - "contents": "__CollectGameEventCallbacks(${1:scope})$0", - "kind": "keyword", - "details": "Wrapper that registers callbacks for both OnGameEvent_x and OnScriptEvent_ functions. Done using the __CollectEventCallbacks function." - }, - { - "trigger": "__DumpScope", - "annotation": "void __DumpScope(int indentation, handle scope)", - "contents": "__DumpScope(${1:int indentation}, ${2:handle scope})$0", - "kind": "keyword", - "details": "Dumps contents of everything in the scope." - }, - { - "trigger": "__KeyValueFromFloat", - "annotation": "__KeyValueFromFloat(string, float)", - "contents": "__KeyValueFromFloat(${1:string}, ${2:float})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "__KeyValueFromInt", - "annotation": "__KeyValueFromInt(string, int)", - "contents": "__KeyValueFromInt(${1:string}, ${2:int})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "__KeyValueFromString", - "annotation": "__KeyValueFromString(string, string)", - "contents": "__KeyValueFromString(${1:string}, ${2:string})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "__KeyValueFromVector", - "annotation": "__KeyValueFromVector(string, Vector)", - "contents": "__KeyValueFromVector(${1:string}, ${2:Vector})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "__ReplaceClosures", - "annotation": "void __ReplaceClosures(script, scope)", - "contents": "__ReplaceClosures(${1:script}, ${2:scope})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "__RunEventCallbacks", - "annotation": "void __RunEventCallbacks(event, params, prefix, globalTableName, bWarnIfMissing)", - "contents": "__RunEventCallbacks(${1:event}, ${2:params}, ${3:prefix}, ${4:globalTableName}, ${5:bWarnIfMissing})$0", - "kind": "keyword", - "details": "Call all functions in the callback array for the given game event" - }, - { - "trigger": "__RunGameEventCallbacks", - "annotation": "void __RunGameEventCallbacks(event, params)", - "contents": "__RunGameEventCallbacks(${1:event}, ${2:params})$0", - "kind": "keyword", - "details": "Wrapper for __RunEventCallbacks()" - }, - { - "trigger": "__RunScriptHookCallbacks", - "annotation": "void __RunScriptHookCallbacks()", - "contents": "__RunScriptHookCallbacks()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "__VScriptServerDebugHook", - "annotation": "__VScriptServerDebugHook()", - "contents": "__VScriptServerDebugHook()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "_charsize_", - "annotation": "_charsize_", - "contents": "_charsize_$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "_floatsize_", - "annotation": "_floatsize_", - "contents": "_floatsize_$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "_intsize_", - "annotation": "_intsize_", - "contents": "_intsize_$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "_version_", - "annotation": "_version_", - "contents": "_version_$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "_versionnumber_", - "annotation": "_versionnumber_", - "contents": "_versionnumber_$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "abs", - "annotation": "abs(num x)", - "contents": "abs(${1:num x})$0", - "kind": "keyword", - "details": "Returns x as integer unlike fabs()" - }, - { - "trigger": "acos", - "annotation": "acos(num x)", - "contents": "acos(${1:num x})$0", - "kind": "keyword", - "details": "Returns cos^-1(x), -1 <= x <= 1" - }, - { - "trigger": "array", - "annotation": "array(int length, any fill = null)", - "contents": "array(${1:int length}, ${2:any fill = null})$0", - "kind": "keyword", - "details": "Returns a new array of the given length where each element is set to fill (null by default)." - }, - { - "trigger": "asin", - "annotation": "asin(num x)", - "contents": "asin(${1:num x})$0", - "kind": "keyword", - "details": "Returns sin^-1(x), -1 <= x <= 1" - }, - { - "trigger": "assert", - "annotation": "assert(bool exp)", - "contents": "assert(${1:bool exp})$0", - "kind": "keyword", - "details": "Throws an assertion error if the given expression evaluates to false (i.e. the values 0, 0.0, null and false)" - }, - { - "trigger": "atan", - "annotation": "atan(num x)", - "contents": "atan(${1:num x})$0", - "kind": "keyword", - "details": "Returns tan^-1(x)" - }, - { - "trigger": "atan2", - "annotation": "atan2(num y, num x) (!)", - "contents": "atan2(${1:num y}, ${2:num x) (!})$0", - "kind": "keyword", - "details": "Returns the angle between the ray from the point (0, 0) through (x, y) and the positive x-axis, confined to (−PI, PI]. Note the order of the parameters x and y!" - }, - { - "trigger": "blob", - "annotation": "blob(int initSize = 0)", - "contents": "blob(${1:int initSize = 0})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "callee", - "annotation": "function callee()", - "contents": "callee()$0", - "kind": "keyword", - "details": "Returns the currently running closure." - }, - { - "trigger": "capture", - "annotation": "table capture(str, start)", - "contents": "capture(${1:str}, ${2:start})$0", - "kind": "keyword", - "details": "Returns an array of tables containing two indexes (\"begin\" and \"end\") of the first match of the regular expression in the string str. An array entry is created for each captured sub expressions. If no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string." - }, - { - "trigger": "ceil", - "annotation": "ceil(num x)", - "contents": "ceil(${1:num x})$0", - "kind": "keyword", - "details": "Returns the smallest integer that is >= x" - }, - { - "trigger": "chain", - "annotation": "chain()", - "contents": "chain()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "chains", - "annotation": "chains()", - "contents": "chains()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "collectgarbage", - "annotation": "int collectgarbage()", - "contents": "collectgarbage()$0", - "kind": "keyword", - "details": "Runs the garbage collector and returns the number of reference cycles found(and deleted) This function only works on garbage collector builds." - }, - { - "trigger": "compilestring", - "annotation": "any compilestring(string string, string buffername = null)", - "contents": "compilestring(${1:string string}, ${2:string buffername = null})$0", - "kind": "keyword", - "details": "Compiles a string containing a squirrel script into a function and returns it." - }, - { - "trigger": "constructor", - "annotation": "constructor()", - "contents": "constructor()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "cos", - "annotation": "cos(num x)", - "contents": "cos(${1:num x})$0", - "kind": "keyword", - "details": "Returns cos(x)" - }, - { - "trigger": "developer", - "annotation": "int developer()", - "contents": "developer()$0", - "kind": "keyword", - "details": "The current level of the developer console variable." - }, - { - "trigger": "dummy", - "annotation": "dummy()", - "contents": "dummy()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "enabledebuginfo", - "annotation": "void enabledebuginfo(any enable)", - "contents": "enabledebuginfo(${1:any enable})$0", - "kind": "keyword", - "details": "Enable/disable the debug line information generation at compile time. enable != null enables . enable == null disables." - }, - { - "trigger": "entindex", - "annotation": "int entindex()", - "contents": "entindex()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "eos", - "annotation": "int eos()", - "contents": "eos()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "error", - "annotation": "void error(string x)", - "contents": "error(${1:string x})$0", - "kind": "keyword", - "details": "Prints x in the standard error output ." - }, - { - "trigger": "exp", - "annotation": "exp(num x)", - "contents": "exp(${1:num x})$0", - "kind": "keyword", - "details": "Returns exp(x) = e^x" - }, - { - "trigger": "fabs", - "annotation": "fabs(num x)", - "contents": "fabs(${1:num x})$0", - "kind": "keyword", - "details": "Returns x as float unlike abs()" - }, - { - "trigger": "floor", - "annotation": "floor(num x)", - "contents": "floor(${1:num x})$0", - "kind": "keyword", - "details": "Returns the largest integer that is x" - }, - { - "trigger": "flush", - "annotation": "flush()", - "contents": "flush()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "format", - "annotation": "format(string, args...)", - "contents": "format(${1:string}, ${2:args...})$0", - "kind": "keyword", - "details": "Returns a formatted string" - }, - { - "trigger": "getconsttable", - "annotation": "table getconsttable()", - "contents": "getconsttable()$0", - "kind": "keyword", - "details": "Returns the const table of the VM." - }, - { - "trigger": "getroottable", - "annotation": "table getroottable()", - "contents": "getroottable()$0", - "kind": "keyword", - "details": "Returns the root table of the VM." - }, - { - "trigger": "getstackinfos", - "annotation": "table getstackinfos(int stacklevel)", - "contents": "getstackinfos(${1:int stacklevel})$0", - "kind": "keyword", - "details": "Returns the stack frame informations at the given stack level (0 is the current function 1 is the caller and so on). If the stack level doesn't exist the function returns null." - }, - { - "trigger": "kHolidayCount", - "annotation": "kHolidayCount", - "contents": "kHolidayCount$0", - "kind": "keyword", - "details": "13" - }, - { - "trigger": "kHoliday_AprilFools", - "annotation": "kHoliday_AprilFools", - "contents": "kHoliday_AprilFools$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "kHoliday_Christmas", - "annotation": "kHoliday_Christmas", - "contents": "kHoliday_Christmas$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "kHoliday_CommunityUpdate", - "annotation": "kHoliday_CommunityUpdate", - "contents": "kHoliday_CommunityUpdate$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "kHoliday_EOTL", - "annotation": "kHoliday_EOTL", - "contents": "kHoliday_EOTL$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "kHoliday_FullMoon", - "annotation": "kHoliday_FullMoon", - "contents": "kHoliday_FullMoon$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "kHoliday_Halloween", - "annotation": "kHoliday_Halloween", - "contents": "kHoliday_Halloween$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "kHoliday_HalloweenOrFullMoon", - "annotation": "kHoliday_HalloweenOrFullMoon", - "contents": "kHoliday_HalloweenOrFullMoon$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "kHoliday_HalloweenOrFullMoonOrValentines", - "annotation": "kHoliday_HalloweenOrFullMoonOrValentines", - "contents": "kHoliday_HalloweenOrFullMoonOrValentines$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "kHoliday_MeetThePyro", - "annotation": "kHoliday_MeetThePyro", - "contents": "kHoliday_MeetThePyro$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "kHoliday_None", - "annotation": "kHoliday_None", - "contents": "kHoliday_None$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "kHoliday_Soldier", - "annotation": "kHoliday_Soldier", - "contents": "kHoliday_Soldier$0", - "kind": "keyword", - "details": "12" - }, - { - "trigger": "kHoliday_TFBirthday", - "annotation": "kHoliday_TFBirthday", - "contents": "kHoliday_TFBirthday$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "kHoliday_Valentines", - "annotation": "kHoliday_Valentines", - "contents": "kHoliday_Valentines$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "kRenderEnvironmental", - "annotation": "kRenderEnvironmental", - "contents": "kRenderEnvironmental$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "kRenderFxClampMinScale", - "annotation": "kRenderFxClampMinScale", - "contents": "kRenderFxClampMinScale$0", - "kind": "keyword", - "details": "19" - }, - { - "trigger": "kRenderFxDistort", - "annotation": "kRenderFxDistort", - "contents": "kRenderFxDistort$0", - "kind": "keyword", - "details": "15" - }, - { - "trigger": "kRenderFxEnvRain", - "annotation": "kRenderFxEnvRain", - "contents": "kRenderFxEnvRain$0", - "kind": "keyword", - "details": "20" - }, - { - "trigger": "kRenderFxEnvSnow", - "annotation": "kRenderFxEnvSnow", - "contents": "kRenderFxEnvSnow$0", - "kind": "keyword", - "details": "21" - }, - { - "trigger": "kRenderFxExplode", - "annotation": "kRenderFxExplode", - "contents": "kRenderFxExplode$0", - "kind": "keyword", - "details": "17" - }, - { - "trigger": "kRenderFxFadeFast", - "annotation": "kRenderFxFadeFast", - "contents": "kRenderFxFadeFast$0", - "kind": "keyword", - "details": "6" - }, - { - "trigger": "kRenderFxFadeSlow", - "annotation": "kRenderFxFadeSlow", - "contents": "kRenderFxFadeSlow$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "kRenderFxFlickerFast", - "annotation": "kRenderFxFlickerFast", - "contents": "kRenderFxFlickerFast$0", - "kind": "keyword", - "details": "13" - }, - { - "trigger": "kRenderFxFlickerSlow", - "annotation": "kRenderFxFlickerSlow", - "contents": "kRenderFxFlickerSlow$0", - "kind": "keyword", - "details": "12" - }, - { - "trigger": "kRenderFxGlowShell", - "annotation": "kRenderFxGlowShell", - "contents": "kRenderFxGlowShell$0", - "kind": "keyword", - "details": "18" - }, - { - "trigger": "kRenderFxHologram", - "annotation": "kRenderFxHologram", - "contents": "kRenderFxHologram$0", - "kind": "keyword", - "details": "16" - }, - { - "trigger": "kRenderFxMax", - "annotation": "kRenderFxMax", - "contents": "kRenderFxMax$0", - "kind": "keyword", - "details": "25" - }, - { - "trigger": "kRenderFxNoDissipation", - "annotation": "kRenderFxNoDissipation", - "contents": "kRenderFxNoDissipation$0", - "kind": "keyword", - "details": "14" - }, - { - "trigger": "kRenderFxNone", - "annotation": "kRenderFxNone", - "contents": "kRenderFxNone$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "kRenderFxPulseFast", - "annotation": "kRenderFxPulseFast", - "contents": "kRenderFxPulseFast$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "kRenderFxPulseFastWide", - "annotation": "kRenderFxPulseFastWide", - "contents": "kRenderFxPulseFastWide$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "kRenderFxPulseFastWider", - "annotation": "kRenderFxPulseFastWider", - "contents": "kRenderFxPulseFastWider$0", - "kind": "keyword", - "details": "24" - }, - { - "trigger": "kRenderFxPulseSlow", - "annotation": "kRenderFxPulseSlow", - "contents": "kRenderFxPulseSlow$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "kRenderFxPulseSlowWide", - "annotation": "kRenderFxPulseSlowWide", - "contents": "kRenderFxPulseSlowWide$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "kRenderFxRagdoll", - "annotation": "kRenderFxRagdoll", - "contents": "kRenderFxRagdoll$0", - "kind": "keyword", - "details": "23" - }, - { - "trigger": "kRenderFxSolidFast", - "annotation": "kRenderFxSolidFast", - "contents": "kRenderFxSolidFast$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "kRenderFxSolidSlow", - "annotation": "kRenderFxSolidSlow", - "contents": "kRenderFxSolidSlow$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "kRenderFxSpotlight", - "annotation": "kRenderFxSpotlight", - "contents": "kRenderFxSpotlight$0", - "kind": "keyword", - "details": "22" - }, - { - "trigger": "kRenderFxStrobeFast", - "annotation": "kRenderFxStrobeFast", - "contents": "kRenderFxStrobeFast$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "kRenderFxStrobeFaster", - "annotation": "kRenderFxStrobeFaster", - "contents": "kRenderFxStrobeFaster$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "kRenderFxStrobeSlow", - "annotation": "kRenderFxStrobeSlow", - "contents": "kRenderFxStrobeSlow$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "kRenderGlow", - "annotation": "kRenderGlow", - "contents": "kRenderGlow$0", - "kind": "keyword", - "details": "3" - }, - { - "trigger": "kRenderModeCount", - "annotation": "kRenderModeCount", - "contents": "kRenderModeCount$0", - "kind": "keyword", - "details": "11" - }, - { - "trigger": "kRenderNone", - "annotation": "kRenderNone", - "contents": "kRenderNone$0", - "kind": "keyword", - "details": "10" - }, - { - "trigger": "kRenderNormal", - "annotation": "kRenderNormal", - "contents": "kRenderNormal$0", - "kind": "keyword", - "details": "0" - }, - { - "trigger": "kRenderTransAdd", - "annotation": "kRenderTransAdd", - "contents": "kRenderTransAdd$0", - "kind": "keyword", - "details": "5" - }, - { - "trigger": "kRenderTransAddFrameBlend", - "annotation": "kRenderTransAddFrameBlend", - "contents": "kRenderTransAddFrameBlend$0", - "kind": "keyword", - "details": "7" - }, - { - "trigger": "kRenderTransAlpha", - "annotation": "kRenderTransAlpha", - "contents": "kRenderTransAlpha$0", - "kind": "keyword", - "details": "4" - }, - { - "trigger": "kRenderTransAlphaAdd", - "annotation": "kRenderTransAlphaAdd", - "contents": "kRenderTransAlphaAdd$0", - "kind": "keyword", - "details": "8" - }, - { - "trigger": "kRenderTransColor", - "annotation": "kRenderTransColor", - "contents": "kRenderTransColor$0", - "kind": "keyword", - "details": "1" - }, - { - "trigger": "kRenderTransTexture", - "annotation": "kRenderTransTexture", - "contents": "kRenderTransTexture$0", - "kind": "keyword", - "details": "2" - }, - { - "trigger": "kRenderWorldGlow", - "annotation": "kRenderWorldGlow", - "contents": "kRenderWorldGlow$0", - "kind": "keyword", - "details": "9" - }, - { - "trigger": "len", - "annotation": "int len()", - "contents": "len()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "log", - "annotation": "log(num x)", - "contents": "log(${1:num x})$0", - "kind": "keyword", - "details": "Returns log_e(x) = ln(x)" - }, - { - "trigger": "log10", - "annotation": "log10(num x)", - "contents": "log10(${1:num x})$0", - "kind": "keyword", - "details": "Returns log_10(x)" - }, - { - "trigger": "lstrip", - "annotation": "lstrip(string)", - "contents": "lstrip(${1:string})$0", - "kind": "keyword", - "details": "Removes whitespace at the beginning of the given string" - }, - { - "trigger": "m_bindNamesStack", - "annotation": "m_bindNamesStack()", - "contents": "m_bindNamesStack()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "m_fixupSet", - "annotation": "m_fixupSet()", - "contents": "m_fixupSet()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "m_targetTable", - "annotation": "m_targetTable()", - "contents": "m_targetTable()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "match", - "annotation": "bool match(str)", - "contents": "match(${1:str})$0", - "kind": "keyword", - "details": "Returns a true if the regular expression matches the string str, otherwise returns false." - }, - { - "trigger": "newthread", - "annotation": "coroutine newthread(function threadfunc)", - "contents": "newthread(${1:function threadfunc})$0", - "kind": "keyword", - "details": "Creates a new cooperative thread object(coroutine) and returns it ." - }, - { - "trigger": "pow", - "annotation": "pow(num x, num y)", - "contents": "pow(${1:num x}, ${2:num y})$0", - "kind": "keyword", - "details": "Returns x_y" - }, - { - "trigger": "prefix", - "annotation": "prefix()", - "contents": "prefix()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "print", - "annotation": "print(string message)", - "contents": "print(${1:string message})$0", - "kind": "keyword", - "details": "Prints the given parameter but with no newline unlike printl()" - }, - { - "trigger": "printl", - "annotation": "void printl(string message)", - "contents": "printl(${1:string message})$0", - "kind": "keyword", - "details": "Prints message to console with a line feed after." - }, - { - "trigger": "rand", - "annotation": "rand()", - "contents": "rand()$0", - "kind": "keyword", - "details": "Returns a random integer with 0 <= rand() <= RAND_MAX" - }, - { - "trigger": "readblob", - "annotation": "blob readblob(int numberOfBytes)", - "contents": "readblob(${1:int numberOfBytes})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "readn", - "annotation": "any readn(char dataType)", - "contents": "readn(${1:char dataType})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "realPrint", - "annotation": "void realPrint(string message)", - "contents": "realPrint(${1:string message})$0", - "kind": "keyword", - "details": "Identical to print. print seems to be a wrapper for this." - }, - { - "trigger": "regexp", - "annotation": "regexp()", - "contents": "regexp()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "resize", - "annotation": "void resize(int newSize)", - "contents": "resize(${1:int newSize})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "resurrectunreachable", - "annotation": "array resurrectunreachable()", - "contents": "resurrectunreachable()$0", - "kind": "keyword", - "details": "Runs the garbage collector and returns an array containing all unreachable object found. If no unreachable object is found, null is returned instead. This function is meant to help debugging reference cycles. This function only works on garbage collector builds." - }, - { - "trigger": "rstrip", - "annotation": "rstrip(string)", - "contents": "rstrip(${1:string})$0", - "kind": "keyword", - "details": "Removes whitespace at the end of the given string" - }, - { - "trigger": "scope", - "annotation": "scope()", - "contents": "scope()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "search", - "annotation": "table search(str, start)", - "contents": "search(${1:str}, ${2:start})$0", - "kind": "keyword", - "details": "Returns a table containing two indexes (\"begin\" and \"end\") of the first match of the regular expression in the string st, otherwise if no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string." - }, - { - "trigger": "seek", - "annotation": "int seek(int offset, int offsetBasis)", - "contents": "seek(${1:int offset}, ${2:int offsetBasis})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "setconsttable", - "annotation": "table setconsttable(table consttable)", - "contents": "setconsttable(${1:table consttable})$0", - "kind": "keyword", - "details": "Sets the const table of the VM which also returns the previous const table." - }, - { - "trigger": "setdebughook", - "annotation": "void setdebughook(function hook_func)", - "contents": "setdebughook(${1:function hook_func})$0", - "kind": "keyword", - "details": "Sets the debug hook." - }, - { - "trigger": "seterrorhandler", - "annotation": "void seterrorhandler(function func)", - "contents": "seterrorhandler(${1:function func})$0", - "kind": "keyword", - "details": "Sets the runtime error handler ." - }, - { - "trigger": "setroottable", - "annotation": "table setroottable(table roottable)", - "contents": "setroottable(${1:table roottable})$0", - "kind": "keyword", - "details": "Sets the root table of the VM which also returns the previous root table." - }, - { - "trigger": "sin", - "annotation": "sin(num x)", - "contents": "sin(${1:num x})$0", - "kind": "keyword", - "details": "Returns sin(x)" - }, - { - "trigger": "split", - "annotation": "string split(string str, string separator')", - "contents": "split(${1:string str}, ${2:string separator'})$0", - "kind": "keyword", - "details": "Returns an array of strings split at each point where a separator character occurs in str. The separator is not returned as part of any array element. the parameter separators is a string that specifies the characters as to be used for the splitting." - }, - { - "trigger": "sqrt", - "annotation": "sqrt(num x)", - "contents": "sqrt(${1:num x})$0", - "kind": "keyword", - "details": "Returns the square root of x" - }, - { - "trigger": "srand", - "annotation": "srand(num seed)", - "contents": "srand(${1:num seed})$0", - "kind": "keyword", - "details": "Sets the starting point for generating a series of pseudorandom integers" - }, - { - "trigger": "strip", - "annotation": "strip(string)", - "contents": "strip(${1:string})$0", - "kind": "keyword", - "details": "Removes whitespace at the beginning and end of the given string" - }, - { - "trigger": "subexpcount", - "annotation": "subexpcount()", - "contents": "subexpcount()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "suspend", - "annotation": "void suspend(any ret)", - "contents": "suspend(${1:any ret})$0", - "kind": "keyword", - "details": "Suspends the coroutine that called this function." - }, - { - "trigger": "swap2", - "annotation": "void swap2()", - "contents": "swap2()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "swap4", - "annotation": "void swap4()", - "contents": "swap4()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "swapfloat", - "annotation": "float swapfloat(float value)", - "contents": "swapfloat(${1:float value})$0", - "kind": "keyword", - "details": "Reverse byte order of the four bytes" - }, - { - "trigger": "tan", - "annotation": "tan(num x)", - "contents": "tan(${1:num x})$0", - "kind": "keyword", - "details": "Returns tan(x)" - }, - { - "trigger": "tell", - "annotation": "int tell()", - "contents": "tell()$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "tostring", - "annotation": "string tostring()", - "contents": "tostring()$0", - "kind": "keyword", - "details": "Returns a human-readable string." - }, - { - "trigger": "type", - "annotation": "type(var)", - "contents": "type(${1:var})$0", - "kind": "keyword", - "details": "Returns var._typeof(), i.e. the type of the given parameter as a string" - }, - { - "trigger": "writeblob", - "annotation": "void writeblob (blob blob)", - "contents": "(${1:blob blob})$0", - "kind": "keyword", - "details": "" - }, - { - "trigger": "writen", - "annotation": "void writen(num value, char dataType)", - "contents": "writen(${1:num value}, ${2:char dataType})$0", - "kind": "keyword", - "details": "" - } - ] + "scope": "source.nut", + "completions": [ + { + "trigger": "AGGRESSIVE", + "annotation": "AGGRESSIVE", + "contents": "AGGRESSIVE$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "AIR_CHARGE_ONLY", + "annotation": "AIR_CHARGE_ONLY", + "contents": "AIR_CHARGE_ONLY$0", + "kind": "keyword", + "details": "524288" + }, + { + "trigger": "ALL_VISIBLE_CONTENTS", + "annotation": "ALL_VISIBLE_CONTENTS", + "contents": "ALL_VISIBLE_CONTENTS$0", + "kind": "keyword", + "details": "255" + }, + { + "trigger": "ALWAYS_CRIT", + "annotation": "ALWAYS_CRIT", + "contents": "ALWAYS_CRIT$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "ALWAYS_FIRE_WEAPON", + "annotation": "ALWAYS_FIRE_WEAPON", + "contents": "ALWAYS_FIRE_WEAPON$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "AUTO_JUMP", + "annotation": "AUTO_JUMP", + "contents": "AUTO_JUMP$0", + "kind": "keyword", + "details": "262144" + }, + { + "trigger": "AddAttribute", + "annotation": "void AddAttribute(string name, float value, float duration)", + "contents": "AddAttribute(${1:string name}, ${2:float value}, ${3:float duration})$0", + "kind": "keyword", + "details": "Add an attribute to the entity. Set duration to -1 for the attribute to be applied forever." + }, + { + "trigger": "AddBotAttribute", + "annotation": "void AddBotAttribute(int attribute)", + "contents": "AddBotAttribute(${1:int attribute})$0", + "kind": "keyword", + "details": "Sets attribute flags on this TFBot" + }, + { + "trigger": "AddBotTag", + "annotation": "void AddBotTag(string tag)", + "contents": "AddBotTag(${1:string tag})$0", + "kind": "keyword", + "details": "Adds a bot tag" + }, + { + "trigger": "AddBroadcastTeamTarget", + "annotation": "void AddBroadcastTeamTarget(int index)", + "contents": "AddBroadcastTeamTarget(${1:int index})$0", + "kind": "keyword", + "details": "Adds a team (by index) to the broadcast list" + }, + { + "trigger": "AddCond", + "annotation": "void AddCond(ETFCond cond)", + "contents": "AddCond(${1:ETFCond cond})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "AddCondEx", + "annotation": "void AddCondEx(ETFCond cond, float duration, handle provider)", + "contents": "AddCondEx(${1:ETFCond cond}, ${2:float duration}, ${3:handle provider})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "AddCurrency", + "annotation": "void AddCurrency(int amount)", + "contents": "AddCurrency(${1:int amount})$0", + "kind": "keyword", + "details": "Kaching! Give the player some cash for game modes with upgrades, ie. MvM" + }, + { + "trigger": "AddCustomAttribute", + "annotation": "void AddCustomAttribute(string name, float value, float duration)", + "contents": "AddCustomAttribute(${1:string name}, ${2:float value}, ${3:float duration})$0", + "kind": "keyword", + "details": "Add a custom attribute to the player. Set duration to -1 for the attribute to be applied forever." + }, + { + "trigger": "AddEFlags", + "annotation": "void AddEFlags(int flags)", + "contents": "AddEFlags(${1:int flags})$0", + "kind": "keyword", + "details": "Adds the supplied flags to the Entity Flags in the entity. (m_iEFlags datamap). See Constants.FEntityEFlags." + }, + { + "trigger": "AddFlag", + "annotation": "void AddFlag(int flags)", + "contents": "AddFlag(${1:int flags})$0", + "kind": "keyword", + "details": "Adds the supplied flags to another separate player-related entity flags system in the entity. (m_fFlags datamap). See Constants.FPlayer." + }, + { + "trigger": "AddHudHideFlags", + "annotation": "void AddHudHideFlags(int flags)", + "contents": "AddHudHideFlags(${1:int flags})$0", + "kind": "keyword", + "details": "Hides a hud element based on Constants.FHideHUD" + }, + { + "trigger": "AddIncomingConnection", + "annotation": "void AddIncomingConnection(handle area, int dir)", + "contents": "AddIncomingConnection(${1:handle area}, ${2:int dir})$0", + "kind": "keyword", + "details": "Add areas that connect TO this area by a ONE-WAY link" + }, + { + "trigger": "AddOutput", + "annotation": "void AddOutput(handle entity, string outputName, string targetName, string inputName, string parameter, float delay, int timesToFire)", + "contents": "AddOutput(${1:handle entity}, ${2:string outputName}, ${3:string targetName}, ${4:string inputName}, ${5:string parameter}, ${6:float delay}, ${7:int timesToFire})$0", + "kind": "keyword", + "details": "Adds a new output to the entity." + }, + { + "trigger": "AddSolidFlags", + "annotation": "void AddSolidFlags(int flags)", + "contents": "AddSolidFlags(${1:int flags})$0", + "kind": "keyword", + "details": "Adds the supplied flags to the Solid Flags in the entity. (m_Collision.m_usSolidFlags datamap). See Constants.FSolid." + }, + { + "trigger": "AddTemplate", + "annotation": "void AddTemplate(string, table)", + "contents": "AddTemplate(${1:string}, ${2:table})$0", + "kind": "keyword", + "details": "Add an entity to the template spawner" + }, + { + "trigger": "AddThinkToEnt", + "annotation": "void AddThinkToEnt(handle entity, string FuncName)", + "contents": "AddThinkToEnt(${1:handle entity}, ${2:string FuncName})$0", + "kind": "keyword", + "details": "Sets a function in the entity's script to rerun by itself constantly. Pass null as the function name to remove a think function. The default think interval is 0.1s, unless overridden by returning a different time interval in seconds in the think function" + }, + { + "trigger": "AddToScriptHelp", + "annotation": "AddToScriptHelp()", + "contents": "AddToScriptHelp()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "AddWeaponRestriction", + "annotation": "void AddWeaponRestriction(int flags)", + "contents": "AddWeaponRestriction(${1:int flags})$0", + "kind": "keyword", + "details": "Adds weapon restriction flags" + }, + { + "trigger": "AllowThirdPersonCamera", + "annotation": "bool AllowThirdPersonCamera()", + "contents": "AllowThirdPersonCamera()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ApplyAbsVelocityImpulse", + "annotation": "void ApplyAbsVelocityImpulse(Vector impulse)", + "contents": "ApplyAbsVelocityImpulse(${1:Vector impulse})$0", + "kind": "keyword", + "details": "Apply a Velocity Impulse as a world space impulse vector. Works for most physics-based objects including dropped weapons and even dropped Sandviches." + }, + { + "trigger": "ApplyLocalAngularVelocityImpulse", + "annotation": "void ApplyLocalAngularVelocityImpulse(Vector impulse)", + "contents": "ApplyLocalAngularVelocityImpulse(${1:Vector impulse})$0", + "kind": "keyword", + "details": "Apply an Angular Velocity Impulse in entity local space. The direction of the input vector is the rotation axis, and the length is the magnitude of the impulse." + }, + { + "trigger": "ApplyPunchImpulseX", + "annotation": "bool ApplyPunchImpulseX(float impulse)", + "contents": "ApplyPunchImpulseX(${1:float impulse})$0", + "kind": "keyword", + "details": "Apply a view punch along the pitch angle. Used to flinch players when hit. If the player is a fully charged scoped-in sniper and the weapon has the aiming_no_flinch attribute, the punch will not apply. Returns true if the punch was applied." + }, + { + "trigger": "Approach", + "annotation": "void Approach(Vector goal, float goalWeight)", + "contents": "Approach(${1:Vector goal}, ${2:float goalWeight})$0", + "kind": "keyword", + "details": "The primary locomotive method. Goal determines the destination position to move towards. goalWeight determines the priority of this path, you can set this to 1.0 generally speaking." + }, + { + "trigger": "ArePlayersInHell", + "annotation": "bool ArePlayersInHell()", + "contents": "ArePlayersInHell()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Assert", + "annotation": "void Assert(bool value, string optional_message)", + "contents": "Assert(${1:bool value}, ${2:string optional_message})$0", + "kind": "keyword", + "details": "Test value and if not true, throws exception, optionally with message." + }, + { + "trigger": "BACKWARD", + "annotation": "BACKWARD", + "contents": "BACKWARD$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "BECOME_SPECTATOR_ON_DEATH", + "annotation": "BECOME_SPECTATOR_ON_DEATH", + "contents": "BECOME_SPECTATOR_ON_DEATH$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "BLAST_IMMUNE", + "annotation": "BLAST_IMMUNE", + "contents": "BLAST_IMMUNE$0", + "kind": "keyword", + "details": "16777216" + }, + { + "trigger": "BULLET_IMMUNE", + "annotation": "BULLET_IMMUNE", + "contents": "BULLET_IMMUNE$0", + "kind": "keyword", + "details": "8388608" + }, + { + "trigger": "BecomeRagdollOnClient", + "annotation": "bool BecomeRagdollOnClient(Vector impulse)", + "contents": "BecomeRagdollOnClient(${1:Vector impulse})$0", + "kind": "keyword", + "details": "Acts like the BecomeRagdoll input, with the required impulse value applied as a force on the ragdoll. Does NOT spawn a prop_ragdoll or any other entity." + }, + { + "trigger": "Begin", + "annotation": "Begin()", + "contents": "Begin()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "BeginScriptDebug", + "annotation": "void BeginScriptDebug()", + "contents": "BeginScriptDebug()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "BleedPlayer", + "annotation": "void BleedPlayer(float duration)", + "contents": "BleedPlayer(${1:float duration})$0", + "kind": "keyword", + "details": "Make a player bleed for a set duration of time." + }, + { + "trigger": "BleedPlayerEx", + "annotation": "void BleedPlayerEx(float duration, int damage, bool endless, int nCustomDamageType)", + "contents": "BleedPlayerEx(${1:float duration}, ${2:int damage}, ${3:bool endless}, ${4:int nCustomDamageType})$0", + "kind": "keyword", + "details": "Make a player bleed for a set duration of time, or forever, with specific damage per tick and damage_custom index." + }, + { + "trigger": "CCallChainer", + "annotation": "CCallChainer(string functionPrefix, table scope = null)", + "contents": "CCallChainer(${1:string functionPrefix}, ${2:table scope = null})$0", + "kind": "keyword", + "details": "Creates a CCallChainer object that'll collect functions that have a matching prefix in the given scope." + }, + { + "trigger": "COLLISION_GROUP_BREAKABLE_GLASS", + "annotation": "COLLISION_GROUP_BREAKABLE_GLASS", + "contents": "COLLISION_GROUP_BREAKABLE_GLASS$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "COLLISION_GROUP_DEBRIS", + "annotation": "COLLISION_GROUP_DEBRIS", + "contents": "COLLISION_GROUP_DEBRIS$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "COLLISION_GROUP_DEBRIS_TRIGGER", + "annotation": "COLLISION_GROUP_DEBRIS_TRIGGER", + "contents": "COLLISION_GROUP_DEBRIS_TRIGGER$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "COLLISION_GROUP_DISSOLVING", + "annotation": "COLLISION_GROUP_DISSOLVING", + "contents": "COLLISION_GROUP_DISSOLVING$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "COLLISION_GROUP_DOOR_BLOCKER", + "annotation": "COLLISION_GROUP_DOOR_BLOCKER", + "contents": "COLLISION_GROUP_DOOR_BLOCKER$0", + "kind": "keyword", + "details": "14" + }, + { + "trigger": "COLLISION_GROUP_INTERACTIVE", + "annotation": "COLLISION_GROUP_INTERACTIVE", + "contents": "COLLISION_GROUP_INTERACTIVE$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "COLLISION_GROUP_INTERACTIVE_DEBRIS", + "annotation": "COLLISION_GROUP_INTERACTIVE_DEBRIS", + "contents": "COLLISION_GROUP_INTERACTIVE_DEBRIS$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "COLLISION_GROUP_IN_VEHICLE", + "annotation": "COLLISION_GROUP_IN_VEHICLE", + "contents": "COLLISION_GROUP_IN_VEHICLE$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "COLLISION_GROUP_NONE", + "annotation": "COLLISION_GROUP_NONE", + "contents": "COLLISION_GROUP_NONE$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "COLLISION_GROUP_NPC", + "annotation": "COLLISION_GROUP_NPC", + "contents": "COLLISION_GROUP_NPC$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "COLLISION_GROUP_NPC_ACTOR", + "annotation": "COLLISION_GROUP_NPC_ACTOR", + "contents": "COLLISION_GROUP_NPC_ACTOR$0", + "kind": "keyword", + "details": "18" + }, + { + "trigger": "COLLISION_GROUP_NPC_SCRIPTED", + "annotation": "COLLISION_GROUP_NPC_SCRIPTED", + "contents": "COLLISION_GROUP_NPC_SCRIPTED$0", + "kind": "keyword", + "details": "19" + }, + { + "trigger": "COLLISION_GROUP_PASSABLE_DOOR", + "annotation": "COLLISION_GROUP_PASSABLE_DOOR", + "contents": "COLLISION_GROUP_PASSABLE_DOOR$0", + "kind": "keyword", + "details": "15" + }, + { + "trigger": "COLLISION_GROUP_PLAYER", + "annotation": "COLLISION_GROUP_PLAYER", + "contents": "COLLISION_GROUP_PLAYER$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "COLLISION_GROUP_PLAYER_MOVEMENT", + "annotation": "COLLISION_GROUP_PLAYER_MOVEMENT", + "contents": "COLLISION_GROUP_PLAYER_MOVEMENT$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "COLLISION_GROUP_PROJECTILE", + "annotation": "COLLISION_GROUP_PROJECTILE", + "contents": "COLLISION_GROUP_PROJECTILE$0", + "kind": "keyword", + "details": "13" + }, + { + "trigger": "COLLISION_GROUP_PUSHAWAY", + "annotation": "COLLISION_GROUP_PUSHAWAY", + "contents": "COLLISION_GROUP_PUSHAWAY$0", + "kind": "keyword", + "details": "17" + }, + { + "trigger": "COLLISION_GROUP_VEHICLE", + "annotation": "COLLISION_GROUP_VEHICLE", + "contents": "COLLISION_GROUP_VEHICLE$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "COLLISION_GROUP_VEHICLE_CLIP", + "annotation": "COLLISION_GROUP_VEHICLE_CLIP", + "contents": "COLLISION_GROUP_VEHICLE_CLIP$0", + "kind": "keyword", + "details": "12" + }, + { + "trigger": "COLLISION_GROUP_WEAPON", + "annotation": "COLLISION_GROUP_WEAPON", + "contents": "COLLISION_GROUP_WEAPON$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "CONTENTS_AREAPORTAL", + "annotation": "CONTENTS_AREAPORTAL", + "contents": "CONTENTS_AREAPORTAL$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "CONTENTS_AUX", + "annotation": "CONTENTS_AUX", + "contents": "CONTENTS_AUX$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "CONTENTS_BLOCKLOS", + "annotation": "CONTENTS_BLOCKLOS", + "contents": "CONTENTS_BLOCKLOS$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "CONTENTS_CURRENT_0", + "annotation": "CONTENTS_CURRENT_0", + "contents": "CONTENTS_CURRENT_0$0", + "kind": "keyword", + "details": "262144" + }, + { + "trigger": "CONTENTS_CURRENT_180", + "annotation": "CONTENTS_CURRENT_180", + "contents": "CONTENTS_CURRENT_180$0", + "kind": "keyword", + "details": "1048576" + }, + { + "trigger": "CONTENTS_CURRENT_270", + "annotation": "CONTENTS_CURRENT_270", + "contents": "CONTENTS_CURRENT_270$0", + "kind": "keyword", + "details": "2097152" + }, + { + "trigger": "CONTENTS_CURRENT_90", + "annotation": "CONTENTS_CURRENT_90", + "contents": "CONTENTS_CURRENT_90$0", + "kind": "keyword", + "details": "524288" + }, + { + "trigger": "CONTENTS_CURRENT_DOWN", + "annotation": "CONTENTS_CURRENT_DOWN", + "contents": "CONTENTS_CURRENT_DOWN$0", + "kind": "keyword", + "details": "8388608" + }, + { + "trigger": "CONTENTS_CURRENT_UP", + "annotation": "CONTENTS_CURRENT_UP", + "contents": "CONTENTS_CURRENT_UP$0", + "kind": "keyword", + "details": "4194304" + }, + { + "trigger": "CONTENTS_DEBRIS", + "annotation": "CONTENTS_DEBRIS", + "contents": "CONTENTS_DEBRIS$0", + "kind": "keyword", + "details": "67108864" + }, + { + "trigger": "CONTENTS_DETAIL", + "annotation": "CONTENTS_DETAIL", + "contents": "CONTENTS_DETAIL$0", + "kind": "keyword", + "details": "134217728" + }, + { + "trigger": "CONTENTS_EMPTY", + "annotation": "CONTENTS_EMPTY", + "contents": "CONTENTS_EMPTY$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "CONTENTS_GRATE", + "annotation": "CONTENTS_GRATE", + "contents": "CONTENTS_GRATE$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "CONTENTS_HITBOX", + "annotation": "CONTENTS_HITBOX", + "contents": "CONTENTS_HITBOX$0", + "kind": "keyword", + "details": "1073741824" + }, + { + "trigger": "CONTENTS_IGNORE_NODRAW_OPAQUE", + "annotation": "CONTENTS_IGNORE_NODRAW_OPAQUE", + "contents": "CONTENTS_IGNORE_NODRAW_OPAQUE$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "CONTENTS_LADDER", + "annotation": "CONTENTS_LADDER", + "contents": "CONTENTS_LADDER$0", + "kind": "keyword", + "details": "536870912" + }, + { + "trigger": "CONTENTS_MONSTER", + "annotation": "CONTENTS_MONSTER", + "contents": "CONTENTS_MONSTER$0", + "kind": "keyword", + "details": "33554432" + }, + { + "trigger": "CONTENTS_MONSTERCLIP", + "annotation": "CONTENTS_MONSTERCLIP", + "contents": "CONTENTS_MONSTERCLIP$0", + "kind": "keyword", + "details": "131072" + }, + { + "trigger": "CONTENTS_MOVEABLE", + "annotation": "CONTENTS_MOVEABLE", + "contents": "CONTENTS_MOVEABLE$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "CONTENTS_OPAQUE", + "annotation": "CONTENTS_OPAQUE", + "contents": "CONTENTS_OPAQUE$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "CONTENTS_ORIGIN", + "annotation": "CONTENTS_ORIGIN", + "contents": "CONTENTS_ORIGIN$0", + "kind": "keyword", + "details": "16777216" + }, + { + "trigger": "CONTENTS_PLAYERCLIP", + "annotation": "CONTENTS_PLAYERCLIP", + "contents": "CONTENTS_PLAYERCLIP$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "CONTENTS_SLIME", + "annotation": "CONTENTS_SLIME", + "contents": "CONTENTS_SLIME$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "CONTENTS_SOLID", + "annotation": "CONTENTS_SOLID", + "contents": "CONTENTS_SOLID$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "CONTENTS_TEAM1", + "annotation": "CONTENTS_TEAM1", + "contents": "CONTENTS_TEAM1$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "CONTENTS_TEAM2", + "annotation": "CONTENTS_TEAM2", + "contents": "CONTENTS_TEAM2$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "CONTENTS_TESTFOGVOLUME", + "annotation": "CONTENTS_TESTFOGVOLUME", + "contents": "CONTENTS_TESTFOGVOLUME$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "CONTENTS_TRANSLUCENT", + "annotation": "CONTENTS_TRANSLUCENT", + "contents": "CONTENTS_TRANSLUCENT$0", + "kind": "keyword", + "details": "268435456" + }, + { + "trigger": "CONTENTS_UNUSED", + "annotation": "CONTENTS_UNUSED", + "contents": "CONTENTS_UNUSED$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "CONTENTS_UNUSED6", + "annotation": "CONTENTS_UNUSED6", + "contents": "CONTENTS_UNUSED6$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "CONTENTS_WATER", + "annotation": "CONTENTS_WATER", + "contents": "CONTENTS_WATER$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "CONTENTS_WINDOW", + "annotation": "CONTENTS_WINDOW", + "contents": "CONTENTS_WINDOW$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "CRIT_FULL", + "annotation": "CRIT_FULL", + "contents": "CRIT_FULL$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "CRIT_MINI", + "annotation": "CRIT_MINI", + "contents": "CRIT_MINI$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "CRIT_NONE", + "annotation": "CRIT_NONE", + "contents": "CRIT_NONE$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "CSimpleCallChainer", + "annotation": "CSimpleCallChainer(string functionPrefix, table scope = null, exactMatch = false)", + "contents": "CSimpleCallChainer(${1:string functionPrefix}, ${2:table scope = null}, ${3:exactMatch = false})$0", + "kind": "keyword", + "details": "Creates a CSimpleCallChainer object that'll collect functions that have a matching prefix in the given scope, unless it seek for an exact name match." + }, + { + "trigger": "Call", + "annotation": "bool Call(any ...)", + "contents": "Call(${1:any ...})$0", + "kind": "keyword", + "details": "Call all functions inside the chain array with the given arguments." + }, + { + "trigger": "CanAirDash", + "annotation": "bool CanAirDash()", + "contents": "CanAirDash()$0", + "kind": "keyword", + "details": "Can the player air dash/double jump?" + }, + { + "trigger": "CanBeDebuffed", + "annotation": "bool CanBeDebuffed()", + "contents": "CanBeDebuffed()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "CanBeSelected", + "annotation": "bool CanBeSelected()", + "contents": "CanBeSelected()$0", + "kind": "keyword", + "details": "Can this weapon be selected" + }, + { + "trigger": "CanBreatheUnderwater", + "annotation": "bool CanBreatheUnderwater()", + "contents": "CanBreatheUnderwater()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "CanDuck", + "annotation": "bool CanDuck()", + "contents": "CanDuck()$0", + "kind": "keyword", + "details": "Can the player duck?" + }, + { + "trigger": "CanGetWet", + "annotation": "bool CanGetWet()", + "contents": "CanGetWet()$0", + "kind": "keyword", + "details": "Can the player get wet by jarate/milk?" + }, + { + "trigger": "CanJump", + "annotation": "bool CanJump()", + "contents": "CanJump()$0", + "kind": "keyword", + "details": "Can the player jump?" + }, + { + "trigger": "CanPlayerMove", + "annotation": "bool CanPlayerMove()", + "contents": "CanPlayerMove()$0", + "kind": "keyword", + "details": "Can the player move?" + }, + { + "trigger": "CancelTaunt", + "annotation": "void CancelTaunt()", + "contents": "CancelTaunt()$0", + "kind": "keyword", + "details": "Cancels any taunt in progress" + }, + { + "trigger": "ClearAllBotAttributes", + "annotation": "void ClearAllBotAttributes()", + "contents": "ClearAllBotAttributes()$0", + "kind": "keyword", + "details": "Clears all attribute flags on this TFBot" + }, + { + "trigger": "ClearAllBotTags", + "annotation": "void ClearAllBotTags()", + "contents": "ClearAllBotTags()$0", + "kind": "keyword", + "details": "Clears bot tags" + }, + { + "trigger": "ClearAllWeaponRestrictions", + "annotation": "void ClearAllWeaponRestrictions()", + "contents": "ClearAllWeaponRestrictions()$0", + "kind": "keyword", + "details": "Removes all weapon restriction flags" + }, + { + "trigger": "ClearAttentionFocus", + "annotation": "void ClearAttentionFocus()", + "contents": "ClearAttentionFocus()$0", + "kind": "keyword", + "details": "Clear current focus" + }, + { + "trigger": "ClearAttributeTF", + "annotation": "void ClearAttributeTF(int bits)", + "contents": "ClearAttributeTF(${1:int bits})$0", + "kind": "keyword", + "details": "Clear TF-specific area attribute bits." + }, + { + "trigger": "ClearCustomModelRotation", + "annotation": "void ClearCustomModelRotation()", + "contents": "ClearCustomModelRotation()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ClearFlags", + "annotation": "void ClearFlags()", + "contents": "ClearFlags()$0", + "kind": "keyword", + "details": "Sets the player-related entity flags to 0 on an entity, clearing them." + }, + { + "trigger": "ClearGameEventCallbacks", + "annotation": "void ClearGameEventCallbacks()", + "contents": "ClearGameEventCallbacks()$0", + "kind": "keyword", + "details": "Empties the tables of game event callback functions." + }, + { + "trigger": "ClearImmobileStatus", + "annotation": "void ClearImmobileStatus()", + "contents": "ClearImmobileStatus()$0", + "kind": "keyword", + "details": "Clear immobile status" + }, + { + "trigger": "ClearSolidFlags", + "annotation": "void ClearSolidFlags()", + "contents": "ClearSolidFlags()$0", + "kind": "keyword", + "details": "Sets Solid Flags to 0 on an entity, clearing them." + }, + { + "trigger": "ClearSpells", + "annotation": "void ClearSpells()", + "contents": "ClearSpells()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ClearStuckStatus", + "annotation": "void ClearStuckStatus(string reason)", + "contents": "ClearStuckStatus(${1:string reason})$0", + "kind": "keyword", + "details": "Reset stuck status to un-stuck. Reason message is shown when debugging nextbots." + }, + { + "trigger": "ClearTauntAttack", + "annotation": "void ClearTauntAttack()", + "contents": "ClearTauntAttack()$0", + "kind": "keyword", + "details": "Stops active taunt from damaging or cancels Rock-Paper-Scissors result" + }, + { + "trigger": "ClientPrint", + "annotation": "void ClientPrint(CBasePlayer player, EHudNotify destination, string message)", + "contents": "ClientPrint(${1:CBasePlayer player}, ${2:EHudNotify destination}, ${3:string message})$0", + "kind": "keyword", + "details": "Print a client message. If you pass null instead of a valid player, the message will be sent to all clients. When printing to chat (HUD_PRINTTALK), the color of the text can be changed by inserting this sequence: \x07RRGGBB where RR GG BB is the hexadecimal format of the color. Transparency can be specified by a different sequence: \x08RRGGBBAA, where RR GG BB AA is the hexadecimal format of the color + alpha. All text following this sequence will be colored. Multiple sequences can be used in combination. If using color sequences, there MUST be a color sequence at the beginning of the string, or color codes won't work!." + }, + { + "trigger": "ClimbUpToLedge", + "annotation": "bool ClimbUpToLedge(Vector goalPos, vector goalForward, handle obstacle)", + "contents": "ClimbUpToLedge(${1:Vector goalPos}, ${2:vector goalForward}, ${3:handle obstacle})$0", + "kind": "keyword", + "details": "Initiate a jump to an adjacent high ledge, return false if climb can't start" + }, + { + "trigger": "Clip1", + "annotation": "int Clip1()", + "contents": "Clip1()$0", + "kind": "keyword", + "details": "Current ammo in clip1" + }, + { + "trigger": "Clip2", + "annotation": "int Clip2()", + "contents": "Clip2()$0", + "kind": "keyword", + "details": "Current ammo in clip2" + }, + { + "trigger": "ComputeClosestPointInPortal", + "annotation": "Vector ComputeClosestPointInPortal(handle to, ENavDirType dir, Vector closePos)", + "contents": "ComputeClosestPointInPortal(${1:handle to}, ${2:ENavDirType dir}, ${3:Vector closePos})$0", + "kind": "keyword", + "details": "Compute closest point within the portal between to adjacent areas." + }, + { + "trigger": "ComputeDirection", + "annotation": "int ComputeDirection(Vector point)", + "contents": "ComputeDirection(${1:Vector point})$0", + "kind": "keyword", + "details": "Return direction from this area to the given point." + }, + { + "trigger": "ComputeUpdateInterval", + "annotation": "bool ComputeUpdateInterval()", + "contents": "ComputeUpdateInterval()$0", + "kind": "keyword", + "details": "Recomputes the component update interval" + }, + { + "trigger": "ConnectOutput", + "annotation": "void ConnectOutput(string output, string function)", + "contents": "ConnectOutput(${1:string output}, ${2:string function})$0", + "kind": "keyword", + "details": "Adds an I/O connection that will call the named function when the specified output fires." + }, + { + "trigger": "ConnectTo", + "annotation": "void ConnectTo(handle area, int dir)", + "contents": "ConnectTo(${1:handle area}, ${2:int dir})$0", + "kind": "keyword", + "details": "Connect this area to given area in given direction." + }, + { + "trigger": "ConstantNamingConvention", + "annotation": "ConstantNamingConvention", + "contents": "ConstantNamingConvention$0", + "kind": "keyword", + "details": "Constants are named as follows: F -> flags, E -> enums, (nothing) -> random values/constants" + }, + { + "trigger": "Constants", + "annotation": "Constants", + "contents": "Constants$0", + "kind": "keyword", + "details": "Enumerations for various function arguments or netprops." + }, + { + "trigger": "Contains", + "annotation": "bool Contains(handle area)", + "contents": "Contains(${1:handle area})$0", + "kind": "keyword", + "details": "Return true if other area is on or above this area, but no others." + }, + { + "trigger": "ContainsOrigin", + "annotation": "bool ContainsOrigin(Vector point)", + "contents": "ContainsOrigin(${1:Vector point})$0", + "kind": "keyword", + "details": "Return true if given point is on or above this area, but no others." + }, + { + "trigger": "CreateByClassname", + "annotation": "handle CreateByClassname(string classname)", + "contents": "CreateByClassname(${1:string classname})$0", + "kind": "keyword", + "details": "Creates an entity by classname" + }, + { + "trigger": "CreateProp", + "annotation": "handle CreateProp(string classname, Vector origin, string model_name, int activity)", + "contents": "CreateProp(${1:string classname}, ${2:Vector origin}, ${3:string model_name}, ${4:int activity})$0", + "kind": "keyword", + "details": "Create a prop" + }, + { + "trigger": "CreateSceneEntity", + "annotation": "handle CreateSceneEntity(string scene)", + "contents": "CreateSceneEntity(${1:string scene})$0", + "kind": "keyword", + "details": "Create a scene entity to play the specified scene." + }, + { + "trigger": "Cross", + "annotation": "float Cross(Vector factor)", + "contents": "Cross(${1:Vector factor})$0", + "kind": "keyword", + "details": "The vector product of two vectors. Returns a vector orthogonal to the input vectors." + }, + { + "trigger": "DISABLE_DODGE", + "annotation": "DISABLE_DODGE", + "contents": "DISABLE_DODGE$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "DIST_EPSILON", + "annotation": "DIST_EPSILON", + "contents": "DIST_EPSILON$0", + "kind": "keyword", + "details": "0.03125" + }, + { + "trigger": "DMG_ACID", + "annotation": "DMG_ACID", + "contents": "DMG_ACID$0", + "kind": "keyword", + "details": "1048576" + }, + { + "trigger": "DMG_AIRBOAT", + "annotation": "DMG_AIRBOAT", + "contents": "DMG_AIRBOAT$0", + "kind": "keyword", + "details": "33554432" + }, + { + "trigger": "DMG_ALWAYSGIB", + "annotation": "DMG_ALWAYSGIB", + "contents": "DMG_ALWAYSGIB$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "DMG_BLAST", + "annotation": "DMG_BLAST", + "contents": "DMG_BLAST$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "DMG_BLAST_SURFACE", + "annotation": "DMG_BLAST_SURFACE", + "contents": "DMG_BLAST_SURFACE$0", + "kind": "keyword", + "details": "134217728" + }, + { + "trigger": "DMG_BUCKSHOT", + "annotation": "DMG_BUCKSHOT", + "contents": "DMG_BUCKSHOT$0", + "kind": "keyword", + "details": "536870912" + }, + { + "trigger": "DMG_BULLET", + "annotation": "DMG_BULLET", + "contents": "DMG_BULLET$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "DMG_BURN", + "annotation": "DMG_BURN", + "contents": "DMG_BURN$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "DMG_CLUB", + "annotation": "DMG_CLUB", + "contents": "DMG_CLUB$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "DMG_CRUSH", + "annotation": "DMG_CRUSH", + "contents": "DMG_CRUSH$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "DMG_DIRECT", + "annotation": "DMG_DIRECT", + "contents": "DMG_DIRECT$0", + "kind": "keyword", + "details": "268435456" + }, + { + "trigger": "DMG_DISSOLVE", + "annotation": "DMG_DISSOLVE", + "contents": "DMG_DISSOLVE$0", + "kind": "keyword", + "details": "67108864" + }, + { + "trigger": "DMG_DROWN", + "annotation": "DMG_DROWN", + "contents": "DMG_DROWN$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "DMG_DROWNRECOVER", + "annotation": "DMG_DROWNRECOVER", + "contents": "DMG_DROWNRECOVER$0", + "kind": "keyword", + "details": "524288" + }, + { + "trigger": "DMG_ENERGYBEAM", + "annotation": "DMG_ENERGYBEAM", + "contents": "DMG_ENERGYBEAM$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "DMG_FALL", + "annotation": "DMG_FALL", + "contents": "DMG_FALL$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "DMG_GENERIC", + "annotation": "DMG_GENERIC", + "contents": "DMG_GENERIC$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "DMG_NERVEGAS", + "annotation": "DMG_NERVEGAS", + "contents": "DMG_NERVEGAS$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "DMG_NEVERGIB", + "annotation": "DMG_NEVERGIB", + "contents": "DMG_NEVERGIB$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "DMG_PARALYZE", + "annotation": "DMG_PARALYZE", + "contents": "DMG_PARALYZE$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "DMG_PHYSGUN", + "annotation": "DMG_PHYSGUN", + "contents": "DMG_PHYSGUN$0", + "kind": "keyword", + "details": "8388608" + }, + { + "trigger": "DMG_PLASMA", + "annotation": "DMG_PLASMA", + "contents": "DMG_PLASMA$0", + "kind": "keyword", + "details": "16777216" + }, + { + "trigger": "DMG_POISON", + "annotation": "DMG_POISON", + "contents": "DMG_POISON$0", + "kind": "keyword", + "details": "131072" + }, + { + "trigger": "DMG_PREVENT_PHYSICS_FORCE", + "annotation": "DMG_PREVENT_PHYSICS_FORCE", + "contents": "DMG_PREVENT_PHYSICS_FORCE$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "DMG_RADIATION", + "annotation": "DMG_RADIATION", + "contents": "DMG_RADIATION$0", + "kind": "keyword", + "details": "262144" + }, + { + "trigger": "DMG_REMOVENORAGDOLL", + "annotation": "DMG_REMOVENORAGDOLL", + "contents": "DMG_REMOVENORAGDOLL$0", + "kind": "keyword", + "details": "4194304" + }, + { + "trigger": "DMG_SHOCK", + "annotation": "DMG_SHOCK", + "contents": "DMG_SHOCK$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "DMG_SLASH", + "annotation": "DMG_SLASH", + "contents": "DMG_SLASH$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "DMG_SLOWBURN", + "annotation": "DMG_SLOWBURN", + "contents": "DMG_SLOWBURN$0", + "kind": "keyword", + "details": "2097152" + }, + { + "trigger": "DMG_SONIC", + "annotation": "DMG_SONIC", + "contents": "DMG_SONIC$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "DMG_VEHICLE", + "annotation": "DMG_VEHICLE", + "contents": "DMG_VEHICLE$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "DOWN", + "annotation": "DOWN", + "contents": "DOWN$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "DebugDrawBox", + "annotation": "void DebugDrawBox(Vector origin, vector min, vector max, int r, int g, int b, int alpha, float duration)", + "contents": "DebugDrawBox(${1:Vector origin}, ${2:vector min}, ${3:vector max}, ${4:int r}, ${5:int g}, ${6:int b}, ${7:int alpha}, ${8:float duration})$0", + "kind": "keyword", + "details": "Draw a debug overlay box." + }, + { + "trigger": "DebugDrawBoxAngles", + "annotation": "void DebugDrawBoxAngles(Vector origin, Vector min, Vector max, QAngle direction, Vector rgb, int alpha, float duration)", + "contents": "DebugDrawBoxAngles(${1:Vector origin}, ${2:Vector min}, ${3:Vector max}, ${4:QAngle direction}, ${5:Vector rgb}, ${6:int alpha}, ${7:float duration})$0", + "kind": "keyword", + "details": "Draw a debug oriented box (cent, min, max, angles(p,y,r), vRgb, a, duration)." + }, + { + "trigger": "DebugDrawBoxDirection", + "annotation": "void DebugDrawBoxDirection(Vector center, Vector min, Vector max, Vector forward, Vector rgb, float alpha, float duration)", + "contents": "DebugDrawBoxDirection(${1:Vector center}, ${2:Vector min}, ${3:Vector max}, ${4:Vector forward}, ${5:Vector rgb}, ${6:float alpha}, ${7:float duration})$0", + "kind": "keyword", + "details": "Draw a debug forward box." + }, + { + "trigger": "DebugDrawCircle", + "annotation": "void DebugDrawCircle(Vector center, Vector rgb, float alpha, float radius, bool ztest, float duration)", + "contents": "DebugDrawCircle(${1:Vector center}, ${2:Vector rgb}, ${3:float alpha}, ${4:float radius}, ${5:bool ztest}, ${6:float duration})$0", + "kind": "keyword", + "details": "Draw a debug circle." + }, + { + "trigger": "DebugDrawClear", + "annotation": "void DebugDrawClear()", + "contents": "DebugDrawClear()$0", + "kind": "keyword", + "details": "Try to clear all the debug overlay info." + }, + { + "trigger": "DebugDrawFilled", + "annotation": "void DebugDrawFilled(int r, int g, int b, int a, float duration, bool noDepthTest, float margin)", + "contents": "DebugDrawFilled(${1:int r}, ${2:int g}, ${3:int b}, ${4:int a}, ${5:float duration}, ${6:bool noDepthTest}, ${7:float margin})$0", + "kind": "keyword", + "details": "Draw area as a filled rect of the given color." + }, + { + "trigger": "DebugDrawLine", + "annotation": "void DebugDrawLine(Vector start, Vector end, int red, int green, int blue', bool zTest, float time)", + "contents": "DebugDrawLine(${1:Vector start}, ${2:Vector end}, ${3:int red}, ${4:int green}, ${5:int blue'}, ${6:bool zTest}, ${7:float time})$0", + "kind": "keyword", + "details": "Draw a debug overlay line." + }, + { + "trigger": "DebugDrawLine_vCol", + "annotation": "void DebugDrawLine_vCol(Vector start, vector end, vector rgb, bool ztest, float duration)", + "contents": "DebugDrawLine_vCol(${1:Vector start}, ${2:vector end}, ${3:vector rgb}, ${4:bool ztest}, ${5:float duration})$0", + "kind": "keyword", + "details": "Draw a debug line using color vec." + }, + { + "trigger": "DebugDrawScreenTextLine", + "annotation": "void DebugDrawScreenTextLine(float x, float y, int lineOffset, string text, int r, int g, int b, int a, float duration)", + "contents": "DebugDrawScreenTextLine(${1:float x}, ${2:float y}, ${3:int lineOffset}, ${4:string text}, ${5:int r}, ${6:int g}, ${7:int b}, ${8:int a}, ${9:float duration})$0", + "kind": "keyword", + "details": "Draw text with a line offset." + }, + { + "trigger": "DebugDrawText", + "annotation": "void DebugDrawText(Vector origin, string text, bool useViewCheck, float duration)", + "contents": "DebugDrawText(${1:Vector origin}, ${2:string text}, ${3:bool useViewCheck}, ${4:float duration})$0", + "kind": "keyword", + "details": "Draw text on the screen, starting on the position of origin." + }, + { + "trigger": "DelayedThreatNotice", + "annotation": "void DelayedThreatNotice(handle threat, float delay)", + "contents": "DelayedThreatNotice(${1:handle threat}, ${2:float delay})$0", + "kind": "keyword", + "details": "Notice the threat after a delay in seconds" + }, + { + "trigger": "Destroy", + "annotation": "void Destroy()", + "contents": "Destroy()$0", + "kind": "keyword", + "details": "Removes the entity. Simply calls UTIL_Remove." + }, + { + "trigger": "DisableDraw", + "annotation": "void DisableDraw()", + "contents": "DisableDraw()$0", + "kind": "keyword", + "details": "Disable drawing and transmitting the entity to clients. (adds EF_NODRAW)" + }, + { + "trigger": "DisbandCurrentSquad", + "annotation": "void DisbandCurrentSquad()", + "contents": "DisbandCurrentSquad()$0", + "kind": "keyword", + "details": "Forces the current squad to be entirely disbanded by everyone" + }, + { + "trigger": "Disconnect", + "annotation": "void Disconnect(handle area)", + "contents": "Disconnect(${1:handle area})$0", + "kind": "keyword", + "details": "Disconnect this area from given area." + }, + { + "trigger": "DisconnectOutput", + "annotation": "void DisconnectOutput(string, string)", + "contents": "DisconnectOutput(${1:string}, ${2:string})$0", + "kind": "keyword", + "details": "Removes a connected script function from an I/O event." + }, + { + "trigger": "DispatchAnimEvents", + "annotation": "void DispatchAnimEvents(handle entity)", + "contents": "DispatchAnimEvents(${1:handle entity})$0", + "kind": "keyword", + "details": "Dispatch animation events to a CBaseAnimating" + }, + { + "trigger": "DispatchParticleEffect", + "annotation": "void DispatchParticleEffect(string name, Vector origin, Vector angles)", + "contents": "DispatchParticleEffect(${1:string name}, ${2:Vector origin}, ${3:Vector angles})$0", + "kind": "keyword", + "details": "Dispatches a one-off particle system" + }, + { + "trigger": "DispatchSpawn", + "annotation": "void DispatchSpawn(handle entity)", + "contents": "DispatchSpawn(${1:handle entity})$0", + "kind": "keyword", + "details": "Dispatches spawn of an entity! Use this on entities created via CreateByClassname to actually spawn them into the world." + }, + { + "trigger": "DoEntFire", + "annotation": "void DoEntFire(string target, string action, string value, float delay, handle activator, handle caller)", + "contents": "DoEntFire(${1:string target}, ${2:string action}, ${3:string value}, ${4:float delay}, ${5:handle activator}, ${6:handle caller})$0", + "kind": "keyword", + "details": "Generate an entity I/O event. The caller and activator argument takes a CBaseEntity script handle, and entities assigned can receive inputs with target set to !self, or !activator / !caller." + }, + { + "trigger": "DoIncludeScript", + "annotation": "bool DoIncludeScript(string file, handle/table scope)", + "contents": "DoIncludeScript(${1:string file}, ${2:handle/table scope})$0", + "kind": "keyword", + "details": "Execute a script. and put all its content for the argument passed to thescopeparameter. (internal)" + }, + { + "trigger": "DoAttackTaunt", + "annotation": "void DoAttackTaunt()", + "contents": "DoAttackTaunt()$0", + "kind": "keyword", + "details": "Performs taunts attacks if available. Player must be already taunting and taunt must have a valid attack assigned (taunt attack name attribute)" + }, + { + "trigger": "DoUniqueString", + "annotation": "string DoUniqueString(string input)", + "contents": "DoUniqueString(${1:string input})$0", + "kind": "keyword", + "details": "Unknown; presumably an internal function called by UniqueString, so call that instead." + }, + { + "trigger": "Document", + "annotation": "void Document(unknown symbolOrTable, unknown itemIfSymbol = null, string descriptionIfSymbol = null)", + "contents": "Document(${1:unknown symbolOrTable}, ${2:unknown itemIfSymbol = null}, ${3:string descriptionIfSymbol = null})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Documentation", + "annotation": "Documentation", + "contents": "Documentation$0", + "kind": "keyword", + "details": "Contains the printed strings from the script_help command." + }, + { + "trigger": "Dot", + "annotation": "float Dot(Quaternion factor)", + "contents": "Dot(${1:Quaternion factor})$0", + "kind": "keyword", + "details": "The 4D scalar product of two quaternions. represents the angle between the quaternions in the range [1, 0]." + }, + { + "trigger": "DriveTo", + "annotation": "void DriveTo(Vector pos)", + "contents": "DriveTo(${1:Vector pos})$0", + "kind": "keyword", + "details": "Move the bot to the precise given position immediately, updating internal state" + }, + { + "trigger": "DropFlag", + "annotation": "void DropFlag(bool silent)", + "contents": "DropFlag(${1:bool silent})$0", + "kind": "keyword", + "details": "Force player to drop the flag." + }, + { + "trigger": "DropRune", + "annotation": "void DropRune(bool apply_force, int team)", + "contents": "DropRune(${1:bool apply_force}, ${2:int team})$0", + "kind": "keyword", + "details": "Force player to drop the rune." + }, + { + "trigger": "DumpObject", + "annotation": "void DumpObject(handle object)", + "contents": "DumpObject(${1:handle object})$0", + "kind": "keyword", + "details": "Dumps information about a class or instance." + }, + { + "trigger": "E", + "annotation": "E", + "contents": "E$0", + "kind": "keyword", + "details": "2.71828" + }, + { + "trigger": "EAST", + "annotation": "EAST", + "contents": "EAST$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "EASY", + "annotation": "EASY", + "contents": "EASY$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "EFL_BOT_FROZEN", + "annotation": "EFL_BOT_FROZEN", + "contents": "EFL_BOT_FROZEN$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "EFL_CHECK_UNTOUCH", + "annotation": "EFL_CHECK_UNTOUCH", + "contents": "EFL_CHECK_UNTOUCH$0", + "kind": "keyword", + "details": "16777216" + }, + { + "trigger": "EFL_DIRTY_ABSANGVELOCITY", + "annotation": "EFL_DIRTY_ABSANGVELOCITY", + "contents": "EFL_DIRTY_ABSANGVELOCITY$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "EFL_DIRTY_ABSTRANSFORM", + "annotation": "EFL_DIRTY_ABSTRANSFORM", + "contents": "EFL_DIRTY_ABSTRANSFORM$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "EFL_DIRTY_ABSVELOCITY", + "annotation": "EFL_DIRTY_ABSVELOCITY", + "contents": "EFL_DIRTY_ABSVELOCITY$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "EFL_DIRTY_SHADOWUPDATE", + "annotation": "EFL_DIRTY_SHADOWUPDATE", + "contents": "EFL_DIRTY_SHADOWUPDATE$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "EFL_DIRTY_SPATIAL_PARTITION", + "annotation": "EFL_DIRTY_SPATIAL_PARTITION", + "contents": "EFL_DIRTY_SPATIAL_PARTITION$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS", + "annotation": "EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS", + "contents": "EFL_DIRTY_SURROUNDING_COLLISION_BOUNDS$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "EFL_DONTBLOCKLOS", + "annotation": "EFL_DONTBLOCKLOS", + "contents": "EFL_DONTBLOCKLOS$0", + "kind": "keyword", + "details": "33554432" + }, + { + "trigger": "EFL_DONTWALKON", + "annotation": "EFL_DONTWALKON", + "contents": "EFL_DONTWALKON$0", + "kind": "keyword", + "details": "67108864" + }, + { + "trigger": "EFL_DORMANT", + "annotation": "EFL_DORMANT", + "contents": "EFL_DORMANT$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "EFL_FORCE_ALLOW_MOVEPARENT", + "annotation": "EFL_FORCE_ALLOW_MOVEPARENT", + "contents": "EFL_FORCE_ALLOW_MOVEPARENT$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "EFL_FORCE_CHECK_TRANSMIT", + "annotation": "EFL_FORCE_CHECK_TRANSMIT", + "contents": "EFL_FORCE_CHECK_TRANSMIT$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "EFL_HAS_PLAYER_CHILD", + "annotation": "EFL_HAS_PLAYER_CHILD", + "contents": "EFL_HAS_PLAYER_CHILD$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "EFL_IN_SKYBOX", + "annotation": "EFL_IN_SKYBOX", + "contents": "EFL_IN_SKYBOX$0", + "kind": "keyword", + "details": "131072" + }, + { + "trigger": "EFL_IS_BEING_LIFTED_BY_BARNACLE", + "annotation": "EFL_IS_BEING_LIFTED_BY_BARNACLE", + "contents": "EFL_IS_BEING_LIFTED_BY_BARNACLE$0", + "kind": "keyword", + "details": "1048576" + }, + { + "trigger": "EFL_KEEP_ON_RECREATE_ENTITIES", + "annotation": "EFL_KEEP_ON_RECREATE_ENTITIES", + "contents": "EFL_KEEP_ON_RECREATE_ENTITIES$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "EFL_KILLME", + "annotation": "EFL_KILLME", + "contents": "EFL_KILLME$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "EFL_NOCLIP_ACTIVE", + "annotation": "EFL_NOCLIP_ACTIVE", + "contents": "EFL_NOCLIP_ACTIVE$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "EFL_NOTIFY", + "annotation": "EFL_NOTIFY", + "contents": "EFL_NOTIFY$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "EFL_NO_AUTO_EDICT_ATTACH", + "annotation": "EFL_NO_AUTO_EDICT_ATTACH", + "contents": "EFL_NO_AUTO_EDICT_ATTACH$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "EFL_NO_DAMAGE_FORCES", + "annotation": "EFL_NO_DAMAGE_FORCES", + "contents": "EFL_NO_DAMAGE_FORCES$0", + "kind": "keyword", + "details": "2147483648" + }, + { + "trigger": "EFL_NO_DISSOLVE", + "annotation": "EFL_NO_DISSOLVE", + "contents": "EFL_NO_DISSOLVE$0", + "kind": "keyword", + "details": "134217728" + }, + { + "trigger": "EFL_NO_GAME_PHYSICS_SIMULATION", + "annotation": "EFL_NO_GAME_PHYSICS_SIMULATION", + "contents": "EFL_NO_GAME_PHYSICS_SIMULATION$0", + "kind": "keyword", + "details": "8388608" + }, + { + "trigger": "EFL_NO_MEGAPHYSCANNON_RAGDOLL", + "annotation": "EFL_NO_MEGAPHYSCANNON_RAGDOLL", + "contents": "EFL_NO_MEGAPHYSCANNON_RAGDOLL$0", + "kind": "keyword", + "details": "268435456" + }, + { + "trigger": "EFL_NO_PHYSCANNON_INTERACTION", + "annotation": "EFL_NO_PHYSCANNON_INTERACTION", + "contents": "EFL_NO_PHYSCANNON_INTERACTION$0", + "kind": "keyword", + "details": "1073741824" + }, + { + "trigger": "EFL_NO_ROTORWASH_PUSH", + "annotation": "EFL_NO_ROTORWASH_PUSH", + "contents": "EFL_NO_ROTORWASH_PUSH$0", + "kind": "keyword", + "details": "2097152" + }, + { + "trigger": "EFL_NO_THINK_FUNCTION", + "annotation": "EFL_NO_THINK_FUNCTION", + "contents": "EFL_NO_THINK_FUNCTION$0", + "kind": "keyword", + "details": "4194304" + }, + { + "trigger": "EFL_NO_WATER_VELOCITY_CHANGE", + "annotation": "EFL_NO_WATER_VELOCITY_CHANGE", + "contents": "EFL_NO_WATER_VELOCITY_CHANGE$0", + "kind": "keyword", + "details": "536870912" + }, + { + "trigger": "EFL_SERVER_ONLY", + "annotation": "EFL_SERVER_ONLY", + "contents": "EFL_SERVER_ONLY$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "EFL_SETTING_UP_BONES", + "annotation": "EFL_SETTING_UP_BONES", + "contents": "EFL_SETTING_UP_BONES$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "EFL_TOUCHING_FLUID", + "annotation": "EFL_TOUCHING_FLUID", + "contents": "EFL_TOUCHING_FLUID$0", + "kind": "keyword", + "details": "524288" + }, + { + "trigger": "EFL_USE_PARTITION_WHEN_NOT_SOLID", + "annotation": "EFL_USE_PARTITION_WHEN_NOT_SOLID", + "contents": "EFL_USE_PARTITION_WHEN_NOT_SOLID$0", + "kind": "keyword", + "details": "262144" + }, + { + "trigger": "EF_BONEMERGE", + "annotation": "EF_BONEMERGE", + "contents": "EF_BONEMERGE$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "EF_BONEMERGE_FASTCULL", + "annotation": "EF_BONEMERGE_FASTCULL", + "contents": "EF_BONEMERGE_FASTCULL$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "EF_BRIGHTLIGHT", + "annotation": "EF_BRIGHTLIGHT", + "contents": "EF_BRIGHTLIGHT$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "EF_DIMLIGHT", + "annotation": "EF_DIMLIGHT", + "contents": "EF_DIMLIGHT$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "EF_ITEM_BLINK", + "annotation": "EF_ITEM_BLINK", + "contents": "EF_ITEM_BLINK$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "EF_MAX_BITS", + "annotation": "EF_MAX_BITS", + "contents": "EF_MAX_BITS$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "EF_NODRAW", + "annotation": "EF_NODRAW", + "contents": "EF_NODRAW$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "EF_NOINTERP", + "annotation": "EF_NOINTERP", + "contents": "EF_NOINTERP$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "EF_NORECEIVESHADOW", + "annotation": "EF_NORECEIVESHADOW", + "contents": "EF_NORECEIVESHADOW$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "EF_NOSHADOW", + "annotation": "EF_NOSHADOW", + "contents": "EF_NOSHADOW$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "EF_PARENT_ANIMATES", + "annotation": "EF_PARENT_ANIMATES", + "contents": "EF_PARENT_ANIMATES$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "EXPERT", + "annotation": "EXPERT", + "contents": "EXPERT$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "EmitAmbientSoundOn", + "annotation": "void EmitAmbientSoundOn(string soundName, float volume, int soundlevel, int pitch, handle entity)", + "contents": "EmitAmbientSoundOn(${1:string soundName}, ${2:float volume}, ${3:int soundlevel}, ${4:int pitch}, ${5:handle entity})$0", + "kind": "keyword", + "details": "Play named sound on an entity using configurations similar to ambient_generic. Soundlevel is in decibels." + }, + { + "trigger": "EmitSound", + "annotation": "void EmitSound(string)", + "contents": "EmitSound(${1:string})$0", + "kind": "keyword", + "details": "Plays a sound from this entity." + }, + { + "trigger": "EmitSoundEx", + "annotation": "void EmitSoundEx(handle table)", + "contents": "EmitSoundEx(${1:handle table})$0", + "kind": "keyword", + "details": "Play a sound. Takes in a script table of params: sound_name, channel, volume, sound_level, flags, pitch, special_dsp, origin, delay, sound_time, entity, speaker_entity, filter_type, filter_param. All parameters are optional except sound_name. See the main page for more details." + }, + { + "trigger": "EmitSoundOn", + "annotation": "void EmitSoundOn(string soundScript, handle entity)", + "contents": "EmitSoundOn(${1:string soundScript}, ${2:handle entity})$0", + "kind": "keyword", + "details": "Play named sound on an entity. Legacy only, use EmitSoundEx" + }, + { + "trigger": "EmitSoundOnClient", + "annotation": "void EmitSoundOnClient(string soundScript, handle player)", + "contents": "EmitSoundOnClient(${1:string soundScript}, ${2:handle player})$0", + "kind": "keyword", + "details": "Play named sound only on the client for the specified player. NOTE: This only supports soundscripts. Legacy only, use EmitSoundEx." + }, + { + "trigger": "EnableDraw", + "annotation": "void EnableDraw()", + "contents": "EnableDraw()$0", + "kind": "keyword", + "details": "Enable drawing and transmitting the entity to clients. (removes EF_NODRAW)" + }, + { + "trigger": "End", + "annotation": "End()", + "contents": "End()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "EndLongTaunt", + "annotation": "void EndLongTaunt()", + "contents": "EndLongTaunt()$0", + "kind": "keyword", + "details": "Stops a looping taunt (obeys minimum time rules and plays outro animation if available)" + }, + { + "trigger": "EndScriptDebug", + "annotation": "void EndScriptDebug()", + "contents": "EndScriptDebug()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "EntFire", + "annotation": "void EntFire(string target, string action, string value = null, float delay = 0, handle activator = null)", + "contents": "EntFire(${1:string target}, ${2:string action}, ${3:string value = null}, ${4:float delay = 0}, ${5:handle activator = null})$0", + "kind": "keyword", + "details": "Wrapper for DoEntFire() that setsactivator to null, but has no caller param." + }, + { + "trigger": "EntFireByHandle", + "annotation": "void EntFireByHandle(handle entity, string action, string value, float delay, handle activator, handle caller)", + "contents": "EntFireByHandle(${1:handle entity}, ${2:string action}, ${3:string value}, ${4:float delay}, ${5:handle activator}, ${6:handle caller})$0", + "kind": "keyword", + "details": "Generate and entity i/o event. First parameter is an entity instance." + }, + { + "trigger": "EntIndexToHScript", + "annotation": "handle EntIndexToHScript(int entIndex)", + "contents": "EntIndexToHScript(${1:int entIndex})$0", + "kind": "keyword", + "details": "Turn an entity index integer to an HScript representing that entity's script instance." + }, + { + "trigger": "Epsilon", + "annotation": "Epsilon", + "contents": "Epsilon$0", + "kind": "keyword", + "details": "1.19209e-07" + }, + { + "trigger": "EquipWearableViewModel", + "annotation": "void EquipWearableViewModel(handle ent)", + "contents": "EquipWearableViewModel(${1:handle ent})$0", + "kind": "keyword", + "details": "Equips a wearble on the viewmodel. Intended to be used with tf_wearable_vm entities." + }, + { + "trigger": "EstablishDelegation", + "annotation": "EstablishDelegation()", + "contents": "EstablishDelegation()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "EstimateLength", + "annotation": "float EstimateLength()", + "contents": "EstimateLength()$0", + "kind": "keyword", + "details": "Returns length of this scene in seconds." + }, + { + "trigger": "ExtinguishPlayerBurning", + "annotation": "void ExtinguishPlayerBurning()", + "contents": "ExtinguishPlayerBurning()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "EyeAngles", + "annotation": "QAngle EyeAngles()", + "contents": "EyeAngles()$0", + "kind": "keyword", + "details": "Returns the entity's eye angles. Acts like GetAbsAngles if the entity does not support it." + }, + { + "trigger": "EyePosition", + "annotation": "Vector EyePosition()", + "contents": "EyePosition()$0", + "kind": "keyword", + "details": "Get vector to eye position - absolute coords. Acts like GetOrigin if the entity does not support it." + }, + { + "trigger": "FIRE_IMMUNE", + "annotation": "FIRE_IMMUNE", + "contents": "FIRE_IMMUNE$0", + "kind": "keyword", + "details": "33554432" + }, + { + "trigger": "FL_AIMTARGET", + "annotation": "FL_AIMTARGET", + "contents": "FL_AIMTARGET$0", + "kind": "keyword", + "details": "131072" + }, + { + "trigger": "FL_ANIMDUCKING", + "annotation": "FL_ANIMDUCKING", + "contents": "FL_ANIMDUCKING$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "FL_ATCONTROLS", + "annotation": "FL_ATCONTROLS", + "contents": "FL_ATCONTROLS$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "FL_BASEVELOCITY", + "annotation": "FL_BASEVELOCITY", + "contents": "FL_BASEVELOCITY$0", + "kind": "keyword", + "details": "16777216" + }, + { + "trigger": "FL_CLIENT", + "annotation": "FL_CLIENT", + "contents": "FL_CLIENT$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "FL_CONVEYOR", + "annotation": "FL_CONVEYOR", + "contents": "FL_CONVEYOR$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "FL_DISSOLVING", + "annotation": "FL_DISSOLVING", + "contents": "FL_DISSOLVING$0", + "kind": "keyword", + "details": "536870912" + }, + { + "trigger": "FL_DONTTOUCH", + "annotation": "FL_DONTTOUCH", + "contents": "FL_DONTTOUCH$0", + "kind": "keyword", + "details": "8388608" + }, + { + "trigger": "FL_DUCKING", + "annotation": "FL_DUCKING", + "contents": "FL_DUCKING$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "FL_FAKECLIENT", + "annotation": "FL_FAKECLIENT", + "contents": "FL_FAKECLIENT$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "FL_FLY", + "annotation": "FL_FLY", + "contents": "FL_FLY$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "FL_FROZEN", + "annotation": "FL_FROZEN", + "contents": "FL_FROZEN$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "FL_GODMODE", + "annotation": "FL_GODMODE", + "contents": "FL_GODMODE$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "FL_GRAPHED", + "annotation": "FL_GRAPHED", + "contents": "FL_GRAPHED$0", + "kind": "keyword", + "details": "1048576" + }, + { + "trigger": "FL_GRENADE", + "annotation": "FL_GRENADE", + "contents": "FL_GRENADE$0", + "kind": "keyword", + "details": "2097152" + }, + { + "trigger": "FL_INRAIN", + "annotation": "FL_INRAIN", + "contents": "FL_INRAIN$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "FL_INWATER", + "annotation": "FL_INWATER", + "contents": "FL_INWATER$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "FL_KILLME", + "annotation": "FL_KILLME", + "contents": "FL_KILLME$0", + "kind": "keyword", + "details": "134217728" + }, + { + "trigger": "FL_NOTARGET", + "annotation": "FL_NOTARGET", + "contents": "FL_NOTARGET$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "FL_NPC", + "annotation": "FL_NPC", + "contents": "FL_NPC$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "FL_OBJECT", + "annotation": "FL_OBJECT", + "contents": "FL_OBJECT$0", + "kind": "keyword", + "details": "67108864" + }, + { + "trigger": "FL_ONFIRE", + "annotation": "FL_ONFIRE", + "contents": "FL_ONFIRE$0", + "kind": "keyword", + "details": "268435456" + }, + { + "trigger": "FL_ONGROUND", + "annotation": "FL_ONGROUND", + "contents": "FL_ONGROUND$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "FL_ONTRAIN", + "annotation": "FL_ONTRAIN", + "contents": "FL_ONTRAIN$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "FL_PARTIALGROUND", + "annotation": "FL_PARTIALGROUND", + "contents": "FL_PARTIALGROUND$0", + "kind": "keyword", + "details": "262144" + }, + { + "trigger": "FL_STATICPROP", + "annotation": "FL_STATICPROP", + "contents": "FL_STATICPROP$0", + "kind": "keyword", + "details": "524288" + }, + { + "trigger": "FL_STEPMOVEMENT", + "annotation": "FL_STEPMOVEMENT", + "contents": "FL_STEPMOVEMENT$0", + "kind": "keyword", + "details": "4194304" + }, + { + "trigger": "FL_SWIM", + "annotation": "FL_SWIM", + "contents": "FL_SWIM$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "FL_TRANSRAGDOLL", + "annotation": "FL_TRANSRAGDOLL", + "contents": "FL_TRANSRAGDOLL$0", + "kind": "keyword", + "details": "1073741824" + }, + { + "trigger": "FL_UNBLOCKABLE_BY_PLAYER", + "annotation": "FL_UNBLOCKABLE_BY_PLAYER", + "contents": "FL_UNBLOCKABLE_BY_PLAYER$0", + "kind": "keyword", + "details": "2147483648" + }, + { + "trigger": "FL_WATERJUMP", + "annotation": "FL_WATERJUMP", + "contents": "FL_WATERJUMP$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "FL_WORLDBRUSH", + "annotation": "FL_WORLDBRUSH", + "contents": "FL_WORLDBRUSH$0", + "kind": "keyword", + "details": "33554432" + }, + { + "trigger": "FORWARD", + "annotation": "FORWARD", + "contents": "FORWARD$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "FSOLID_CUSTOMBOXTEST", + "annotation": "FSOLID_CUSTOMBOXTEST", + "contents": "FSOLID_CUSTOMBOXTEST$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "FSOLID_CUSTOMRAYTEST", + "annotation": "FSOLID_CUSTOMRAYTEST", + "contents": "FSOLID_CUSTOMRAYTEST$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "FSOLID_FORCE_WORLD_ALIGNED", + "annotation": "FSOLID_FORCE_WORLD_ALIGNED", + "contents": "FSOLID_FORCE_WORLD_ALIGNED$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "FSOLID_MAX_BITS", + "annotation": "FSOLID_MAX_BITS", + "contents": "FSOLID_MAX_BITS$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "FSOLID_NOT_SOLID", + "annotation": "FSOLID_NOT_SOLID", + "contents": "FSOLID_NOT_SOLID$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "FSOLID_NOT_STANDABLE", + "annotation": "FSOLID_NOT_STANDABLE", + "contents": "FSOLID_NOT_STANDABLE$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "FSOLID_ROOT_PARENT_ALIGNED", + "annotation": "FSOLID_ROOT_PARENT_ALIGNED", + "contents": "FSOLID_ROOT_PARENT_ALIGNED$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "FSOLID_TRIGGER", + "annotation": "FSOLID_TRIGGER", + "contents": "FSOLID_TRIGGER$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "FSOLID_TRIGGER_TOUCH_DEBRIS", + "annotation": "FSOLID_TRIGGER_TOUCH_DEBRIS", + "contents": "FSOLID_TRIGGER_TOUCH_DEBRIS$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "FSOLID_USE_TRIGGER_BOUNDS", + "annotation": "FSOLID_USE_TRIGGER_BOUNDS", + "contents": "FSOLID_USE_TRIGGER_BOUNDS$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "FSOLID_VOLUME_CONTENTS", + "annotation": "FSOLID_VOLUME_CONTENTS", + "contents": "FSOLID_VOLUME_CONTENTS$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "FaceTowards", + "annotation": "void FaceTowards(Vector target)", + "contents": "FaceTowards(${1:Vector target})$0", + "kind": "keyword", + "details": "Rotate body to face towards target" + }, + { + "trigger": "FileToString", + "annotation": "string FileToString(string file)", + "contents": "FileToString(${1:string file})$0", + "kind": "keyword", + "details": "Reads a string from file located in the game's scriptdata folder. Returns the string from the file, null if no file or file is greater than 16384 bytes." + }, + { + "trigger": "FindBodygroupByName", + "annotation": "int FindBodygroupByName(string name)", + "contents": "FindBodygroupByName(${1:string name})$0", + "kind": "keyword", + "details": "Find a bodygroup ID by name. Returns -1 if the bodygroup does not exist." + }, + { + "trigger": "FindByClassname", + "annotation": "handle FindByClassname(handle previous, string classname)", + "contents": "FindByClassname(${1:handle previous}, ${2:string classname})$0", + "kind": "keyword", + "details": "Find entities by the string of their classname keyvalue. Pass 'null' value to start an iteration, or reference to a previously found entity to continue a search" + }, + { + "trigger": "FindByClassnameNearest", + "annotation": "handle FindByClassnameNearest(string classname, Vector center, float radius)", + "contents": "FindByClassnameNearest(${1:string classname}, ${2:Vector center}, ${3:float radius})$0", + "kind": "keyword", + "details": "Find entities by classname nearest to a point within a radius." + }, + { + "trigger": "FindByClassnameWithin", + "annotation": "handle FindByClassnameWithin(handle previous, string classname, Vector center, float radius)", + "contents": "FindByClassnameWithin(${1:handle previous}, ${2:string classname}, ${3:Vector center}, ${4:float radius})$0", + "kind": "keyword", + "details": "Find entities by classname within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" + }, + { + "trigger": "FindByModel", + "annotation": "handle FindByModel(handle previous, string modelname)", + "contents": "FindByModel(${1:handle previous}, ${2:string modelname})$0", + "kind": "keyword", + "details": "Find entities by the value of their model keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" + }, + { + "trigger": "FindByName", + "annotation": "handle FindByName(handle previous, string targetname)", + "contents": "FindByName(${1:handle previous}, ${2:string targetname})$0", + "kind": "keyword", + "details": "Find entities by the value of their enttargetname keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" + }, + { + "trigger": "FindByNameNearest", + "annotation": "handle FindByNameNearest(string targetname, Vector center, float radius)", + "contents": "FindByNameNearest(${1:string targetname}, ${2:Vector center}, ${3:float radius})$0", + "kind": "keyword", + "details": "Find entities by targetname nearest to a point within a radius." + }, + { + "trigger": "FindByNameWithin", + "annotation": "handle FindByNameWithin(handle previous, string targetname, Vector center, float radius)", + "contents": "FindByNameWithin(${1:handle previous}, ${2:string targetname}, ${3:Vector center}, ${4:float radius})$0", + "kind": "keyword", + "details": "Find entities by targetname within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" + }, + { + "trigger": "FindByTarget", + "annotation": "handle FindByTarget(handle previous, string target)", + "contents": "FindByTarget(${1:handle previous}, ${2:string target})$0", + "kind": "keyword", + "details": "Find entities by the value of their target keyvalue. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" + }, + { + "trigger": "FindCircularReference", + "annotation": "FindCircularReference()", + "contents": "FindCircularReference()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "FindCircularReferences", + "annotation": "FindCircularReferences()", + "contents": "FindCircularReferences()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "FindInSphere", + "annotation": "handle FindInSphere(handle previous, Vector center, float radius)", + "contents": "FindInSphere(${1:handle previous}, ${2:Vector center}, ${3:float radius})$0", + "kind": "keyword", + "details": "Find entities within a radius. Pass 'null' to start an iteration, or reference to a previously found entity to continue a search" + }, + { + "trigger": "FindKey", + "annotation": "CScriptKeyValues FindKey(string key)", + "contents": "FindKey(${1:string key})$0", + "kind": "keyword", + "details": "Find a sub key by the key name." + }, + { + "trigger": "FindNamedEntity", + "annotation": "handle FindNamedEntity(string reference)", + "contents": "FindNamedEntity(${1:string reference})$0", + "kind": "keyword", + "details": "given an entity reference, such as !target, get actual entity from scene object" + }, + { + "trigger": "FindNavAreaAlongRay", + "annotation": "handle FindNavAreaAlongRay(Vector startpos, Vector endpos, handle ignoreAreaID)", + "contents": "FindNavAreaAlongRay(${1:Vector startpos}, ${2:Vector endpos}, ${3:handle ignoreAreaID})$0", + "kind": "keyword", + "details": "get nav area from ray" + }, + { + "trigger": "FindRandomSpot", + "annotation": "Vector FindRandomSpot()", + "contents": "FindRandomSpot()$0", + "kind": "keyword", + "details": "Get random origin within extent of area." + }, + { + "trigger": "FindVantagePoint", + "annotation": "handle FindVantagePoint(float max_distance)", + "contents": "FindVantagePoint(${1:float max_distance})$0", + "kind": "keyword", + "details": "Get the nav area of the closest vantage point (within distance)" + }, + { + "trigger": "FireGameEvent", + "annotation": "bool FireGameEvent(string name, handle table)", + "contents": "FireGameEvent(${1:string name}, ${2:handle table})$0", + "kind": "keyword", + "details": "Fire a game event to a listening callback function in script. Parameters are passed in a squirrel table." + }, + { + "trigger": "FireScriptEvent", + "annotation": "void FireScriptEvent(string event, table params)", + "contents": "FireScriptEvent(${1:string event}, ${2:table params})$0", + "kind": "keyword", + "details": "Wrapper for __RunEventCallbacks()" + }, + { + "trigger": "FireScriptHook", + "annotation": "bool FireScriptHook(string name, handle table)", + "contents": "FireScriptHook(${1:string name}, ${2:handle table})$0", + "kind": "keyword", + "details": "Fire a script hoook to a listening callback function in script. Parameters are passed in a squirrel table." + }, + { + "trigger": "FiringTalk", + "annotation": "void FiringTalk()", + "contents": "FiringTalk()$0", + "kind": "keyword", + "details": "Makes eg. a heavy go AAAAAAAAAAaAaa like they are firing their minigun." + }, + { + "trigger": "First", + "annotation": "handle First()", + "contents": "First()$0", + "kind": "keyword", + "details": "Begin an iteration over the list of entities" + }, + { + "trigger": "FirstMoveChild", + "annotation": "handle FirstMoveChild()", + "contents": "FirstMoveChild()$0", + "kind": "keyword", + "details": "Returns the most-recent entity parented to this one." + }, + { + "trigger": "FlagForUpdate", + "annotation": "void FlagForUpdate(bool toggle)", + "contents": "FlagForUpdate(${1:bool toggle})$0", + "kind": "keyword", + "details": "Flag this bot for update" + }, + { + "trigger": "FlagsMayBeCapped", + "annotation": "bool FlagsMayBeCapped()", + "contents": "FlagsMayBeCapped()$0", + "kind": "keyword", + "details": "May a flag be captured?" + }, + { + "trigger": "ForceChangeTeam", + "annotation": "void ForceChangeTeam(int team, bool full_team_switch)", + "contents": "ForceChangeTeam(${1:int team}, ${2:bool full_team_switch})$0", + "kind": "keyword", + "details": "Force player to change their team. Setting the bool to true will not remove nemesis relationships or reset the player's class, as well as not slaying the player." + }, + { + "trigger": "ForceEnableUpgrades", + "annotation": "void ForceEnableUpgrades(int state)", + "contents": "ForceEnableUpgrades(${1:int state})$0", + "kind": "keyword", + "details": "Whether to force on MvM-styled upgrades on/off. 0 -> default, 1 -> force off, 2 -> force on" + }, + { + "trigger": "ForceEscortPushLogic", + "annotation": "void ForceEscortPushLogic(int state)", + "contents": "ForceEscortPushLogic(${1:int state})$0", + "kind": "keyword", + "details": "Forces payload pushing logic. 0 -> default, 1 -> force off, 2 -> force on" + }, + { + "trigger": "ForceRegenerateAndRespawn", + "annotation": "void ForceRegenerateAndRespawn()", + "contents": "ForceRegenerateAndRespawn()$0", + "kind": "keyword", + "details": "Force regenerates and respawns the player" + }, + { + "trigger": "ForceRespawn", + "annotation": "void ForceRespawn()", + "contents": "ForceRespawn()$0", + "kind": "keyword", + "details": "Force respawns the player" + }, + { + "trigger": "Forward", + "annotation": "Vector Forward()", + "contents": "Forward()$0", + "kind": "keyword", + "details": "Returns the Forward Vector of the angles." + }, + { + "trigger": "FractionPotentialGap", + "annotation": "float FractionPotentialGap(Vector from, Vector to)", + "contents": "FractionPotentialGap(${1:Vector from}, ${2:Vector to})$0", + "kind": "keyword", + "details": "If the locomotor cannot jump over the gap, returns the fraction of the jumpable ray" + }, + { + "trigger": "FractionPotentiallyTraversable", + "annotation": "float FractionPotentiallyTraversable(Vector from, Vector to, bool immediately)", + "contents": "FractionPotentiallyTraversable(${1:Vector from}, ${2:Vector to}, ${3:bool immediately})$0", + "kind": "keyword", + "details": "If the locomotor could not move along the line given, returns the fraction of the walkable ray. If immediately is true, breakables are considered non-traverseable" + }, + { + "trigger": "FrameTime", + "annotation": "float FrameTime()", + "contents": "FrameTime()$0", + "kind": "keyword", + "details": "Get the time spent on the server in the last frame" + }, + { + "trigger": "GO_EAST", + "annotation": "GO_EAST", + "contents": "GO_EAST$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "GO_ELEVATOR_DOWN", + "annotation": "GO_ELEVATOR_DOWN", + "contents": "GO_ELEVATOR_DOWN$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "GO_ELEVATOR_UP", + "annotation": "GO_ELEVATOR_UP", + "contents": "GO_ELEVATOR_UP$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "GO_JUMP", + "annotation": "GO_JUMP", + "contents": "GO_JUMP$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "GO_LADDER_DOWN", + "annotation": "GO_LADDER_DOWN", + "contents": "GO_LADDER_DOWN$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "GO_LADDER_UP", + "annotation": "GO_LADDER_UP", + "contents": "GO_LADDER_UP$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "GO_NORTH", + "annotation": "GO_NORTH", + "contents": "GO_NORTH$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "GO_SOUTH", + "annotation": "GO_SOUTH", + "contents": "GO_SOUTH$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "GO_WEST", + "annotation": "GO_WEST", + "contents": "GO_WEST$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "GR_NUM_ROUND_STATES", + "annotation": "GR_NUM_ROUND_STATES", + "contents": "GR_NUM_ROUND_STATES$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "GR_STATE_BETWEEN_RNDS", + "annotation": "GR_STATE_BETWEEN_RNDS", + "contents": "GR_STATE_BETWEEN_RNDS$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "GR_STATE_BONUS", + "annotation": "GR_STATE_BONUS", + "contents": "GR_STATE_BONUS$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "GR_STATE_GAME_OVER", + "annotation": "GR_STATE_GAME_OVER", + "contents": "GR_STATE_GAME_OVER$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "GR_STATE_INIT", + "annotation": "GR_STATE_INIT", + "contents": "GR_STATE_INIT$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "GR_STATE_PREGAME", + "annotation": "GR_STATE_PREGAME", + "contents": "GR_STATE_PREGAME$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "GR_STATE_PREROUND", + "annotation": "GR_STATE_PREROUND", + "contents": "GR_STATE_PREROUND$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "GR_STATE_RESTART", + "annotation": "GR_STATE_RESTART", + "contents": "GR_STATE_RESTART$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "GR_STATE_RND_RUNNING", + "annotation": "GR_STATE_RND_RUNNING", + "contents": "GR_STATE_RND_RUNNING$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "GR_STATE_STALEMATE", + "annotation": "GR_STATE_STALEMATE", + "contents": "GR_STATE_STALEMATE$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "GR_STATE_STARTGAME", + "annotation": "GR_STATE_STARTGAME", + "contents": "GR_STATE_STARTGAME$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "GR_STATE_TEAM_WIN", + "annotation": "GR_STATE_TEAM_WIN", + "contents": "GR_STATE_TEAM_WIN$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "GameEventCallbacks", + "annotation": "GameEventCallbacks", + "contents": "GameEventCallbacks$0", + "kind": "keyword", + "details": "Table of registered game event callbacks." + }, + { + "trigger": "GameModeUsesCurrency", + "annotation": "bool GameModeUsesCurrency()", + "contents": "GameModeUsesCurrency()$0", + "kind": "keyword", + "details": "Does the current gamemode have currency?" + }, + { + "trigger": "GameModeUsesMiniBosses", + "annotation": "bool GameModeUsesMiniBosses()", + "contents": "GameModeUsesMiniBosses()$0", + "kind": "keyword", + "details": "Does the current gamemode have minibosses?" + }, + { + "trigger": "GameModeUsesUpgrades", + "annotation": "bool GameModeUsesUpgrades()", + "contents": "GameModeUsesUpgrades()$0", + "kind": "keyword", + "details": "Does the current gamemode have upgrades?" + }, + { + "trigger": "GenerateAndWearItem", + "annotation": "void GenerateAndWearItem(string item_name)", + "contents": "GenerateAndWearItem(${1:string item_name})$0", + "kind": "keyword", + "details": "Give me an item!" + }, + { + "trigger": "GetAbsAngles", + "annotation": "QAngle GetAbsAngles()", + "contents": "GetAbsAngles()$0", + "kind": "keyword", + "details": "Get entity pitch, yaw, roll as QAngles" + }, + { + "trigger": "GetAbsVelocity", + "annotation": "Vector GetAbsVelocity()", + "contents": "GetAbsVelocity()$0", + "kind": "keyword", + "details": "Returns the current absolute velocity of the entity" + }, + { + "trigger": "GetActiveWeapon", + "annotation": "handle GetActiveWeapon()", + "contents": "GetActiveWeapon()$0", + "kind": "keyword", + "details": "Get the player's current weapon" + }, + { + "trigger": "GetAdjacentArea", + "annotation": "handle GetAdjacentArea(int dir, int n)", + "contents": "GetAdjacentArea(${1:int dir}, ${2:int n})$0", + "kind": "keyword", + "details": "Return the n'th adjacent area in the given direction." + }, + { + "trigger": "GetAdjacentAreas", + "annotation": "void GetAdjacentAreas(int dir, handle table)", + "contents": "GetAdjacentAreas(${1:int dir}, ${2:handle table})$0", + "kind": "keyword", + "details": "Fills a passed in table with all adjacent areas in the given direction." + }, + { + "trigger": "GetAdjacentCount", + "annotation": "int GetAdjacentCount(int dir)", + "contents": "GetAdjacentCount(${1:int dir})$0", + "kind": "keyword", + "details": "Get the number of adjacent areas in the given direction." + }, + { + "trigger": "GetAllAreas", + "annotation": "void GetAllAreas(handle table)", + "contents": "GetAllAreas(${1:handle table})$0", + "kind": "keyword", + "details": "fills a passed in table of all nav areas" + }, + { + "trigger": "GetAngles", + "annotation": "Vector GetAngles()", + "contents": "GetAngles()$0", + "kind": "keyword", + "details": "Get entity pitch, yaw, roll as a Vector" + }, + { + "trigger": "GetAngularVelocity", + "annotation": "Vector GetAngularVelocity()", + "contents": "GetAngularVelocity()$0", + "kind": "keyword", + "details": "Get the local angular velocity - returns a vector of pitch, yaw, and roll" + }, + { + "trigger": "GetAreasWithAttributes", + "annotation": "void GetAreasWithAttributes(int bits, handle table)", + "contents": "GetAreasWithAttributes(${1:int bits}, ${2:handle table})$0", + "kind": "keyword", + "details": "fills a passed in table of all nav areas that have the specified attributes" + }, + { + "trigger": "GetAttachmentAngles", + "annotation": "QAngle GetAttachmentAngles(int ID)", + "contents": "GetAttachmentAngles(${1:int ID})$0", + "kind": "keyword", + "details": "Get an attachment's angles as a QAngle, by ID." + }, + { + "trigger": "GetAttachmentBone", + "annotation": "int GetAttachmentBone(int ID)", + "contents": "GetAttachmentBone(${1:int ID})$0", + "kind": "keyword", + "details": "Get an attachment's parent bone index by ID." + }, + { + "trigger": "GetAttachmentOrigin", + "annotation": "Vector GetAttachmentOrigin(int ID)", + "contents": "GetAttachmentOrigin(${1:int ID})$0", + "kind": "keyword", + "details": "Get an attachment's origin as a Vector, by ID." + }, + { + "trigger": "GetAttributes", + "annotation": "int GetAttributes()", + "contents": "GetAttributes()$0", + "kind": "keyword", + "details": "Get area attribute bits." + }, + { + "trigger": "GetAvoidanceObstacleHeight", + "annotation": "float GetAvoidanceObstacleHeight()", + "contents": "GetAvoidanceObstacleHeight()$0", + "kind": "keyword", + "details": "Returns the maximum height of the obstruction above the ground." + }, + { + "trigger": "GetBackstabs", + "annotation": "int GetBackstabs()", + "contents": "GetBackstabs()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetBaseVelocity", + "annotation": "Vector GetBaseVelocity()", + "contents": "GetBaseVelocity()$0", + "kind": "keyword", + "details": "Returns any constant velocity currently being imparted onto the entity. This includes being pushed by effects like enttrigger_push and players standing on moving geometry like elevators. Should always returns a zero vector if the entity is not affected by any movement effects." + }, + { + "trigger": "GetBodyInterface", + "annotation": "INextBotComponent GetBodyInterface()", + "contents": "GetBodyInterface()$0", + "kind": "keyword", + "details": "Get this bot's body interface" + }, + { + "trigger": "GetBodygroup", + "annotation": "int GetBodygroup(int ID)", + "contents": "GetBodygroup(${1:int ID})$0", + "kind": "keyword", + "details": "Get the bodygroup value by bodygroup ID." + }, + { + "trigger": "GetBodygroupName", + "annotation": "string GetBodygroupName(int ID)", + "contents": "GetBodygroupName(${1:int ID})$0", + "kind": "keyword", + "details": "Get the bodygroup's name by ID." + }, + { + "trigger": "GetBodygroupPartName", + "annotation": "string GetBodygroupPartName(int group, int part)", + "contents": "GetBodygroupPartName(${1:int group}, ${2:int part})$0", + "kind": "keyword", + "details": "Get the bodygroup's name by group and part." + }, + { + "trigger": "GetBoneAngles", + "annotation": "QAngle GetBoneAngles(int ID)", + "contents": "GetBoneAngles(${1:int ID})$0", + "kind": "keyword", + "details": "Get the bone's angles as a QAngle, by ID." + }, + { + "trigger": "GetBoneOrigin", + "annotation": "Vector GetBoneOrigin(int ID)", + "contents": "GetBoneOrigin(${1:int ID})$0", + "kind": "keyword", + "details": "Get the bone's origin Vector by ID." + }, + { + "trigger": "GetBonusPoints", + "annotation": "int GetBonusPoints()", + "contents": "GetBonusPoints()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetClientConvarValue", + "annotation": "bool GetClientConvarValue(string name)", + "contents": "GetClientConvarValue(${1:string name})$0", + "kind": "keyword", + "details": "Returns the convar as a bool. May return null if no such convar." + }, + { + "trigger": "GetBotId", + "annotation": "int GetBotId()", + "contents": "GetBotId()$0", + "kind": "keyword", + "details": "Get this bot's id" + }, + { + "trigger": "GetBotType", + "annotation": "int GetBotType()", + "contents": "GetBotType()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetBoundingMaxs", + "annotation": "Vector GetBoundingMaxs()", + "contents": "GetBoundingMaxs()$0", + "kind": "keyword", + "details": "Get a vector containing max bounds, centered on object" + }, + { + "trigger": "GetBoundingMaxsOriented", + "annotation": "Vector GetBoundingMaxsOriented()", + "contents": "GetBoundingMaxsOriented()$0", + "kind": "keyword", + "details": "Get a vector containing max bounds, centered on object, taking the object's orientation into account" + }, + { + "trigger": "GetBoundingMins", + "annotation": "Vector GetBoundingMins()", + "contents": "GetBoundingMins()$0", + "kind": "keyword", + "details": "Get a vector containing min bounds, centered on object" + }, + { + "trigger": "GetBoundingMinsOriented", + "annotation": "Vector GetBoundingMinsOriented()", + "contents": "GetBoundingMinsOriented()$0", + "kind": "keyword", + "details": "Get a vector containing min bounds, centered on object, taking the object's orientation into account" + }, + { + "trigger": "GetBuildingsDestroyed", + "annotation": "int GetBuildingsDestroyed()", + "contents": "GetBuildingsDestroyed()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetCaptures", + "annotation": "int GetCaptures()", + "contents": "GetCaptures()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetCenter", + "annotation": "Vector GetCenter()", + "contents": "GetCenter()$0", + "kind": "keyword", + "details": "Get center origin of area." + }, + { + "trigger": "GetClassEyeHeight", + "annotation": "Vector GetClassEyeHeight()", + "contents": "GetClassEyeHeight()$0", + "kind": "keyword", + "details": "Gets the eye height of the player" + }, + { + "trigger": "GetClassLimit", + "annotation": "int GetClassLimit(int class)", + "contents": "GetClassLimit(${1:int class})$0", + "kind": "keyword", + "details": "Get class limit for class. See Constants.ETFClass" + }, + { + "trigger": "GetClassname", + "annotation": "string GetClassname()", + "contents": "GetClassname()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetClientConvarValue", + "annotation": "string GetClientConvarValue(string name, int entindex)", + "contents": "GetClientConvarValue(${1:string name}, ${2:int entindex})$0", + "kind": "keyword", + "details": "Returns the convar value for the entindex as a string. Only works on client convars with the FCVAR_USERINFO flag." + }, + { + "trigger": "GetCollisionGroup", + "annotation": "GetCollisionGroup()", + "contents": "GetCollisionGroup()$0", + "kind": "keyword", + "details": "Gets the current collision group of the entity." + }, + { + "trigger": "GetCondDuration", + "annotation": "float GetCondDuration(ETFCond cond)", + "contents": "GetCondDuration(${1:ETFCond cond})$0", + "kind": "keyword", + "details": "Returns duration of the condition. Returns 0 if the cond is not applied. Returns -1 if the cond is infinite." + }, + { + "trigger": "GetCorner", + "annotation": "Vector GetCorner(int dir)", + "contents": "GetCorner(${1:int dir})$0", + "kind": "keyword", + "details": "Get corner origin of area." + }, + { + "trigger": "GetCurrency", + "annotation": "int GetCurrency()", + "contents": "GetCurrency()$0", + "kind": "keyword", + "details": "Get player's cash for game modes with upgrades, ie. MvM" + }, + { + "trigger": "GetCurrentTauntMoveSpeed", + "annotation": "float GetCurrentTauntMoveSpeed()", + "contents": "GetCurrentTauntMoveSpeed()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetCycle", + "annotation": "float GetCycle()", + "contents": "GetCycle()$0", + "kind": "keyword", + "details": "Gets the model's current animation cycle rate." + }, + { + "trigger": "GetDeathDropHeight", + "annotation": "float GetDeathDropHeight()", + "contents": "GetDeathDropHeight()$0", + "kind": "keyword", + "details": "Distance at which we will die if we fall" + }, + { + "trigger": "GetDefaultClip1", + "annotation": "int GetDefaultClip1()", + "contents": "GetDefaultClip1()$0", + "kind": "keyword", + "details": "Default size of clip1" + }, + { + "trigger": "GetDefaultClip2", + "annotation": "int GetDefaultClip2()", + "contents": "GetDefaultClip2()$0", + "kind": "keyword", + "details": "Default size of clip2" + }, + { + "trigger": "GetDefenses", + "annotation": "int GetDefenses()", + "contents": "GetDefenses()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetDesiredSpeed", + "annotation": "float GetDesiredSpeed()", + "contents": "GetDesiredSpeed()$0", + "kind": "keyword", + "details": "Get desired speed for locomotor movement" + }, + { + "trigger": "GetDeveloperLevel", + "annotation": "int GetDeveloperLevel()", + "contents": "GetDeveloperLevel()$0", + "kind": "keyword", + "details": "Gets the level of 'developer'" + }, + { + "trigger": "GetDifficulty", + "annotation": "ETFBotDifficultyType GetDifficulty()", + "contents": "GetDifficulty()$0", + "kind": "keyword", + "details": "Returns the bot's difficulty level" + }, + { + "trigger": "GetDisguiseAmmoCount", + "annotation": "int GetDisguiseAmmoCount()", + "contents": "GetDisguiseAmmoCount()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetDisguiseTarget", + "annotation": "handle GetDisguiseTarget()", + "contents": "GetDisguiseTarget()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetDisguiseTeam", + "annotation": "int GetDisguiseTeam()", + "contents": "GetDisguiseTeam()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetDistanceSquaredToPoint", + "annotation": "float GetDistanceSquaredToPoint(Vector pos)", + "contents": "GetDistanceSquaredToPoint(${1:Vector pos})$0", + "kind": "keyword", + "details": "Return shortest distance between point and this area." + }, + { + "trigger": "GetDominations", + "annotation": "int GetDominations()", + "contents": "GetDominations()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetDoor", + "annotation": "handle GetDoor()", + "contents": "GetDoor()$0", + "kind": "keyword", + "details": "Returns the door entity above the area." + }, + { + "trigger": "GetEFlags", + "annotation": "int GetEFlags()", + "contents": "GetEFlags()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetElevator", + "annotation": "handle GetElevator()", + "contents": "GetElevator()$0", + "kind": "keyword", + "details": "Returns the elevator if in an elevator's path." + }, + { + "trigger": "GetElevatorAreas", + "annotation": "void GetElevatorAreas(handle table)", + "contents": "GetElevatorAreas(${1:handle table})$0", + "kind": "keyword", + "details": "Fills table with a collection of areas reachable via elevator from this area." + }, + { + "trigger": "GetEntityHandle", + "annotation": "GetEntityHandle()", + "contents": "GetEntityHandle()$0", + "kind": "keyword", + "details": "Get the entity as an EHANDLE" + }, + { + "trigger": "GetEntityIndex", + "annotation": "int GetEntityIndex()", + "contents": "GetEntityIndex()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetFeet", + "annotation": "Vector GetFeet()", + "contents": "GetFeet()$0", + "kind": "keyword", + "details": "Return position of feet - the driving point where the bot contacts the ground" + }, + { + "trigger": "GetFirstSubKey", + "annotation": "CScriptKeyValues GetFirstSubKey()", + "contents": "GetFirstSubKey()$0", + "kind": "keyword", + "details": "Return the first sub key object." + }, + { + "trigger": "GetFlags", + "annotation": "int GetFlags()", + "contents": "GetFlags()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetFloat", + "annotation": "float GetFloat(string name)", + "contents": "GetFloat(${1:string name})$0", + "kind": "keyword", + "details": "Returns the convar as a float. May return null if no such convar." + }, + { + "trigger": "GetForceLocalDraw", + "annotation": "bool GetForceLocalDraw()", + "contents": "GetForceLocalDraw()$0", + "kind": "keyword", + "details": "Whether the player is being forced by SetForceLocalDraw to be drawn." + }, + { + "trigger": "GetForwardVector", + "annotation": "Vector GetForwardVector()", + "contents": "GetForwardVector()$0", + "kind": "keyword", + "details": "Get the forward vector of the entity" + }, + { + "trigger": "GetFrameCount", + "annotation": "int GetFrameCount()", + "contents": "GetFrameCount()$0", + "kind": "keyword", + "details": "Returns the engines current frame count" + }, + { + "trigger": "GetFriction", + "annotation": "float GetFriction(handle player)", + "contents": "GetFriction(${1:handle player})$0", + "kind": "keyword", + "details": "Returns the Friction on a player entity, meaningless if not a player" + }, + { + "trigger": "GetFunctionSignature", + "annotation": "string GetFunctionSignature(function func, string prefix)", + "contents": "GetFunctionSignature(${1:function func}, ${2:string prefix})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetFuturePosition", + "annotation": "Vector GetFuturePosition(float x, float speed)", + "contents": "GetFuturePosition(${1:float x}, ${2:float speed})$0", + "kind": "keyword", + "details": "Get a position on the track X seconds in the future." + }, + { + "trigger": "GetGrapplingHookTarget", + "annotation": "handle GetGrapplingHookTarget()", + "contents": "GetGrapplingHookTarget()$0", + "kind": "keyword", + "details": "What entity is the player grappling?" + }, + { + "trigger": "GetGravity", + "annotation": "float GetGravity()", + "contents": "GetGravity()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetGravityMultiplier", + "annotation": "float GetGravityMultiplier()", + "contents": "GetGravityMultiplier()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetGround", + "annotation": "handle GetGround()", + "contents": "GetGround()$0", + "kind": "keyword", + "details": "Return the current ground entity or NULL if not on the ground" + }, + { + "trigger": "GetGroundMotionVector", + "annotation": "Vector GetGroundMotionVector()", + "contents": "GetGroundMotionVector()$0", + "kind": "keyword", + "details": "Return unit vector in XY plane describing our direction of motion - even if we are currently not moving" + }, + { + "trigger": "GetGroundNormal", + "annotation": "Vector GetGroundNormal()", + "contents": "GetGroundNormal()$0", + "kind": "keyword", + "details": "Surface normal of the ground we are in contact with" + }, + { + "trigger": "GetGroundSpeed", + "annotation": "float GetGroundSpeed()", + "contents": "GetGroundSpeed()$0", + "kind": "keyword", + "details": "Return current world space speed in XY plane" + }, + { + "trigger": "GetHeadshots", + "annotation": "int GetHeadshots()", + "contents": "GetHeadshots()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetHealPoints", + "annotation": "int GetHealPoints()", + "contents": "GetHealPoints()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetHealTarget", + "annotation": "handle GetHealTarget()", + "contents": "GetHealTarget()$0", + "kind": "keyword", + "details": "Who is the medic healing?" + }, + { + "trigger": "GetHealth", + "annotation": "int GetHealth()", + "contents": "GetHealth()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetHomeArea", + "annotation": "handle GetHomeArea()", + "contents": "GetHomeArea()$0", + "kind": "keyword", + "details": "Gets the home nav area of the bot" + }, + { + "trigger": "GetHudHideFlags", + "annotation": "int GetHudHideFlags()", + "contents": "GetHudHideFlags()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetID", + "annotation": "int GetID()", + "contents": "GetID()$0", + "kind": "keyword", + "details": "Get area ID." + }, + { + "trigger": "GetImmobileDuration", + "annotation": "float GetImmobileDuration()", + "contents": "GetImmobileDuration()$0", + "kind": "keyword", + "details": "How long have we been immobile" + }, + { + "trigger": "GetImmobileSpeedThreshold", + "annotation": "float GetImmobileSpeedThreshold()", + "contents": "GetImmobileSpeedThreshold()$0", + "kind": "keyword", + "details": "Return units/second below which this actor is considered immobile" + }, + { + "trigger": "GetIncomingConnections", + "annotation": "void GetIncomingConnections(int dir, handle table)", + "contents": "GetIncomingConnections(${1:int dir}, ${2:handle table})$0", + "kind": "keyword", + "details": "Fills a passed in table with areas connected TO this area by a ONE-WAY link (ie: we have no connection back to them)." + }, + { + "trigger": "GetInt", + "annotation": "int GetInt(string name)", + "contents": "GetInt(${1:string name})$0", + "kind": "keyword", + "details": "Returns the convar as an int. May return null if no such convar." + }, + { + "trigger": "GetIntentionInterface", + "annotation": "INextBotComponent GetIntentionInterface()", + "contents": "GetIntentionInterface()$0", + "kind": "keyword", + "details": "Get this bot's intention interface" + }, + { + "trigger": "GetInvulns", + "annotation": "int GetInvulns()", + "contents": "GetInvulns()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetKeyBool", + "annotation": "bool GetKeyBool(string key)", + "contents": "GetKeyBool(${1:string key})$0", + "kind": "keyword", + "details": "Return the key value as a bool." + }, + { + "trigger": "GetKeyFloat", + "annotation": "float GetKeyFloat(string key)", + "contents": "GetKeyFloat(${1:string key})$0", + "kind": "keyword", + "details": "Return the key value as a float." + }, + { + "trigger": "GetKeyInt", + "annotation": "int GetKeyInt(string key)", + "contents": "GetKeyInt(${1:string key})$0", + "kind": "keyword", + "details": "Return the key value as an integer." + }, + { + "trigger": "GetKeyString", + "annotation": "string GetKeyString(string key)", + "contents": "GetKeyString(${1:string key})$0", + "kind": "keyword", + "details": "Return the key value as a string." + }, + { + "trigger": "GetKillAssists", + "annotation": "int GetKillAssists()", + "contents": "GetKillAssists()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetLastKnownArea", + "annotation": "handle GetLastKnownArea()", + "contents": "GetLastKnownArea()$0", + "kind": "keyword", + "details": "Return the last nav area occupied, NULL if unknown. See CTFNavArea." + }, + { + "trigger": "GetLastWeapon", + "annotation": "GetLastWeapon()", + "contents": "GetLastWeapon()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetLeftVector", + "annotation": "Vector GetLeftVector()", + "contents": "GetLeftVector()$0", + "kind": "keyword", + "details": "Get the right vector of the entity. This is purely for compatibility." + }, + { + "trigger": "GetListenServerHost", + "annotation": "handle GetListenServerHost()", + "contents": "GetListenServerHost()$0", + "kind": "keyword", + "details": "Get the local player on a listen server." + }, + { + "trigger": "GetLocalAngles", + "annotation": "QAngle GetLocalAngles()", + "contents": "GetLocalAngles()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetLocalOrigin", + "annotation": "Vector GetLocalOrigin()", + "contents": "GetLocalOrigin()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetLocalVelocity", + "annotation": "Vector GetLocalVelocity()", + "contents": "GetLocalVelocity()$0", + "kind": "keyword", + "details": "Get Entity relative velocity" + }, + { + "trigger": "GetLocomotionInterface", + "annotation": "ILocomotion GetLocomotionInterface()", + "contents": "GetLocomotionInterface()$0", + "kind": "keyword", + "details": "Get this bot's locomotion interface" + }, + { + "trigger": "GetMannVsMachineAlarmStatus", + "annotation": "bool GetMannVsMachineAlarmStatus()", + "contents": "GetMannVsMachineAlarmStatus()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetMapName", + "annotation": "string GetMapName()", + "contents": "GetMapName()$0", + "kind": "keyword", + "details": "Get the name of the map." + }, + { + "trigger": "GetMaxAcceleration", + "annotation": "float GetMaxAcceleration()", + "contents": "GetMaxAcceleration()$0", + "kind": "keyword", + "details": "Return maximum acceleration of locomotor" + }, + { + "trigger": "GetMaxClip1", + "annotation": "int GetMaxClip1()", + "contents": "GetMaxClip1()$0", + "kind": "keyword", + "details": "Max size of clip1" + }, + { + "trigger": "GetMaxClip2", + "annotation": "int GetMaxClip2()", + "contents": "GetMaxClip2()$0", + "kind": "keyword", + "details": "Max size of clip2" + }, + { + "trigger": "GetMaxDeceleration", + "annotation": "float GetMaxDeceleration()", + "contents": "GetMaxDeceleration()$0", + "kind": "keyword", + "details": "Return maximum deceleration of locomotor" + }, + { + "trigger": "GetMaxHealth", + "annotation": "int GetMaxHealth()", + "contents": "GetMaxHealth()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetMaxJumpHeight", + "annotation": "float GetMaxJumpHeight()", + "contents": "GetMaxJumpHeight()$0", + "kind": "keyword", + "details": "Return maximum height of a jump" + }, + { + "trigger": "GetMaxVisionRangeOverride", + "annotation": "float GetMaxVisionRangeOverride()", + "contents": "GetMaxVisionRangeOverride()$0", + "kind": "keyword", + "details": "Gets the max vision range override for the bot" + }, + { + "trigger": "GetModelIndex", + "annotation": "int GetModelIndex(string filename)", + "contents": "GetModelIndex(${1:string filename})$0", + "kind": "keyword", + "details": "Returns the index of the named model." + }, + { + "trigger": "GetModelKeyValues", + "annotation": "handle GetModelKeyValues()", + "contents": "GetModelKeyValues()$0", + "kind": "keyword", + "details": "Get a KeyValue class instance on this entity's model" + }, + { + "trigger": "GetModelName", + "annotation": "string GetModelName()", + "contents": "GetModelName()$0", + "kind": "keyword", + "details": "Returns the name of the model" + }, + { + "trigger": "GetModelScale", + "annotation": "float GetModelScale()", + "contents": "GetModelScale()$0", + "kind": "keyword", + "details": "Get the model's scale." + }, + { + "trigger": "GetMotionVector", + "annotation": "Vector GetMotionVector()", + "contents": "GetMotionVector()$0", + "kind": "keyword", + "details": "Return unit vector describing our direction of motion - even if we are currently not moving" + }, + { + "trigger": "GetMoveParent", + "annotation": "handle GetMoveParent()", + "contents": "GetMoveParent()$0", + "kind": "keyword", + "details": "If in hierarchy, retrieves the entity's parent" + }, + { + "trigger": "GetMoveType", + "annotation": "int GetMoveType()", + "contents": "GetMoveType()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetName", + "annotation": "string GetName()", + "contents": "GetName()$0", + "kind": "keyword", + "details": "Gets the weapon's name" + }, + { + "trigger": "GetNavArea", + "annotation": "handle GetNavArea(Vector origin, float flBeneath)", + "contents": "GetNavArea(${1:Vector origin}, ${2:float flBeneath})$0", + "kind": "keyword", + "details": "given a position in the world, return the nav area that is closest to or below that height." + }, + { + "trigger": "GetNavAreaByID", + "annotation": "handle GetNavAreaByID(int areaID)", + "contents": "GetNavAreaByID(${1:int areaID})$0", + "kind": "keyword", + "details": "get nav area by ID" + }, + { + "trigger": "GetNavAreaCount", + "annotation": "int GetNavAreaCount()", + "contents": "GetNavAreaCount()$0", + "kind": "keyword", + "details": "return total number of nav areas" + }, + { + "trigger": "GetNavAreasFromBuildPath", + "annotation": "bool GetNavAreasFromBuildPath(handle startArea, handle endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers, handle table)", + "contents": "GetNavAreasFromBuildPath(${1:handle startArea}, ${2:handle endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers}, ${7:handle table})$0", + "kind": "keyword", + "details": "Fills the table with areas from a path. Returns whether a path was found. If 'endArea' is NULL, will compute a path as close as possible to 'goalPos'." + }, + { + "trigger": "GetNavAreasInRadius", + "annotation": "void GetNavAreasInRadius(Vector origin, float radius, handle table)", + "contents": "GetNavAreasInRadius(${1:Vector origin}, ${2:float radius}, ${3:handle table})$0", + "kind": "keyword", + "details": "fills a passed in table of nav areas within radius" + }, + { + "trigger": "GetNavAreasOverlappingEntityExtent", + "annotation": "void GetNavAreasOverlappingEntityExtent(handle entity, handle table)", + "contents": "GetNavAreasOverlappingEntityExtent(${1:handle entity}, ${2:handle table})$0", + "kind": "keyword", + "details": "fills passed in table with areas overlapping entity's extent" + }, + { + "trigger": "GetNearestKnownSappableTarget", + "annotation": "handle GetNearestKnownSappableTarget()", + "contents": "GetNearestKnownSappableTarget()$0", + "kind": "keyword", + "details": "Gets the nearest known sappable target" + }, + { + "trigger": "GetNearestNavArea", + "annotation": "handle GetNearestNavArea(Vector origin, float maxDist, bool checkLOS, bool checkGround)", + "contents": "GetNearestNavArea(${1:Vector origin}, ${2:float maxDist}, ${3:bool checkLOS}, ${4:bool checkGround})$0", + "kind": "keyword", + "details": "given a position in the world, return the nav area that is closest to or below that height." + }, + { + "trigger": "GetNextChangeClassTime", + "annotation": "float GetNextChangeClassTime()", + "contents": "GetNextChangeClassTime()$0", + "kind": "keyword", + "details": "Get next change class time." + }, + { + "trigger": "GetNextChangeTeamTime", + "annotation": "float GetNextChangeTeamTime()", + "contents": "GetNextChangeTeamTime()$0", + "kind": "keyword", + "details": "Get next change team time." + }, + { + "trigger": "GetNextKey", + "annotation": "CScriptKeyValues GetNextKey()", + "contents": "GetNextKey()$0", + "kind": "keyword", + "details": "Return the next neighbor key object to the one the method is called on." + }, + { + "trigger": "GetNextRegenTime", + "annotation": "float GetNextRegenTime()", + "contents": "GetNextRegenTime()$0", + "kind": "keyword", + "details": "Get next health regen time." + }, + { + "trigger": "GetNumElements", + "annotation": "int GetNumElements(handle ntity entity, string outputName)", + "contents": "GetNumElements(${1:handle ntity entity}, ${2:string outputName})$0", + "kind": "keyword", + "details": "Returns the number of array elements." + }, + { + "trigger": "GetObstructingEntities", + "annotation": "void GetObstructingEntities(handle table)", + "contents": "GetObstructingEntities(${1:handle table})$0", + "kind": "keyword", + "details": "fills a passed in table of all obstructing entities" + }, + { + "trigger": "GetOrigin", + "annotation": "Vector GetOrigin()", + "contents": "GetOrigin()$0", + "kind": "keyword", + "details": "This is GetAbsOrigin with a funny script name for some reason. Not changing it for legacy compat though." + }, + { + "trigger": "GetOutputTable", + "annotation": "void GetOutputTable(handle entity, string outputName, table, int arrayElement)", + "contents": "GetOutputTable(${1:handle entity}, ${2:string outputName}, ${3:table}, ${4:int arrayElement})$0", + "kind": "keyword", + "details": "Fills the passed table with output information." + }, + { + "trigger": "GetOvertimeAllowedForCTF", + "annotation": "bool GetOvertimeAllowedForCTF()", + "contents": "GetOvertimeAllowedForCTF()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetOwner", + "annotation": "handle GetOwner()", + "contents": "GetOwner()$0", + "kind": "keyword", + "details": "Gets this entity's owner" + }, + { + "trigger": "GetParent", + "annotation": "handle GetParent()", + "contents": "GetParent()$0", + "kind": "keyword", + "details": "Returns the area just prior to this one in the search path." + }, + { + "trigger": "GetParentHow", + "annotation": "int GetParentHow()", + "contents": "GetParentHow()$0", + "kind": "keyword", + "details": "Returns how we get from parent to us." + }, + { + "trigger": "GetPhysAngularVelocity", + "annotation": "Vector GetPhysAngularVelocity(handle entity)", + "contents": "GetPhysAngularVelocity(${1:handle entity})$0", + "kind": "keyword", + "details": "Returns the Angular velocity of the entity. Deprecated, use the GetPhysAngularVelocity method on the entity instead." + }, + { + "trigger": "GetPhysVelocity", + "annotation": "Vector GetPhysVelocity(handle entity)", + "contents": "GetPhysVelocity(${1:handle entity})$0", + "kind": "keyword", + "details": "Returns the velocity of the entity. Deprecated, use the GetPhysVelocity method on the entity instead." + }, + { + "trigger": "GetPlaceName", + "annotation": "string GetPlaceName()", + "contents": "GetPlaceName()$0", + "kind": "keyword", + "details": "Get place name if it exists, null otherwise." + }, + { + "trigger": "GetPlaybackRate", + "annotation": "float GetPlaybackRate()", + "contents": "GetPlaybackRate()$0", + "kind": "keyword", + "details": "Get the current animation's playback rate." + }, + { + "trigger": "GetPlayerClass", + "annotation": "int GetPlayerClass()", + "contents": "GetPlayerClass()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetPlayerCount", + "annotation": "int GetPlayerCount(int team)", + "contents": "GetPlayerCount(${1:int team})$0", + "kind": "keyword", + "details": "Return number of players of given team currently within this area (team of zero means any/all)." + }, + { + "trigger": "GetPlayerFromUserID", + "annotation": "handle GetPlayerFromUserID(int userid)", + "contents": "GetPlayerFromUserID(${1:int userid})$0", + "kind": "keyword", + "details": "Given a user id, return the entity, or null." + }, + { + "trigger": "GetPlayerMaxs", + "annotation": "Vector GetPlayerMaxs()", + "contents": "GetPlayerMaxs()$0", + "kind": "keyword", + "details": "Get a vector containing max bounds of the player in local space. The player's model scale will affect the result." + }, + { + "trigger": "GetPlayerMins", + "annotation": "Vector GetPlayerMins()", + "contents": "GetPlayerMins()$0", + "kind": "keyword", + "details": "Get a vector containing min bounds of the player in local space. The player's model scale will affect the result." + }, + { + "trigger": "GetPlayerSpeechDuration", + "annotation": "float GetPlayerSpeechDuration(int playerIndex)", + "contents": "GetPlayerSpeechDuration(${1:int playerIndex})$0", + "kind": "keyword", + "details": "Returns the number of seconds the player has been continuously speaking." + }, + { + "trigger": "GetPosition", + "annotation": "int GetPosition()", + "contents": "GetPosition()$0", + "kind": "keyword", + "details": "Gets the weapon's current position" + }, + { + "trigger": "GetPreTemplateName", + "annotation": "string GetPreTemplateName()", + "contents": "GetPreTemplateName()$0", + "kind": "keyword", + "details": "Get the entity name stripped of template unique decoration" + }, + { + "trigger": "GetPrimaryAmmoCount", + "annotation": "int GetPrimaryAmmoCount()", + "contents": "GetPrimaryAmmoCount()$0", + "kind": "keyword", + "details": "Current primary ammo count if no clip is used or to give a player if they pick up this weapon legacy style (not TF)" + }, + { + "trigger": "GetPrimaryAmmoType", + "annotation": "int GetPrimaryAmmoType()", + "contents": "GetPrimaryAmmoType()$0", + "kind": "keyword", + "details": "Returns the primary ammo type" + }, + { + "trigger": "GetPrintName", + "annotation": "string GetPrintName()", + "contents": "GetPrintName()$0", + "kind": "keyword", + "details": "Gets the weapon's print name" + }, + { + "trigger": "GetPropArraySize", + "annotation": "int GetPropArraySize(handle entity, string propertyName)", + "contents": "GetPropArraySize(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Returns the size of an netprop array, or -1." + }, + { + "trigger": "GetPropBool", + "annotation": "bool GetPropBool(handle entity, string propertyName)", + "contents": "GetPropBool(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Reads a boolean-valued netprop." + }, + { + "trigger": "GetPropBoolArray", + "annotation": "bool GetPropBoolArray(handle entity, string propertyName, int arrayElement)", + "contents": "GetPropBoolArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", + "kind": "keyword", + "details": "Reads a boolean-valued netprop from an array." + }, + { + "trigger": "GetPropEntity", + "annotation": "handle GetPropEntity(handle entity, string propertyName)", + "contents": "GetPropEntity(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Reads an EHANDLE-valued netprop (21 bit integer). Returns the script handle of the entity." + }, + { + "trigger": "GetPropEntityArray", + "annotation": "handle GetPropEntityArray(handle entity, string propertyName, int arrayElement)", + "contents": "GetPropEntityArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", + "kind": "keyword", + "details": "Reads an EHANDLE-valued netprop (21 bit integer) from an array. Returns the script handle of the entity." + }, + { + "trigger": "GetPropFloat", + "annotation": "float GetPropFloat(handle entity, string propertyName)", + "contents": "GetPropFloat(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Reads a float-valued netprop." + }, + { + "trigger": "GetPropFloatArray", + "annotation": "float GetPropFloatArray(handle entity, string propertyName, int arrayElement)", + "contents": "GetPropFloatArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", + "kind": "keyword", + "details": "Reads a float-valued netprop from an array." + }, + { + "trigger": "GetPropInfo", + "annotation": "bool GetPropInfo(handle entity, string propertyName, int arrayElement, handle table)", + "contents": "GetPropInfo(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement}, ${4:handle table})$0", + "kind": "keyword", + "details": "Fills in a passed table with property info for the provided entity." + }, + { + "trigger": "GetPropInt", + "annotation": "int GetPropInt(handle entity, string propertyName)", + "contents": "GetPropInt(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Reads an integer-valued netprop." + }, + { + "trigger": "GetPropIntArray", + "annotation": "int GetPropIntArray(handle entity, string propertyName, int arrayElement)", + "contents": "GetPropIntArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", + "kind": "keyword", + "details": "Reads an integer-valued netprop from an array." + }, + { + "trigger": "GetPropString", + "annotation": "string GetPropString(handle entity, string propertyName)", + "contents": "GetPropString(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Reads an string-valued netprop." + }, + { + "trigger": "GetPropStringArray", + "annotation": "string GetPropStringArray(handle entity, string propertyName, int arrayElement)", + "contents": "GetPropStringArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", + "kind": "keyword", + "details": "Reads an string-valued netprop from an array." + }, + { + "trigger": "GetPropType", + "annotation": "string GetPropType(handle entity, string propertyName)", + "contents": "GetPropType(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Returns the name of the netprop type as a string." + }, + { + "trigger": "GetPropVector", + "annotation": "Vector GetPropVector(handle entity, string propertyName)", + "contents": "GetPropVector(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Reads a 3D vector-valued netprop." + }, + { + "trigger": "GetPropVectorArray", + "annotation": "Vector GetPropVectorArray(handle entity, string propertyName, int arrayElement)", + "contents": "GetPropVectorArray(${1:handle entity}, ${2:string propertyName}, ${3:int arrayElement})$0", + "kind": "keyword", + "details": "Reads a 3D vector-valued netprop from an array." + }, + { + "trigger": "GetRageMeter", + "annotation": "float GetRageMeter()", + "contents": "GetRageMeter()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetRandomAdjacentArea", + "annotation": "handle GetRandomAdjacentArea(int dir)", + "contents": "GetRandomAdjacentArea(${1:int dir})$0", + "kind": "keyword", + "details": "Return a random adjacent area in the given direction." + }, + { + "trigger": "GetResupplyPoints", + "annotation": "int GetResupplyPoints()", + "contents": "GetResupplyPoints()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetRevenge", + "annotation": "int GetRevenge()", + "contents": "GetRevenge()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetRightVector", + "annotation": "Vector GetRightVector()", + "contents": "GetRightVector()$0", + "kind": "keyword", + "details": "Get the right vector of the entity" + }, + { + "trigger": "GetRootMoveParent", + "annotation": "handle GetRootMoveParent()", + "contents": "GetRootMoveParent()$0", + "kind": "keyword", + "details": "If in hierarchy, walks up the hierarchy to find the root parent" + }, + { + "trigger": "GetRoundState", + "annotation": "int GetRoundState()", + "contents": "GetRoundState()$0", + "kind": "keyword", + "details": "Get current round state. See Constants.ERoundState" + }, + { + "trigger": "GetRunSpeed", + "annotation": "float GetRunSpeed()", + "contents": "GetRunSpeed()$0", + "kind": "keyword", + "details": "Get maximum running speed" + }, + { + "trigger": "GetScoutHypeMeter", + "annotation": "float GetScoutHypeMeter()", + "contents": "GetScoutHypeMeter()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetScriptId", + "annotation": "string GetScriptId()", + "contents": "GetScriptId()$0", + "kind": "keyword", + "details": "Retrieve the unique identifier used to refer to the entity within the scripting system." + }, + { + "trigger": "GetScriptOverlayMaterial", + "annotation": "string GetScriptOverlayMaterial()", + "contents": "GetScriptOverlayMaterial()$0", + "kind": "keyword", + "details": "Gets the current overlay material set by SetScriptOverlayMaterial." + }, + { + "trigger": "GetScriptScope", + "annotation": "handle GetScriptScope()", + "contents": "GetScriptScope()$0", + "kind": "keyword", + "details": "Retrieve the script-side data associated with an entity" + }, + { + "trigger": "GetScriptThinkFunc", + "annotation": "string GetScriptThinkFunc()", + "contents": "GetScriptThinkFunc()$0", + "kind": "keyword", + "details": "Retrieve the name of the current script think func" + }, + { + "trigger": "GetSecondaryAmmoCount", + "annotation": "int GetSecondaryAmmoCount()", + "contents": "GetSecondaryAmmoCount()$0", + "kind": "keyword", + "details": "Current secondary ammo count if no clip is used or to give a player if they pick up this weapon legacy style (not TF)" + }, + { + "trigger": "GetSecondaryAmmoType", + "annotation": "int GetSecondaryAmmoType()", + "contents": "GetSecondaryAmmoType()$0", + "kind": "keyword", + "details": "Returns the secondary ammo type" + }, + { + "trigger": "GetSequence", + "annotation": "int GetSequence()", + "contents": "GetSequence()$0", + "kind": "keyword", + "details": "Get the current-playing sequence's ID." + }, + { + "trigger": "GetSequenceActivityName", + "annotation": "string GetSequenceActivityName(int ID)", + "contents": "GetSequenceActivityName(${1:int ID})$0", + "kind": "keyword", + "details": "Get the activity name for a sequence by sequence ID." + }, + { + "trigger": "GetSequenceDuration", + "annotation": "float GetSequenceDuration(int ID)", + "contents": "GetSequenceDuration(${1:int ID})$0", + "kind": "keyword", + "details": "Get a sequence duration in seconds by sequence ID." + }, + { + "trigger": "GetSequenceName", + "annotation": "string GetSequenceName(int ID)", + "contents": "GetSequenceName(${1:int ID})$0", + "kind": "keyword", + "details": "Get a sequence name by sequence ID." + }, + { + "trigger": "GetSizeX", + "annotation": "float GetSizeX()", + "contents": "GetSizeX()$0", + "kind": "keyword", + "details": "Return the area size along the X axis." + }, + { + "trigger": "GetSizeY", + "annotation": "float GetSizeY()", + "contents": "GetSizeY()$0", + "kind": "keyword", + "details": "Return the area size along the Y axis." + }, + { + "trigger": "GetSkin", + "annotation": "int GetSkin()", + "contents": "GetSkin()$0", + "kind": "keyword", + "details": "Gets the current skin index." + }, + { + "trigger": "GetSlot", + "annotation": "int GetSlot()", + "contents": "GetSlot()$0", + "kind": "keyword", + "details": "Gets the weapon's current slot" + }, + { + "trigger": "GetSolid", + "annotation": "int GetSolid()", + "contents": "GetSolid()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetSoundDuration", + "annotation": "float GetSoundDuration(string soundname, string actormodelname)", + "contents": "GetSoundDuration(${1:string soundname}, ${2:string actormodelname})$0", + "kind": "keyword", + "details": "Returns float duration of the sound. Actor model name is optional and can be left null." + }, + { + "trigger": "GetSpawnArea", + "annotation": "handle GetSpawnArea()", + "contents": "GetSpawnArea()$0", + "kind": "keyword", + "details": "Return the nav area of where we spawned" + }, + { + "trigger": "GetSpeed", + "annotation": "float GetSpeed()", + "contents": "GetSpeed()$0", + "kind": "keyword", + "details": "Return current world space speed (magnitude of velocity)" + }, + { + "trigger": "GetSpeedLimit", + "annotation": "float GetSpeedLimit()", + "contents": "GetSpeedLimit()$0", + "kind": "keyword", + "details": "Get maximum speed bot can reach, regardless of desired speed" + }, + { + "trigger": "GetSpyCloakMeter", + "annotation": "float GetSpyCloakMeter()", + "contents": "GetSpyCloakMeter()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetSquadFormationError", + "annotation": "float GetSquadFormationError()", + "contents": "GetSquadFormationError()$0", + "kind": "keyword", + "details": "Gets our formation error coefficient." + }, + { + "trigger": "GetStepHeight", + "annotation": "float GetStepHeight()", + "contents": "GetStepHeight()$0", + "kind": "keyword", + "details": "If delta Z is lower than this, we can step up the surface (like a stair step), but if delta Z is greater than this, we have to jump to get up." + }, + { + "trigger": "GetStopWatchState", + "annotation": "int GetStopWatchState()", + "contents": "GetStopWatchState()$0", + "kind": "keyword", + "details": "Get the current stopwatch state. See Constants.EStopwatchState" + }, + { + "trigger": "GetStr", + "annotation": "string GetStr(string name)", + "contents": "GetStr(${1:string name})$0", + "kind": "keyword", + "details": "Returns the convar as a string. May return null if no such convar." + }, + { + "trigger": "GetStuckDuration", + "annotation": "float GetStuckDuration()", + "contents": "GetStuckDuration()$0", + "kind": "keyword", + "details": "Return how long we've been stuck" + }, + { + "trigger": "GetSubType", + "annotation": "int GetSubType()", + "contents": "GetSubType()$0", + "kind": "keyword", + "details": "Get the weapon subtype" + }, + { + "trigger": "GetTable", + "annotation": "void GetTable(handle entity, int iPropType, handle table)", + "contents": "GetTable(${1:handle entity}, ${2:int iPropType}, ${3:handle table})$0", + "kind": "keyword", + "details": "Fills in a passed table with all props of a specified type for the provided entity (set iPropType to 0 for SendTable or 1 for DataMap)" + }, + { + "trigger": "GetTauntAttackTime", + "annotation": "float GetTauntAttackTime()", + "contents": "GetTauntAttackTime()$0", + "kind": "keyword", + "details": "Timestamp until a taunt attack \"lasts\". 0 if unavailable" + }, + { + "trigger": "GetTauntRemoveTime", + "annotation": "float GetTauntRemoveTime()", + "contents": "GetTauntRemoveTime()$0", + "kind": "keyword", + "details": "Timestamp until taunt is stopped" + }, + { + "trigger": "GetTeam", + "annotation": "int GetTeam()", + "contents": "GetTeam()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetTeleports", + "annotation": "int GetTeleports()", + "contents": "GetTeleports()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "GetTickLastUpdate", + "annotation": "int GetTickLastUpdate()", + "contents": "GetTickLastUpdate()$0", + "kind": "keyword", + "details": "Get last update tick" + }, + { + "trigger": "GetTimeSinceCalledForMedic", + "annotation": "float GetTimeSinceCalledForMedic()", + "contents": "GetTimeSinceCalledForMedic()$0", + "kind": "keyword", + "details": "When did the player last call medic" + }, + { + "trigger": "GetTravelDistanceToBombTarget", + "annotation": "float GetTravelDistanceToBombTarget()", + "contents": "GetTravelDistanceToBombTarget()$0", + "kind": "keyword", + "details": "Gets the travel distance to the MvM bomb target." + }, + { + "trigger": "GetTraversableSlopeLimit", + "annotation": "float GetTraversableSlopeLimit()", + "contents": "GetTraversableSlopeLimit()$0", + "kind": "keyword", + "details": "Return Z component of unit normal of steepest traversable slope" + }, + { + "trigger": "GetUpVector", + "annotation": "Vector GetUpVector()", + "contents": "GetUpVector()$0", + "kind": "keyword", + "details": "Get the up vector of the entity" + }, + { + "trigger": "GetUpdateInterval", + "annotation": "GetUpdateInterval()", + "contents": "GetUpdateInterval()$0", + "kind": "keyword", + "details": "Returns time between updates" + }, + { + "trigger": "GetVehicleReverseTime", + "annotation": "float GetVehicleReverseTime()", + "contents": "GetVehicleReverseTime()$0", + "kind": "keyword", + "details": "Timestamp when kart was reversed" + }, + { + "trigger": "GetVelocity", + "annotation": "Vector GetVelocity()", + "contents": "GetVelocity()$0", + "kind": "keyword", + "details": "Return current world space velocity" + }, + { + "trigger": "GetVisionInterface", + "annotation": "INextBotComponent GetVisionInterface()", + "contents": "GetVisionInterface()$0", + "kind": "keyword", + "details": "Get this bot's vision interface" + }, + { + "trigger": "GetWalkSpeed", + "annotation": "float GetWalkSpeed()", + "contents": "GetWalkSpeed()$0", + "kind": "keyword", + "details": "Get maximum walking speed" + }, + { + "trigger": "GetWaterLevel", + "annotation": "int GetWaterLevel()", + "contents": "GetWaterLevel()$0", + "kind": "keyword", + "details": "This function tells you how much of the entity is underwater. It returns a value of 0 if not underwater, 1 if the feet are (touching water brush), 2 if the waist is (center of the hull of the entity), and 3 if the head is (eyes position)." + }, + { + "trigger": "GetWaterType", + "annotation": "int GetWaterType()", + "contents": "GetWaterType()$0", + "kind": "keyword", + "details": "It returns the type of water the entity is currently submerged in. 32 for water and 16 for slime." + }, + { + "trigger": "GetWeaponFlags", + "annotation": "int GetWeaponFlags()", + "contents": "GetWeaponFlags()$0", + "kind": "keyword", + "details": "Get the weapon flags" + }, + { + "trigger": "GetWeight", + "annotation": "int GetWeight()", + "contents": "GetWeight()$0", + "kind": "keyword", + "details": "Get the weapon weighting/importance" + }, + { + "trigger": "GetWinningTeam", + "annotation": "int GetWinningTeam()", + "contents": "GetWinningTeam()$0", + "kind": "keyword", + "details": "Who won!" + }, + { + "trigger": "GetZ", + "annotation": "float GetZ(Vector pos)", + "contents": "GetZ(${1:Vector pos})$0", + "kind": "keyword", + "details": "Return Z of area at (x,y) of 'pos'" + }, + { + "trigger": "GoldenRatio", + "annotation": "GoldenRatio", + "contents": "GoldenRatio$0", + "kind": "keyword", + "details": "1.61803" + }, + { + "trigger": "GrantOrRemoveAllUpgrades", + "annotation": "void GrantOrRemoveAllUpgrades(bool remove, bool refund)", + "contents": "GrantOrRemoveAllUpgrades(${1:bool remove}, ${2:bool refund})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "HARD", + "annotation": "HARD", + "contents": "HARD$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "HIDEHUD_ALL", + "annotation": "HIDEHUD_ALL", + "contents": "HIDEHUD_ALL$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "HIDEHUD_BITCOUNT", + "annotation": "HIDEHUD_BITCOUNT", + "contents": "HIDEHUD_BITCOUNT$0", + "kind": "keyword", + "details": "17" + }, + { + "trigger": "HIDEHUD_BONUS_PROGRESS", + "annotation": "HIDEHUD_BONUS_PROGRESS", + "contents": "HIDEHUD_BONUS_PROGRESS$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "HIDEHUD_BUILDING_STATUS", + "annotation": "HIDEHUD_BUILDING_STATUS", + "contents": "HIDEHUD_BUILDING_STATUS$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "HIDEHUD_CHAT", + "annotation": "HIDEHUD_CHAT", + "contents": "HIDEHUD_CHAT$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "HIDEHUD_CLOAK_AND_FEIGN", + "annotation": "HIDEHUD_CLOAK_AND_FEIGN", + "contents": "HIDEHUD_CLOAK_AND_FEIGN$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "HIDEHUD_CROSSHAIR", + "annotation": "HIDEHUD_CROSSHAIR", + "contents": "HIDEHUD_CROSSHAIR$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "HIDEHUD_FLASHLIGHT", + "annotation": "HIDEHUD_FLASHLIGHT", + "contents": "HIDEHUD_FLASHLIGHT$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "HIDEHUD_HEALTH", + "annotation": "HIDEHUD_HEALTH", + "contents": "HIDEHUD_HEALTH$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "HIDEHUD_INVEHICLE", + "annotation": "HIDEHUD_INVEHICLE", + "contents": "HIDEHUD_INVEHICLE$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "HIDEHUD_METAL", + "annotation": "HIDEHUD_METAL", + "contents": "HIDEHUD_METAL$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "HIDEHUD_MISCSTATUS", + "annotation": "HIDEHUD_MISCSTATUS", + "contents": "HIDEHUD_MISCSTATUS$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "HIDEHUD_NEEDSUIT", + "annotation": "HIDEHUD_NEEDSUIT", + "contents": "HIDEHUD_NEEDSUIT$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "HIDEHUD_PIPES_AND_CHARGE", + "annotation": "HIDEHUD_PIPES_AND_CHARGE", + "contents": "HIDEHUD_PIPES_AND_CHARGE$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "HIDEHUD_PLAYERDEAD", + "annotation": "HIDEHUD_PLAYERDEAD", + "contents": "HIDEHUD_PLAYERDEAD$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "HIDEHUD_TARGET_ID", + "annotation": "HIDEHUD_TARGET_ID", + "contents": "HIDEHUD_TARGET_ID$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "HIDEHUD_VEHICLE_CROSSHAIR", + "annotation": "HIDEHUD_VEHICLE_CROSSHAIR", + "contents": "HIDEHUD_VEHICLE_CROSSHAIR$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "HIDEHUD_WEAPONSELECTION", + "annotation": "HIDEHUD_WEAPONSELECTION", + "contents": "HIDEHUD_WEAPONSELECTION$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "HITGROUP_CHEST", + "annotation": "HITGROUP_CHEST", + "contents": "HITGROUP_CHEST$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "HITGROUP_GEAR", + "annotation": "HITGROUP_GEAR", + "contents": "HITGROUP_GEAR$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "HITGROUP_GENERIC", + "annotation": "HITGROUP_GENERIC", + "contents": "HITGROUP_GENERIC$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "HITGROUP_HEAD", + "annotation": "HITGROUP_HEAD", + "contents": "HITGROUP_HEAD$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "HITGROUP_LEFTARM", + "annotation": "HITGROUP_LEFTARM", + "contents": "HITGROUP_LEFTARM$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "HITGROUP_LEFTLEG", + "annotation": "HITGROUP_LEFTLEG", + "contents": "HITGROUP_LEFTLEG$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "HITGROUP_RIGHTARM", + "annotation": "HITGROUP_RIGHTARM", + "contents": "HITGROUP_RIGHTARM$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "HITGROUP_RIGHTLEG", + "annotation": "HITGROUP_RIGHTLEG", + "contents": "HITGROUP_RIGHTLEG$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "HITGROUP_STOMACH", + "annotation": "HITGROUP_STOMACH", + "contents": "HITGROUP_STOMACH$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "HOLD_FIRE_UNTIL_FULL_RELOAD", + "annotation": "HOLD_FIRE_UNTIL_FULL_RELOAD", + "contents": "HOLD_FIRE_UNTIL_FULL_RELOAD$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "HUD_PRINTCENTER", + "annotation": "HUD_PRINTCENTER", + "contents": "HUD_PRINTCENTER$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "HUD_PRINTCONSOLE", + "annotation": "HUD_PRINTCONSOLE", + "contents": "HUD_PRINTCONSOLE$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "HUD_PRINTNOTIFY", + "annotation": "HUD_PRINTNOTIFY", + "contents": "HUD_PRINTNOTIFY$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "HUD_PRINTTALK", + "annotation": "HUD_PRINTTALK", + "contents": "HUD_PRINTTALK$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "HasAction", + "annotation": "bool HasAction(handle entity, string outputName)", + "contents": "HasAction(${1:handle entity}, ${2:string outputName})$0", + "kind": "keyword", + "details": "Returns true if an action exists for the output." + }, + { + "trigger": "HasAnyAmmo", + "annotation": "bool HasAnyAmmo()", + "contents": "HasAnyAmmo()$0", + "kind": "keyword", + "details": "Do we have any ammo?" + }, + { + "trigger": "HasAttributeTF", + "annotation": "bool HasAttributeTF(int bits)", + "contents": "HasAttributeTF(${1:int bits})$0", + "kind": "keyword", + "details": "Has TF-specific area attribute bits of the given ones." + }, + { + "trigger": "HasAttributes", + "annotation": "bool HasAttributes(int bits)", + "contents": "HasAttributes(${1:int bits})$0", + "kind": "keyword", + "details": "Has area attribute bits of the given ones." + }, + { + "trigger": "HasAvoidanceObstacle", + "annotation": "bool HasAvoidanceObstacle(float maxheight)", + "contents": "HasAvoidanceObstacle(${1:float maxheight})$0", + "kind": "keyword", + "details": "Returns true if there's a large, immobile object obstructing this area" + }, + { + "trigger": "HasBotAttribute", + "annotation": "bool HasBotAttribute(int attribute)", + "contents": "HasBotAttribute(${1:int attribute})$0", + "kind": "keyword", + "details": "Checks if this TFBot has the given attributes" + }, + { + "trigger": "HasBotTag", + "annotation": "bool HasBotTag(string tag)", + "contents": "HasBotTag(${1:string tag})$0", + "kind": "keyword", + "details": "Checks if this TFBot has the given bot tag" + }, + { + "trigger": "HasItem", + "annotation": "bool HasItem()", + "contents": "HasItem()$0", + "kind": "keyword", + "details": "Currently holding an item? Eg. capture flag" + }, + { + "trigger": "HasOutput", + "annotation": "bool HasOutput(handle entity, string outputName)", + "contents": "HasOutput(${1:handle entity}, ${2:string outputName})$0", + "kind": "keyword", + "details": "Returns true if the output exists." + }, + { + "trigger": "HasPotentialGap", + "annotation": "float HasPotentialGap(Vector from, Vector to)", + "contents": "HasPotentialGap(${1:Vector from}, ${2:Vector to})$0", + "kind": "keyword", + "details": "Checks if there is a possible gap that will need to be jumped over. Returns fraction of ray from 0 to 1." + }, + { + "trigger": "HasPrimaryAmmo", + "annotation": "bool HasPrimaryAmmo()", + "contents": "HasPrimaryAmmo()$0", + "kind": "keyword", + "details": "Do we have any primary ammo?" + }, + { + "trigger": "HasProp", + "annotation": "bool HasProp(handle entity, string propertyName)", + "contents": "HasProp(${1:handle entity}, ${2:string propertyName})$0", + "kind": "keyword", + "details": "Checks if a netprop exists." + }, + { + "trigger": "HasSecondaryAmmo", + "annotation": "bool HasSecondaryAmmo()", + "contents": "HasSecondaryAmmo()$0", + "kind": "keyword", + "details": "Do we have any secondary ammo?" + }, + { + "trigger": "HasWeaponRestriction", + "annotation": "bool HasWeaponRestriction(int flags)", + "contents": "HasWeaponRestriction(${1:int flags})$0", + "kind": "keyword", + "details": "Checks if this TFBot has the given weapon restriction flags" + }, + { + "trigger": "HaveStopWatchWinner", + "annotation": "bool HaveStopWatchWinner()", + "contents": "HaveStopWatchWinner()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "HookRootMetamethod", + "annotation": "HookRootMetamethod()", + "contents": "HookRootMetamethod()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IGNORE_ENEMIES", + "annotation": "IGNORE_ENEMIES", + "contents": "IGNORE_ENEMIES$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "IGNORE_FLAG", + "annotation": "IGNORE_FLAG", + "contents": "IGNORE_FLAG$0", + "kind": "keyword", + "details": "131072" + }, + { + "trigger": "IN_ALT1", + "annotation": "IN_ALT1", + "contents": "IN_ALT1$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "IN_ALT2", + "annotation": "IN_ALT2", + "contents": "IN_ALT2$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "IN_ATTACK", + "annotation": "IN_ATTACK", + "contents": "IN_ATTACK$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "IN_ATTACK2", + "annotation": "IN_ATTACK2", + "contents": "IN_ATTACK2$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "IN_ATTACK3", + "annotation": "IN_ATTACK3", + "contents": "IN_ATTACK3$0", + "kind": "keyword", + "details": "33554432" + }, + { + "trigger": "IN_BACK", + "annotation": "IN_BACK", + "contents": "IN_BACK$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "IN_BULLRUSH", + "annotation": "IN_BULLRUSH", + "contents": "IN_BULLRUSH$0", + "kind": "keyword", + "details": "4194304" + }, + { + "trigger": "IN_CANCEL", + "annotation": "IN_CANCEL", + "contents": "IN_CANCEL$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "IN_DUCK", + "annotation": "IN_DUCK", + "contents": "IN_DUCK$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "IN_FORWARD", + "annotation": "IN_FORWARD", + "contents": "IN_FORWARD$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "IN_GRENADE1", + "annotation": "IN_GRENADE1", + "contents": "IN_GRENADE1$0", + "kind": "keyword", + "details": "8388608" + }, + { + "trigger": "IN_GRENADE2", + "annotation": "IN_GRENADE2", + "contents": "IN_GRENADE2$0", + "kind": "keyword", + "details": "16777216" + }, + { + "trigger": "IN_JUMP", + "annotation": "IN_JUMP", + "contents": "IN_JUMP$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "IN_LEFT", + "annotation": "IN_LEFT", + "contents": "IN_LEFT$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "IN_MOVELEFT", + "annotation": "IN_MOVELEFT", + "contents": "IN_MOVELEFT$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "IN_MOVERIGHT", + "annotation": "IN_MOVERIGHT", + "contents": "IN_MOVERIGHT$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "IN_RELOAD", + "annotation": "IN_RELOAD", + "contents": "IN_RELOAD$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "IN_RIGHT", + "annotation": "IN_RIGHT", + "contents": "IN_RIGHT$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "IN_RUN", + "annotation": "IN_RUN", + "contents": "IN_RUN$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "IN_SCORE", + "annotation": "IN_SCORE", + "contents": "IN_SCORE$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "IN_SPEED", + "annotation": "IN_SPEED", + "contents": "IN_SPEED$0", + "kind": "keyword", + "details": "131072" + }, + { + "trigger": "IN_USE", + "annotation": "IN_USE", + "contents": "IN_USE$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "IN_WALK", + "annotation": "IN_WALK", + "contents": "IN_WALK$0", + "kind": "keyword", + "details": "262144" + }, + { + "trigger": "IN_WEAPON1", + "annotation": "IN_WEAPON1", + "contents": "IN_WEAPON1$0", + "kind": "keyword", + "details": "1048576" + }, + { + "trigger": "IN_WEAPON2", + "annotation": "IN_WEAPON2", + "contents": "IN_WEAPON2$0", + "kind": "keyword", + "details": "2097152" + }, + { + "trigger": "IN_ZOOM", + "annotation": "IN_ZOOM", + "contents": "IN_ZOOM$0", + "kind": "keyword", + "details": "524288" + }, + { + "trigger": "IS_NPC", + "annotation": "IS_NPC", + "contents": "IS_NPC$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "IgnitePlayer", + "annotation": "void IgnitePlayer()", + "contents": "IgnitePlayer()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "InAirDueToExplosion", + "annotation": "bool InAirDueToExplosion()", + "contents": "InAirDueToExplosion()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "InAirDueToKnockback", + "annotation": "bool InAirDueToKnockback()", + "contents": "InAirDueToKnockback()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "InCond", + "annotation": "bool InCond(ETFCond cond)", + "contents": "InCond(${1:ETFCond cond})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "InMatchStartCountdown", + "annotation": "bool InMatchStartCountdown()", + "contents": "InMatchStartCountdown()$0", + "kind": "keyword", + "details": "Are we in the pre-match/setup state?" + }, + { + "trigger": "InOvertime", + "annotation": "bool InOvertime()", + "contents": "InOvertime()$0", + "kind": "keyword", + "details": "Currently in overtime?" + }, + { + "trigger": "IncludeScript", + "annotation": "bool IncludeScript(string file, handle scope = null)", + "contents": "IncludeScript(${1:string file}, ${2:handle scope = null})$0", + "kind": "keyword", + "details": "Wrapper for DoIncludeScript" + }, + { + "trigger": "Input", + "annotation": "bool Input()", + "contents": "Input()$0", + "kind": "keyword", + "details": "Called when the entity receives an input from the I/O system that matches the function's name. The name of the function needs to be Input followed by the name of the input. E.g. for the FireUser1 input, it would be InputFireUser1 When the function is called, Script Handles of the activator and caller entities are accessible to the function under the variables activator and caller. The function needs to return a boolean value; Returning true processes the input, while false cancels it." + }, + { + "trigger": "Invert", + "annotation": "Quaternion Invert()", + "contents": "Invert()$0", + "kind": "keyword", + "details": "Returns a quaternion with the complimentary rotation." + }, + { + "trigger": "IsAbleToClimb", + "annotation": "bool IsAbleToClimb()", + "contents": "IsAbleToClimb()$0", + "kind": "keyword", + "details": "Return true if this bot can climb arbitrary geometry it encounters" + }, + { + "trigger": "IsAbleToJumpAcrossGaps", + "annotation": "bool IsAbleToJumpAcrossGaps()", + "contents": "IsAbleToJumpAcrossGaps()$0", + "kind": "keyword", + "details": "Return true if this bot can jump across gaps in its path" + }, + { + "trigger": "IsAirDashing", + "annotation": "bool IsAirDashing()", + "contents": "IsAirDashing()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsAllowedToRemoveTaunt", + "annotation": "bool IsAllowedToRemoveTaunt()", + "contents": "IsAllowedToRemoveTaunt()$0", + "kind": "keyword", + "details": "Returns true if the taunt will be stopped" + }, + { + "trigger": "IsAllowedToSwitch", + "annotation": "bool IsAllowedToSwitch()", + "contents": "IsAllowedToSwitch()$0", + "kind": "keyword", + "details": "Are we allowed to switch to this weapon?" + }, + { + "trigger": "IsAllowedToTaunt", + "annotation": "bool IsAllowedToTaunt()", + "contents": "IsAllowedToTaunt()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsAmmoFull", + "annotation": "bool IsAmmoFull()", + "contents": "IsAmmoFull()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsAmmoLow", + "annotation": "bool IsAmmoLow()", + "contents": "IsAmmoLow()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsAreaTraversable", + "annotation": "bool IsAreaTraversable(handle area)", + "contents": "IsAreaTraversable(${1:handle area})$0", + "kind": "keyword", + "details": "Return true if given area can be used for navigation" + }, + { + "trigger": "IsAttackDefenseMode", + "annotation": "bool IsAttackDefenseMode()", + "contents": "IsAttackDefenseMode()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsAttemptingToMove", + "annotation": "bool IsAttemptingToMove()", + "contents": "IsAttemptingToMove()$0", + "kind": "keyword", + "details": "Return true if we have tried to Approach() or DriveTo() very recently" + }, + { + "trigger": "IsAttentionFocused", + "annotation": "bool IsAttentionFocused()", + "contents": "IsAttentionFocused()$0", + "kind": "keyword", + "details": "Is our attention focused right now?" + }, + { + "trigger": "IsAttentionFocusedOn", + "annotation": "bool IsAttentionFocusedOn(handle entity)", + "contents": "IsAttentionFocusedOn(${1:handle entity})$0", + "kind": "keyword", + "details": "Is our attention focused on this entity" + }, + { + "trigger": "IsBirthday", + "annotation": "bool IsBirthday()", + "contents": "IsBirthday()$0", + "kind": "keyword", + "details": "Are we in birthday mode?" + }, + { + "trigger": "IsBlocked", + "annotation": "bool IsBlocked(int team, bool affectsFlow)", + "contents": "IsBlocked(${1:int team}, ${2:bool affectsFlow})$0", + "kind": "keyword", + "details": "Return true if team is blocked in this area." + }, + { + "trigger": "IsBotOfType", + "annotation": "bool IsBotOfType(int type)", + "contents": "IsBotOfType(${1:int type})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsBottleneck", + "annotation": "bool IsBottleneck()", + "contents": "IsBottleneck()$0", + "kind": "keyword", + "details": "Returns true if area is a bottleneck. (tiny narrow areas with only one path)" + }, + { + "trigger": "IsCallingForMedic", + "annotation": "bool IsCallingForMedic()", + "contents": "IsCallingForMedic()$0", + "kind": "keyword", + "details": "Is this player calling for medic?" + }, + { + "trigger": "IsCarryingRune", + "annotation": "bool IsCarryingRune()", + "contents": "IsCarryingRune()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsClimbingOrJumping", + "annotation": "bool IsClimbingOrJumping()", + "contents": "IsClimbingOrJumping()$0", + "kind": "keyword", + "details": "Is jumping in any form" + }, + { + "trigger": "IsClimbingUpToLedge", + "annotation": "bool IsClimbingUpToLedge()", + "contents": "IsClimbingUpToLedge()$0", + "kind": "keyword", + "details": "Is climbing up to a high ledge" + }, + { + "trigger": "IsCompetitiveMode", + "annotation": "bool IsCompetitiveMode()", + "contents": "IsCompetitiveMode()$0", + "kind": "keyword", + "details": "Playing competitive?" + }, + { + "trigger": "IsCompletelyVisibleToTeam", + "annotation": "bool IsCompletelyVisibleToTeam(int team)", + "contents": "IsCompletelyVisibleToTeam(${1:int team})$0", + "kind": "keyword", + "details": "Return true if given area is completely visible from somewhere in this area by someone on the team." + }, + { + "trigger": "IsConVarOnAllowList", + "annotation": "bool IsConVarOnAllowList(string name)", + "contents": "IsConVarOnAllowList(${1:string name})$0", + "kind": "keyword", + "details": "Checks if the convar is allowed to be used and is in cfg/vscript_convar_allowlist.txt. Please be nice with this and use it for *compatibility* if you need check support and NOT to force server owners to allow hostname to be set... or else this will simply lie and return true in future. ;-) You have been warned!" + }, + { + "trigger": "IsConnected", + "annotation": "bool IsConnected(handle area, int dir)", + "contents": "IsConnected(${1:handle area}, ${2:int dir})$0", + "kind": "keyword", + "details": "Return true if this area is connected to other area in given direction. (If you set direction to -1 or 4, it will automatically check all directions for a connection)." + }, + { + "trigger": "IsControlStunned", + "annotation": "bool IsControlStunned()", + "contents": "IsControlStunned()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsCoplanar", + "annotation": "bool IsCoplanar(handle area)", + "contents": "IsCoplanar(${1:handle area})$0", + "kind": "keyword", + "details": "Return true if this area and given area are approximately co-planar" + }, + { + "trigger": "IsCritBoosted", + "annotation": "bool IsCritBoosted()", + "contents": "IsCritBoosted()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsDamaging", + "annotation": "bool IsDamaging()", + "contents": "IsDamaging()$0", + "kind": "keyword", + "details": "Return true if this area is marked to have continuous damage." + }, + { + "trigger": "IsDedicatedServer", + "annotation": "bool IsDedicatedServer()", + "contents": "IsDedicatedServer()$0", + "kind": "keyword", + "details": "Returns true if this server is a dedicated server." + }, + { + "trigger": "IsDefaultGameMode", + "annotation": "bool IsDefaultGameMode()", + "contents": "IsDefaultGameMode()$0", + "kind": "keyword", + "details": "The absence of arena, mvm, tournament mode, etc" + }, + { + "trigger": "IsDegenerate", + "annotation": "bool IsDegenerate()", + "contents": "IsDegenerate()$0", + "kind": "keyword", + "details": "Return true if this area is badly formed." + }, + { + "trigger": "IsDifficulty", + "annotation": "bool IsDifficulty(int difficulty)", + "contents": "IsDifficulty(${1:int difficulty})$0", + "kind": "keyword", + "details": "Returns true/false if the bot's difficulty level matches." + }, + { + "trigger": "IsEFlagSet", + "annotation": "bool IsEFlagSet(int eflag)", + "contents": "IsEFlagSet(${1:int eflag})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsEdge", + "annotation": "bool IsEdge(ENavDirType dir)", + "contents": "IsEdge(${1:ENavDirType dir})$0", + "kind": "keyword", + "details": "Return true if there are no bi-directional links on the given side." + }, + { + "trigger": "IsEnemy", + "annotation": "bool IsEnemy(handle entity)", + "contents": "IsEnemy(${1:handle entity})$0", + "kind": "keyword", + "details": "Return true if given entity is our enemy" + }, + { + "trigger": "IsEntityTraversable", + "annotation": "bool IsEntityTraversable(handle entity, bool immediately)", + "contents": "IsEntityTraversable(${1:handle entity}, ${2:bool immediately})$0", + "kind": "keyword", + "details": "Return true if the entity handle is traversable. If immediately is true, breakables are considered non-traverseable" + }, + { + "trigger": "IsFakeClient", + "annotation": "bool IsFakeClient()", + "contents": "IsFakeClient()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsFireproof", + "annotation": "bool IsFireproof()", + "contents": "IsFireproof()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsFlaggedForUpdate", + "annotation": "bool IsFlaggedForUpdate()", + "contents": "IsFlaggedForUpdate()$0", + "kind": "keyword", + "details": "Is this bot flagged for update" + }, + { + "trigger": "IsFlat", + "annotation": "bool IsFlat()", + "contents": "IsFlat()$0", + "kind": "keyword", + "details": "Return true if this area is approximately flat." + }, + { + "trigger": "IsFriend", + "annotation": "bool IsFriend(handle entity)", + "contents": "IsFriend(${1:handle entity})$0", + "kind": "keyword", + "details": "Return true if given entity is our friend" + }, + { + "trigger": "IsFullyInvisible", + "annotation": "bool IsFullyInvisible()", + "contents": "IsFullyInvisible()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsGap", + "annotation": "bool IsGap(Vector pos, Vector forward)", + "contents": "IsGap(${1:Vector pos}, ${2:Vector forward})$0", + "kind": "keyword", + "details": "Return true if there is a gap at this position." + }, + { + "trigger": "IsHolidayActive", + "annotation": "bool IsHolidayActive(int holiday)", + "contents": "IsHolidayActive(${1:int holiday})$0", + "kind": "keyword", + "details": "Is the given holiday active? See Constants.EHoliday" + }, + { + "trigger": "IsHolidayMap", + "annotation": "bool IsHolidayMap(int holiday)", + "contents": "IsHolidayMap(${1:int holiday})$0", + "kind": "keyword", + "details": "Playing a holiday map? See Constants.EHoliday" + }, + { + "trigger": "IsHypeBuffed", + "annotation": "bool IsHypeBuffed()", + "contents": "IsHypeBuffed()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsImmobile", + "annotation": "bool IsImmobile()", + "contents": "IsImmobile()$0", + "kind": "keyword", + "details": "Return true if we haven't moved in awhile" + }, + { + "trigger": "IsImmuneToPushback", + "annotation": "bool IsImmuneToPushback()", + "contents": "IsImmuneToPushback()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsInASquad", + "annotation": "bool IsInASquad()", + "contents": "IsInASquad()$0", + "kind": "keyword", + "details": "Checks if we are in a squad" + }, + { + "trigger": "IsInArenaMode", + "annotation": "bool IsInArenaMode()", + "contents": "IsInArenaMode()$0", + "kind": "keyword", + "details": "Playing arena mode?" + }, + { + "trigger": "IsInKothMode", + "annotation": "bool IsInKothMode()", + "contents": "IsInKothMode()$0", + "kind": "keyword", + "details": "Playing king of the hill mode?" + }, + { + "trigger": "IsInMedievalMode", + "annotation": "bool IsInMedievalMode()", + "contents": "IsInMedievalMode()$0", + "kind": "keyword", + "details": "Playing medieval mode?" + }, + { + "trigger": "IsInWaitingForPlayers", + "annotation": "bool IsInWaitingForPlayers()", + "contents": "IsInWaitingForPlayers()$0", + "kind": "keyword", + "details": "Are we waiting for some stragglers?" + }, + { + "trigger": "IsInspecting", + "annotation": "bool IsInspecting()", + "contents": "IsInspecting()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsInvulnerable", + "annotation": "bool IsInvulnerable()", + "contents": "IsInvulnerable()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsJumping", + "annotation": "bool IsJumping()", + "contents": "IsJumping()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsJumpingAcrossGap", + "annotation": "bool IsJumpingAcrossGap()", + "contents": "IsJumpingAcrossGap()$0", + "kind": "keyword", + "details": "Is jumping across a gap to the far side" + }, + { + "trigger": "IsKeyEmpty", + "annotation": "bool IsKeyEmpty(string key)", + "contents": "IsKeyEmpty(${1:string key})$0", + "kind": "keyword", + "details": "Returns true if the named key has no value." + }, + { + "trigger": "IsMannVsMachineMode", + "annotation": "bool IsMannVsMachineMode()", + "contents": "IsMannVsMachineMode()$0", + "kind": "keyword", + "details": "Playing MvM? Beep boop" + }, + { + "trigger": "IsMannVsMachineRespecEnabled", + "annotation": "bool IsMannVsMachineRespecEnabled()", + "contents": "IsMannVsMachineRespecEnabled()$0", + "kind": "keyword", + "details": "Are players allowed to refund their upgrades?" + }, + { + "trigger": "IsMatchTypeCasual", + "annotation": "bool IsMatchTypeCasual()", + "contents": "IsMatchTypeCasual()$0", + "kind": "keyword", + "details": "Playing casual?" + }, + { + "trigger": "IsMatchTypeCompetitive", + "annotation": "bool IsMatchTypeCompetitive()", + "contents": "IsMatchTypeCompetitive()$0", + "kind": "keyword", + "details": "Playing competitive?" + }, + { + "trigger": "IsMeleeWeapon", + "annotation": "bool IsMeleeWeapon()", + "contents": "IsMeleeWeapon()$0", + "kind": "keyword", + "details": "Returns whether this is a melee weapon" + }, + { + "trigger": "IsMiniBoss", + "annotation": "bool IsMiniBoss()", + "contents": "IsMiniBoss()$0", + "kind": "keyword", + "details": "Is this player an MvM mini-boss?" + }, + { + "trigger": "IsModelPrecached", + "annotation": "bool IsModelPrecached(string modelname)", + "contents": "IsModelPrecached(${1:string modelname})$0", + "kind": "keyword", + "details": "Checks if the modelname is precached." + }, + { + "trigger": "IsNoclipping", + "annotation": "bool IsNoclipping()", + "contents": "IsNoclipping()$0", + "kind": "keyword", + "details": "Returns true if the player is in noclip mode." + }, + { + "trigger": "IsOnGround", + "annotation": "bool IsOnGround()", + "contents": "IsOnGround()$0", + "kind": "keyword", + "details": "Return true if standing on something" + }, + { + "trigger": "IsOverlapping", + "annotation": "bool IsOverlapping(handle area)", + "contents": "IsOverlapping(${1:handle area})$0", + "kind": "keyword", + "details": "Return true if 'area' overlaps our 2D extents." + }, + { + "trigger": "IsOverlappingOrigin", + "annotation": "bool IsOverlappingOrigin(Vector pos, float tolerance)", + "contents": "IsOverlappingOrigin(${1:Vector pos}, ${2:float tolerance})$0", + "kind": "keyword", + "details": "Return true if 'pos' is within 2D extents of area." + }, + { + "trigger": "IsPVEModeActive", + "annotation": "bool IsPVEModeActive()", + "contents": "IsPVEModeActive()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsParachuteEquipped", + "annotation": "bool IsParachuteEquipped()", + "contents": "IsParachuteEquipped()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsPasstimeMode", + "annotation": "bool IsPasstimeMode()", + "contents": "IsPasstimeMode()$0", + "kind": "keyword", + "details": "No ball games." + }, + { + "trigger": "IsPaused", + "annotation": "bool IsPaused()", + "contents": "IsPaused()$0", + "kind": "keyword", + "details": "If this scene is currently paused." + }, + { + "trigger": "IsPlacingSapper", + "annotation": "bool IsPlacingSapper()", + "contents": "IsPlacingSapper()$0", + "kind": "keyword", + "details": "Returns true if we placed a sapper in the last few moments" + }, + { + "trigger": "IsPlayer", + "annotation": "bool IsPlayer()", + "contents": "IsPlayer()$0", + "kind": "keyword", + "details": "Checks whether the entity is a player or not." + }, + { + "trigger": "IsPlayerABot", + "annotation": "bool IsPlayerABot(handle player)", + "contents": "IsPlayerABot(${1:handle player})$0", + "kind": "keyword", + "details": "Is this player/entity a bot." + }, + { + "trigger": "IsPlayerSpeaking", + "annotation": "bool IsPlayerSpeaking(int playerIndex)", + "contents": "IsPlayerSpeaking(${1:int playerIndex})$0", + "kind": "keyword", + "details": "Returns whether the player specified is speaking." + }, + { + "trigger": "IsPlayingBack", + "annotation": "bool IsPlayingBack()", + "contents": "IsPlayingBack()$0", + "kind": "keyword", + "details": "If this scene is currently playing." + }, + { + "trigger": "IsPotentiallyTraversable", + "annotation": "float IsPotentiallyTraversable(Vector from, Vector to, bool immediately)", + "contents": "IsPotentiallyTraversable(${1:Vector from}, ${2:Vector to}, ${3:bool immediately})$0", + "kind": "keyword", + "details": "Checks if this locomotor could potentially move along the line given. Returns fraction of trace result (1 = clear). If immediately is true, breakables are considered non-traverseable" + }, + { + "trigger": "IsPotentiallyVisibleToTeam", + "annotation": "bool IsPotentiallyVisibleToTeam(int team)", + "contents": "IsPotentiallyVisibleToTeam(${1:int team})$0", + "kind": "keyword", + "details": "Return true if any portion of this area is visible to anyone on the given team." + }, + { + "trigger": "IsPowerupMode", + "annotation": "bool IsPowerupMode()", + "contents": "IsPowerupMode()$0", + "kind": "keyword", + "details": "Playing powerup mode? Not compatible with MvM" + }, + { + "trigger": "IsQuickBuildTime", + "annotation": "bool IsQuickBuildTime()", + "contents": "IsQuickBuildTime()$0", + "kind": "keyword", + "details": "If an engie places a building, will it immediately upgrade? Eg. MvM pre-round etc." + }, + { + "trigger": "IsRageDraining", + "annotation": "bool IsRageDraining()", + "contents": "IsRageDraining()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsReachableByTeam", + "annotation": "bool IsReachableByTeam(int team)", + "contents": "IsReachableByTeam(${1:int team})$0", + "kind": "keyword", + "details": "Is this area reachable by the given team?" + }, + { + "trigger": "IsRegenerating", + "annotation": "bool IsRegenerating()", + "contents": "IsRegenerating()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsRoughlySquare", + "annotation": "bool IsRoughlySquare()", + "contents": "IsRoughlySquare()$0", + "kind": "keyword", + "details": "Return true if this area is approximately square." + }, + { + "trigger": "IsRunning", + "annotation": "bool IsRunning()", + "contents": "IsRunning()$0", + "kind": "keyword", + "details": "Is running?" + }, + { + "trigger": "IsSapping", + "annotation": "bool IsSapping()", + "contents": "IsSapping()$0", + "kind": "keyword", + "details": "Returns true if we are currently sapping" + }, + { + "trigger": "IsScrambling", + "annotation": "bool IsScrambling()", + "contents": "IsScrambling()$0", + "kind": "keyword", + "details": "Is in the middle of a complex action (climbing a ladder, climbing a ledge, jumping, etc) that shouldn't be interrupted" + }, + { + "trigger": "IsSequenceFinished", + "annotation": "bool IsSequenceFinished()", + "contents": "IsSequenceFinished()$0", + "kind": "keyword", + "details": "Ask whether the main sequence is done playing" + }, + { + "trigger": "IsSnared", + "annotation": "bool IsSnared()", + "contents": "IsSnared()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsSolid", + "annotation": "bool IsSolid()", + "contents": "IsSolid()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsSolidFlagSet", + "annotation": "bool IsSolidFlagSet(int solidflag)", + "contents": "IsSolidFlagSet(${1:int solidflag})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsSoundPrecached", + "annotation": "bool IsSoundPrecached(string soundname)", + "contents": "IsSoundPrecached(${1:string soundname})$0", + "kind": "keyword", + "details": "Checks if the soundname is precached." + }, + { + "trigger": "IsStealthed", + "annotation": "bool IsStealthed()", + "contents": "IsStealthed()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsStuck", + "annotation": "bool IsStuck()", + "contents": "IsStuck()$0", + "kind": "keyword", + "details": "Return true if bot is stuck. If the locomotor cannot make progress, it becomes stuck and can only leave this stuck state by successfully movingand becoming un-stuck." + }, + { + "trigger": "IsTFMarked", + "annotation": "bool IsTFMarked()", + "contents": "IsTFMarked()$0", + "kind": "keyword", + "details": "Is this nav area marked with the current marking scope?" + }, + { + "trigger": "IsTaunting", + "annotation": "bool IsTaunting()", + "contents": "IsTaunting()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsTruceActive", + "annotation": "bool IsTruceActive()", + "contents": "IsTruceActive()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsUnderwater", + "annotation": "bool IsUnderwater()", + "contents": "IsUnderwater()$0", + "kind": "keyword", + "details": "Return true if area is underwater." + }, + { + "trigger": "IsUsingActionSlot", + "annotation": "bool IsUsingActionSlot()", + "contents": "IsUsingActionSlot()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsUsingGrapplingHook", + "annotation": "bool IsUsingGrapplingHook()", + "contents": "IsUsingGrapplingHook()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsUsingSpells", + "annotation": "bool IsUsingSpells()", + "contents": "IsUsingSpells()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsValid", + "annotation": "bool IsValid()", + "contents": "IsValid()$0", + "kind": "keyword", + "details": "Whether the handle belongs to a valid key." + }, + { + "trigger": "IsValidForWanderingPopulation", + "annotation": "bool IsValidForWanderingPopulation()", + "contents": "IsValidForWanderingPopulation()$0", + "kind": "keyword", + "details": "Returns true if area is valid for wandering population." + }, + { + "trigger": "IsViewingCYOAPDA", + "annotation": "bool IsViewingCYOAPDA()", + "contents": "IsViewingCYOAPDA()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsVisible", + "annotation": "bool IsVisible(Vector point)", + "contents": "IsVisible(${1:Vector point})$0", + "kind": "keyword", + "details": "Return true if area is visible from the given eyepoint." + }, + { + "trigger": "IsWeakref", + "annotation": "bool IsWeakref()", + "contents": "IsWeakref()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "IsWeaponRestricted", + "annotation": "bool IsWeaponRestricted(handle weapon)", + "contents": "IsWeaponRestricted(${1:handle weapon})$0", + "kind": "keyword", + "details": "Checks if the given weapon is restricted for use on the bot" + }, + { + "trigger": "Jump", + "annotation": "void Jump()", + "contents": "Jump()$0", + "kind": "keyword", + "details": "Initiate a simple undirected jump in the air" + }, + { + "trigger": "JumpAcrossGap", + "annotation": "void JumpAcrossGap(Vector goalPos, Vector goalForward)", + "contents": "JumpAcrossGap(${1:Vector goalPos}, ${2:Vector goalForward})$0", + "kind": "keyword", + "details": "Initiate a jump across an empty volume of space to far side" + }, + { + "trigger": "KeyValueFromFloat", + "annotation": "bool KeyValueFromFloat(string key, float value)", + "contents": "KeyValueFromFloat(${1:string key}, ${2:float value})$0", + "kind": "keyword", + "details": "Executes KeyValue with a float" + }, + { + "trigger": "KeyValueFromInt", + "annotation": "bool KeyValueFromInt(string key, int value)", + "contents": "KeyValueFromInt(${1:string key}, ${2:int value})$0", + "kind": "keyword", + "details": "Executes KeyValue with an int" + }, + { + "trigger": "KeyValueFromString", + "annotation": "bool KeyValueFromString(string key, string value)", + "contents": "KeyValueFromString(${1:string key}, ${2:string value})$0", + "kind": "keyword", + "details": "Executes KeyValue with a string" + }, + { + "trigger": "KeyValueFromVector", + "annotation": "bool KeyValueFromVector(string key, Vector value)", + "contents": "KeyValueFromVector(${1:string key}, ${2:Vector value})$0", + "kind": "keyword", + "details": "Executes KeyValue with a vector" + }, + { + "trigger": "Kill", + "annotation": "void Kill()", + "contents": "Kill()$0", + "kind": "keyword", + "details": "Removes the entity. Equivalent of firing the Kill I/O input, but instantaneous." + }, + { + "trigger": "LAST_SHARED_COLLISION_GROUP", + "annotation": "LAST_SHARED_COLLISION_GROUP", + "contents": "LAST_SHARED_COLLISION_GROUP$0", + "kind": "keyword", + "details": "20" + }, + { + "trigger": "LAST_VISIBLE_CONTENTS", + "annotation": "LAST_VISIBLE_CONTENTS", + "contents": "LAST_VISIBLE_CONTENTS$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "LEFT", + "annotation": "LEFT", + "contents": "LEFT$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "LeaveSquad", + "annotation": "void LeaveSquad()", + "contents": "LeaveSquad()$0", + "kind": "keyword", + "details": "Makes us leave the current squad (if any)" + }, + { + "trigger": "Left", + "annotation": "Vector Left()", + "contents": "Left()$0", + "kind": "keyword", + "details": "Returns the left Vector of the angles." + }, + { + "trigger": "Length", + "annotation": "float Length()", + "contents": "Length()$0", + "kind": "keyword", + "details": "Magnitude of the vector." + }, + { + "trigger": "Length2D", + "annotation": "float Length2D()", + "contents": "Length2D()$0", + "kind": "keyword", + "details": "Returns the magnitude of the vector on the x-y plane. Meant to be used when working with the client's HUD." + }, + { + "trigger": "Length2DSqr", + "annotation": "float Length2DSqr()", + "contents": "Length2DSqr()$0", + "kind": "keyword", + "details": "Returns the square of the magnitude of the vector on the x-y plane. Faster than the above method." + }, + { + "trigger": "LengthSqr", + "annotation": "float LengthSqr()", + "contents": "LengthSqr()$0", + "kind": "keyword", + "details": "The magnitude of the vector squared. Faster than the above method." + }, + { + "trigger": "LoadSceneFromString", + "annotation": "bool LoadSceneFromString(string sceneName, string scene)", + "contents": "LoadSceneFromString(${1:string sceneName}, ${2:string scene})$0", + "kind": "keyword", + "details": "given a dummy scene name and a vcd string, load the scene" + }, + { + "trigger": "LocalEyeAngles", + "annotation": "handle LocalEyeAngles()", + "contents": "LocalEyeAngles()$0", + "kind": "keyword", + "details": "Returns the entity's local eye angles" + }, + { + "trigger": "LocalTime", + "annotation": "void LocalTime(table out)", + "contents": "LocalTime(${1:table out})$0", + "kind": "keyword", + "details": "Fills out a table with the local time (second, minute, hour, day, month, year, dayofweek, dayofyear, daylightsavings)" + }, + { + "trigger": "LookupActivity", + "annotation": "int LookupActivity(string activity)", + "contents": "LookupActivity(${1:string activity})$0", + "kind": "keyword", + "details": "Get the named activity index. Returns -1 if the activity does not exist." + }, + { + "trigger": "LookupAttachment", + "annotation": "int LookupAttachment(string name)", + "contents": "LookupAttachment(${1:string name})$0", + "kind": "keyword", + "details": "Get the named attachment index. Returns 0 if the attachment does not exist." + }, + { + "trigger": "LookupBone", + "annotation": "int LookupBone(string bone)", + "contents": "LookupBone(${1:string bone})$0", + "kind": "keyword", + "details": "Get the named bone index. Returns -1 if the bone does not exist." + }, + { + "trigger": "LookupPoseParameter", + "annotation": "int LookupPoseParameter(string name)", + "contents": "LookupPoseParameter(${1:string name})$0", + "kind": "keyword", + "details": "Gets the pose parameter's index. Returns -1 if the pose parameter does not exist." + }, + { + "trigger": "LookupSequence", + "annotation": "int LookupSequence(string name)", + "contents": "LookupSequence(${1:string name})$0", + "kind": "keyword", + "details": "Looks up a sequence by names of sequences or activities. Returns -1 if the sequence does not exist." + }, + { + "trigger": "MAX_EDICTS", + "annotation": "MAX_EDICTS", + "contents": "MAX_EDICTS$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "MAX_PLAYERS", + "annotation": "MAX_PLAYERS", + "contents": "MAX_PLAYERS$0", + "kind": "keyword", + "details": "101" + }, + { + "trigger": "MINIBOSS", + "annotation": "MINIBOSS", + "contents": "MINIBOSS$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "MOVECOLLIDE_COUNT", + "annotation": "MOVECOLLIDE_COUNT", + "contents": "MOVECOLLIDE_COUNT$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "MOVECOLLIDE_DEFAULT", + "annotation": "MOVECOLLIDE_DEFAULT", + "contents": "MOVECOLLIDE_DEFAULT$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "MOVECOLLIDE_FLY_BOUNCE", + "annotation": "MOVECOLLIDE_FLY_BOUNCE", + "contents": "MOVECOLLIDE_FLY_BOUNCE$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "MOVECOLLIDE_FLY_CUSTOM", + "annotation": "MOVECOLLIDE_FLY_CUSTOM", + "contents": "MOVECOLLIDE_FLY_CUSTOM$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "MOVECOLLIDE_FLY_SLIDE", + "annotation": "MOVECOLLIDE_FLY_SLIDE", + "contents": "MOVECOLLIDE_FLY_SLIDE$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "MOVECOLLIDE_MAX_BITS", + "annotation": "MOVECOLLIDE_MAX_BITS", + "contents": "MOVECOLLIDE_MAX_BITS$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "MOVETYPE_CUSTOM", + "annotation": "MOVETYPE_CUSTOM", + "contents": "MOVETYPE_CUSTOM$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "MOVETYPE_FLY", + "annotation": "MOVETYPE_FLY", + "contents": "MOVETYPE_FLY$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "MOVETYPE_FLYGRAVITY", + "annotation": "MOVETYPE_FLYGRAVITY", + "contents": "MOVETYPE_FLYGRAVITY$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "MOVETYPE_ISOMETRIC", + "annotation": "MOVETYPE_ISOMETRIC", + "contents": "MOVETYPE_ISOMETRIC$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "MOVETYPE_LADDER", + "annotation": "MOVETYPE_LADDER", + "contents": "MOVETYPE_LADDER$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "MOVETYPE_LAST", + "annotation": "MOVETYPE_LAST", + "contents": "MOVETYPE_LAST$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "MOVETYPE_NOCLIP", + "annotation": "MOVETYPE_NOCLIP", + "contents": "MOVETYPE_NOCLIP$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "MOVETYPE_NONE", + "annotation": "MOVETYPE_NONE", + "contents": "MOVETYPE_NONE$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "MOVETYPE_OBSERVER", + "annotation": "MOVETYPE_OBSERVER", + "contents": "MOVETYPE_OBSERVER$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "MOVETYPE_PUSH", + "annotation": "MOVETYPE_PUSH", + "contents": "MOVETYPE_PUSH$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "MOVETYPE_STEP", + "annotation": "MOVETYPE_STEP", + "contents": "MOVETYPE_STEP$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "MOVETYPE_VPHYSICS", + "annotation": "MOVETYPE_VPHYSICS", + "contents": "MOVETYPE_VPHYSICS$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "MOVETYPE_WALK", + "annotation": "MOVETYPE_WALK", + "contents": "MOVETYPE_WALK$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "MakeNamespace", + "annotation": "void MakeNamespace()", + "contents": "MakeNamespace()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "MapHasMatchSummaryStage", + "annotation": "bool MapHasMatchSummaryStage()", + "contents": "MapHasMatchSummaryStage()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "MarkAsBlocked", + "annotation": "void MarkAsBlocked(int team)", + "contents": "MarkAsBlocked(${1:int team})$0", + "kind": "keyword", + "details": "Mark this area as blocked for team." + }, + { + "trigger": "MarkAsDamaging", + "annotation": "void MarkAsDamaging(float duration)", + "contents": "MarkAsDamaging(${1:float duration})$0", + "kind": "keyword", + "details": "Mark this area is damaging for the next 'duration' seconds." + }, + { + "trigger": "MarkObstacleToAvoid", + "annotation": "void MarkObstacleToAvoid(float height)", + "contents": "MarkObstacleToAvoid(${1:float height})$0", + "kind": "keyword", + "details": "Marks the obstructed status of the nav area." + }, + { + "trigger": "MatchmakingShouldUseStopwatchMode", + "annotation": "bool MatchmakingShouldUseStopwatchMode()", + "contents": "MatchmakingShouldUseStopwatchMode()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "MaxClients", + "annotation": "float MaxClients()", + "contents": "MaxClients()$0", + "kind": "keyword", + "details": "Get the current number of max clients set by the maxplayers command." + }, + { + "trigger": "Msg", + "annotation": "void Msg(string message)", + "contents": "Msg(${1:string message})$0", + "kind": "keyword", + "details": "Prints message to console without any line feed after." + }, + { + "trigger": "NAV_MESH_AVOID", + "annotation": "NAV_MESH_AVOID", + "contents": "NAV_MESH_AVOID$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "NAV_MESH_CLIFF", + "annotation": "NAV_MESH_CLIFF", + "contents": "NAV_MESH_CLIFF$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "NAV_MESH_CROUCH", + "annotation": "NAV_MESH_CROUCH", + "contents": "NAV_MESH_CROUCH$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "NAV_MESH_DONT_HIDE", + "annotation": "NAV_MESH_DONT_HIDE", + "contents": "NAV_MESH_DONT_HIDE$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "NAV_MESH_FIRST_CUSTOM", + "annotation": "NAV_MESH_FIRST_CUSTOM", + "contents": "NAV_MESH_FIRST_CUSTOM$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "NAV_MESH_FUNC_COST", + "annotation": "NAV_MESH_FUNC_COST", + "contents": "NAV_MESH_FUNC_COST$0", + "kind": "keyword", + "details": "536870912" + }, + { + "trigger": "NAV_MESH_HAS_ELEVATOR", + "annotation": "NAV_MESH_HAS_ELEVATOR", + "contents": "NAV_MESH_HAS_ELEVATOR$0", + "kind": "keyword", + "details": "1073741824" + }, + { + "trigger": "NAV_MESH_INVALID", + "annotation": "NAV_MESH_INVALID", + "contents": "NAV_MESH_INVALID$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "NAV_MESH_JUMP", + "annotation": "NAV_MESH_JUMP", + "contents": "NAV_MESH_JUMP$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "NAV_MESH_LAST_CUSTOM", + "annotation": "NAV_MESH_LAST_CUSTOM", + "contents": "NAV_MESH_LAST_CUSTOM$0", + "kind": "keyword", + "details": "67108864" + }, + { + "trigger": "NAV_MESH_NAV_BLOCKER", + "annotation": "NAV_MESH_NAV_BLOCKER", + "contents": "NAV_MESH_NAV_BLOCKER$0", + "kind": "keyword", + "details": "2147483648" + }, + { + "trigger": "NAV_MESH_NO_HOSTAGES", + "annotation": "NAV_MESH_NO_HOSTAGES", + "contents": "NAV_MESH_NO_HOSTAGES$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "NAV_MESH_NO_JUMP", + "annotation": "NAV_MESH_NO_JUMP", + "contents": "NAV_MESH_NO_JUMP$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "NAV_MESH_NO_MERGE", + "annotation": "NAV_MESH_NO_MERGE", + "contents": "NAV_MESH_NO_MERGE$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "NAV_MESH_OBSTACLE_TOP", + "annotation": "NAV_MESH_OBSTACLE_TOP", + "contents": "NAV_MESH_OBSTACLE_TOP$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "NAV_MESH_PRECISE", + "annotation": "NAV_MESH_PRECISE", + "contents": "NAV_MESH_PRECISE$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "NAV_MESH_RUN", + "annotation": "NAV_MESH_RUN", + "contents": "NAV_MESH_RUN$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "NAV_MESH_STAIRS", + "annotation": "NAV_MESH_STAIRS", + "contents": "NAV_MESH_STAIRS$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "NAV_MESH_STAND", + "annotation": "NAV_MESH_STAND", + "contents": "NAV_MESH_STAND$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "NAV_MESH_STOP", + "annotation": "NAV_MESH_STOP", + "contents": "NAV_MESH_STOP$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "NAV_MESH_TRANSIENT", + "annotation": "NAV_MESH_TRANSIENT", + "contents": "NAV_MESH_TRANSIENT$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "NAV_MESH_WALK", + "annotation": "NAV_MESH_WALK", + "contents": "NAV_MESH_WALK$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "NORMAL", + "annotation": "NORMAL", + "contents": "NORMAL$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "NORTH", + "annotation": "NORTH", + "contents": "NORTH$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "NORTH_EAST", + "annotation": "NORTH_EAST", + "contents": "NORTH_EAST$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "NORTH_WEST", + "annotation": "NORTH_WEST", + "contents": "NORTH_WEST$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "NUM_CORNERS", + "annotation": "NUM_CORNERS", + "contents": "NUM_CORNERS$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "NUM_DIFFICULTY_LEVELS", + "annotation": "NUM_DIFFICULTY_LEVELS", + "contents": "NUM_DIFFICULTY_LEVELS$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "NUM_DIRECTIONS", + "annotation": "NUM_DIRECTIONS", + "contents": "NUM_DIRECTIONS$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "NUM_OBSERVER_MODES", + "annotation": "NUM_OBSERVER_MODES", + "contents": "NUM_OBSERVER_MODES$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "NUM_RELATIVE_DIRECTIONS", + "annotation": "NUM_RELATIVE_DIRECTIONS", + "contents": "NUM_RELATIVE_DIRECTIONS$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "NUM_TRAVERSE_TYPES", + "annotation": "NUM_TRAVERSE_TYPES", + "contents": "NUM_TRAVERSE_TYPES$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "NavAreaBuildPath", + "annotation": "bool NavAreaBuildPath(handle startArea, handle endArea, Vector goalPos, float flMaxPathLength, int teamID, bool ignoreNavBlockers)", + "contents": "NavAreaBuildPath(${1:handle startArea}, ${2:handle endArea}, ${3:Vector goalPos}, ${4:float flMaxPathLength}, ${5:int teamID}, ${6:bool ignoreNavBlockers})$0", + "kind": "keyword", + "details": "returns true if a path exists" + }, + { + "trigger": "NavAreaTravelDistance", + "annotation": "float NavAreaTravelDistance(handle startArea, handle endArea, float flMaxPathLength)", + "contents": "NavAreaTravelDistance(${1:handle startArea}, ${2:handle endArea}, ${3:float flMaxPathLength})$0", + "kind": "keyword", + "details": "compute distance between two areas. Return -1 if can't reach 'endArea' from 'startArea'" + }, + { + "trigger": "Next", + "annotation": "handle Next(handle previous)", + "contents": "Next(${1:handle previous})$0", + "kind": "keyword", + "details": "At the given reference of a previously-found entity, returns the next one after it in the list." + }, + { + "trigger": "NextMovePeer", + "annotation": "handle NextMovePeer()", + "contents": "NextMovePeer()$0", + "kind": "keyword", + "details": "Returns the next entity parented with the entity. Intended for iteration use with FirstMoveChild()." + }, + { + "trigger": "Norm", + "annotation": "float Norm()", + "contents": "Norm()$0", + "kind": "keyword", + "details": "Normalizes the 4D vector length." + }, + { + "trigger": "OBS_MODE_CHASE", + "annotation": "OBS_MODE_CHASE", + "contents": "OBS_MODE_CHASE$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "OBS_MODE_DEATHCAM", + "annotation": "OBS_MODE_DEATHCAM", + "contents": "OBS_MODE_DEATHCAM$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "OBS_MODE_FIXED", + "annotation": "OBS_MODE_FIXED", + "contents": "OBS_MODE_FIXED$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "OBS_MODE_FREEZECAM", + "annotation": "OBS_MODE_FREEZECAM", + "contents": "OBS_MODE_FREEZECAM$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "OBS_MODE_IN_EYE", + "annotation": "OBS_MODE_IN_EYE", + "contents": "OBS_MODE_IN_EYE$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "OBS_MODE_NONE", + "annotation": "OBS_MODE_NONE", + "contents": "OBS_MODE_NONE$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "OBS_MODE_POI", + "annotation": "OBS_MODE_POI", + "contents": "OBS_MODE_POI$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "OBS_MODE_ROAMING", + "annotation": "OBS_MODE_ROAMING", + "contents": "OBS_MODE_ROAMING$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "OnGameEvent_", + "annotation": "void OnGameEvent_(table params)", + "contents": "OnGameEvent_(${1:table params})$0", + "kind": "keyword", + "details": "Called each time a game event with the specified name occurs. The name of the function needs to be OnGameEvent_ followed by the name of the game event. E.g. for the player_spawn input, it would be OnGameEvent_player_spawn." + }, + { + "trigger": "OnLandOnGround", + "annotation": "void OnLandOnGround(handle ground)", + "contents": "OnLandOnGround(${1:handle ground})$0", + "kind": "keyword", + "details": "Manually run the OnLandOnGround callback. Typically invoked when bot lands on the ground after being in the air" + }, + { + "trigger": "OnLeaveGround", + "annotation": "void OnLeaveGround(handle ground)", + "contents": "OnLeaveGround(${1:handle ground})$0", + "kind": "keyword", + "details": "Manually run the OnLeaveGround callback. Typically invoked when bot leaves ground for any reason" + }, + { + "trigger": "OnPostSpawn", + "annotation": "void OnPostSpawn()", + "contents": "OnPostSpawn()$0", + "kind": "keyword", + "details": "Called after the entity spawns, which is after scripts and players have loaded. This could be used to have an entity register itself with a master script, or adjusting the entity parameters in a programmatic way." + }, + { + "trigger": "OnTakeDamage", + "annotation": "void OnTakeDamage(handle params)", + "contents": "OnTakeDamage(${1:handle params})$0", + "kind": "keyword", + "details": "Called each time an entity takes damage. The script can modify the table entries not suffixed with const, and these will be sent back to the game code" + }, + { + "trigger": "One", + "annotation": "One", + "contents": "One$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "PARACHUTE", + "annotation": "PARACHUTE", + "contents": "PARACHUTE$0", + "kind": "keyword", + "details": "67108864" + }, + { + "trigger": "PI", + "annotation": "PI", + "contents": "PI$0", + "kind": "keyword", + "details": "3.14158" + }, + { + "trigger": "PLAYER_FLAG_BITS", + "annotation": "PLAYER_FLAG_BITS", + "contents": "PLAYER_FLAG_BITS$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "PREFER_VACCINATOR_BLAST", + "annotation": "PREFER_VACCINATOR_BLAST", + "contents": "PREFER_VACCINATOR_BLAST$0", + "kind": "keyword", + "details": "2097152" + }, + { + "trigger": "PREFER_VACCINATOR_BULLETS", + "annotation": "PREFER_VACCINATOR_BULLETS", + "contents": "PREFER_VACCINATOR_BULLETS$0", + "kind": "keyword", + "details": "1048576" + }, + { + "trigger": "PREFER_VACCINATOR_FIRE", + "annotation": "PREFER_VACCINATOR_FIRE", + "contents": "PREFER_VACCINATOR_FIRE$0", + "kind": "keyword", + "details": "4194304" + }, + { + "trigger": "PRIORITIZE_DEFENSE", + "annotation": "PRIORITIZE_DEFENSE", + "contents": "PRIORITIZE_DEFENSE$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "PROJECTILE_SHIELD", + "annotation": "PROJECTILE_SHIELD", + "contents": "PROJECTILE_SHIELD$0", + "kind": "keyword", + "details": "134217728" + }, + { + "trigger": "Pi", + "annotation": "Pi", + "contents": "Pi$0", + "kind": "keyword", + "details": "3.14159" + }, + { + "trigger": "PickupObject", + "annotation": "void PickupObject(handle player, handle entity)", + "contents": "PickupObject(${1:handle player}, ${2:handle entity})$0", + "kind": "keyword", + "details": "Object from world is put into the \"Held\" slot of the player. Warning: it will smoothly interpolate from where it is to the players hand - which is a bit goofy if it is on other side of level." + }, + { + "trigger": "Pitch", + "annotation": "float Pitch()", + "contents": "Pitch()$0", + "kind": "keyword", + "details": "Returns the pitch angle in degrees." + }, + { + "trigger": "PlayScene", + "annotation": "float PlayScene(string scene_file, float delay)", + "contents": "PlayScene(${1:string scene_file}, ${2:float delay})$0", + "kind": "keyword", + "details": "Play the specified .vcd file, causing the related characters to speak and subtitles to play." + }, + { + "trigger": "PlayerInstanceFromIndex", + "annotation": "CBasePlayer PlayerInstanceFromIndex(int index)", + "contents": "PlayerInstanceFromIndex(${1:int index})$0", + "kind": "keyword", + "details": "Get a script handle of a player using the player index." + }, + { + "trigger": "PlayerReadyStatus_ArePlayersOnTeamReady", + "annotation": "bool PlayerReadyStatus_ArePlayersOnTeamReady(int team)", + "contents": "PlayerReadyStatus_ArePlayersOnTeamReady(${1:int team})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "PlayerReadyStatus_HaveMinPlayersToEnable", + "annotation": "bool PlayerReadyStatus_HaveMinPlayersToEnable()", + "contents": "PlayerReadyStatus_HaveMinPlayersToEnable()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "PlayerReadyStatus_ResetState", + "annotation": "void PlayerReadyStatus_ResetState()", + "contents": "PlayerReadyStatus_ResetState()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "PlayersAreOnMatchSummaryStage", + "annotation": "bool PlayersAreOnMatchSummaryStage()", + "contents": "PlayersAreOnMatchSummaryStage()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "PointsMayBeCaptured", + "annotation": "bool PointsMayBeCaptured()", + "contents": "PointsMayBeCaptured()$0", + "kind": "keyword", + "details": "Are points able to be captured?" + }, + { + "trigger": "PostScriptExecute", + "annotation": "void PostScriptExecute()", + "contents": "PostScriptExecute()$0", + "kind": "keyword", + "details": "Begin searching for all non-native functions with matching prefixes, then push them into the chain array." + }, + { + "trigger": "PostSpawn", + "annotation": "void PostSpawn(table entities)", + "contents": "PostSpawn(${1:table entities})$0", + "kind": "keyword", + "details": "Called after the entities are spawned. A table with the handles of the spawned entities indexed by name is passed to the function. Could use this to connect outputs or do whatever needs to be done after the entity was created." + }, + { + "trigger": "PreSpawnInstance", + "annotation": "table PreSpawnInstance(string entityClass, string entityName)", + "contents": "PreSpawnInstance(${1:string entityClass}, ${2:string entityName})$0", + "kind": "keyword", + "details": "If this is defined, it will be called right before the entity is created, and any keyvalues returned will be assigned to the entity." + }, + { + "trigger": "Precache", + "annotation": "void Precache()", + "contents": "Precache()$0", + "kind": "keyword", + "details": "Called after the script executes. Can be used to call precache functions for models and sounds on map load." + }, + { + "trigger": "PrecacheEntityFromTable", + "annotation": "bool PrecacheEntityFromTable(table keyvalues)", + "contents": "PrecacheEntityFromTable(${1:table keyvalues})$0", + "kind": "keyword", + "details": "Precache an entity from KeyValues in a table. Internally this function creates the entity, fire DispatchSpawn and removes it instantly." + }, + { + "trigger": "PrecacheModel", + "annotation": "int PrecacheModel(string filename)", + "contents": "PrecacheModel(${1:string filename})$0", + "kind": "keyword", + "details": "Precache a model and return index of the model." + }, + { + "trigger": "PrecacheScriptSound", + "annotation": "bool PrecacheScriptSound(string soundName)", + "contents": "PrecacheScriptSound(${1:string soundName})$0", + "kind": "keyword", + "details": "Preache a soundscript." + }, + { + "trigger": "PrecacheSound", + "annotation": "void PrecacheSound(string soundName)", + "contents": "PrecacheSound(${1:string soundName})$0", + "kind": "keyword", + "details": "Precache a raw sound." + }, + { + "trigger": "PrecacheSoundScript", + "annotation": "void PrecacheSoundScript(string soundscript)", + "contents": "PrecacheSoundScript(${1:string soundscript})$0", + "kind": "keyword", + "details": "Precache a sound script. Same as PrecacheScriptSound." + }, + { + "trigger": "PressAltFireButton", + "annotation": "void PressAltFireButton(float duration)", + "contents": "PressAltFireButton(${1:float duration})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "PressFireButton", + "annotation": "void PressFireButton(float duration)", + "contents": "PressFireButton(${1:float duration})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "PressSpecialFireButton", + "annotation": "void PressSpecialFireButton(float duration)", + "contents": "PressSpecialFireButton(${1:float duration})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "PrimaryAttack", + "annotation": "void PrimaryAttack()", + "contents": "PrimaryAttack()$0", + "kind": "keyword", + "details": "Force a primary attack" + }, + { + "trigger": "PrintHelp", + "annotation": "PrintHelp()", + "contents": "PrintHelp()$0", + "kind": "keyword", + "details": "Equivalent to running script_help command." + }, + { + "trigger": "QAngle", + "annotation": "QAngle(float pitch = 0, float yaw = 0, float roll = 0)", + "contents": "QAngle(${1:float pitch = 0}, ${2:float yaw = 0}, ${3:float roll = 0})$0", + "kind": "keyword", + "details": "Creates a new QAngle." + }, + { + "trigger": "QUOTA_MANANGED", + "annotation": "QUOTA_MANANGED", + "contents": "QUOTA_MANANGED$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "Quaternion", + "annotation": "Quaternion(float x, float y, float z, float w)", + "contents": "Quaternion(${1:float x}, ${2:float y}, ${3:float z}, ${4:float w})$0", + "kind": "keyword", + "details": "Creates a new quaternion of the form w + xi + yj + zk." + }, + { + "trigger": "RAND_MAX", + "annotation": "RAND_MAX", + "contents": "RAND_MAX$0", + "kind": "keyword", + "details": "32767" + }, + { + "trigger": "RECIPIENT_FILTER_DEFAULT", + "annotation": "RECIPIENT_FILTER_DEFAULT", + "contents": "RECIPIENT_FILTER_DEFAULT$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "RECIPIENT_FILTER_GLOBAL", + "annotation": "RECIPIENT_FILTER_GLOBAL", + "contents": "RECIPIENT_FILTER_GLOBAL$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "RECIPIENT_FILTER_PAS", + "annotation": "RECIPIENT_FILTER_PAS", + "contents": "RECIPIENT_FILTER_PAS$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "RECIPIENT_FILTER_PAS_ATTENUATION", + "annotation": "RECIPIENT_FILTER_PAS_ATTENUATION", + "contents": "RECIPIENT_FILTER_PAS_ATTENUATION$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "RECIPIENT_FILTER_PVS", + "annotation": "RECIPIENT_FILTER_PVS", + "contents": "RECIPIENT_FILTER_PVS$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "RECIPIENT_FILTER_SINGLE_PLAYER", + "annotation": "RECIPIENT_FILTER_SINGLE_PLAYER", + "contents": "RECIPIENT_FILTER_SINGLE_PLAYER$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "RECIPIENT_FILTER_TEAM", + "annotation": "RECIPIENT_FILTER_TEAM", + "contents": "RECIPIENT_FILTER_TEAM$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "REMOVE_ON_DEATH", + "annotation": "REMOVE_ON_DEATH", + "contents": "REMOVE_ON_DEATH$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "RETAIN_BUILDINGS", + "annotation": "RETAIN_BUILDINGS", + "contents": "RETAIN_BUILDINGS$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "RIGHT", + "annotation": "RIGHT", + "contents": "RIGHT$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "RandomFloat", + "annotation": "float RandomFloat(float min, float max)", + "contents": "RandomFloat(${1:float min}, ${2:float max})$0", + "kind": "keyword", + "details": "Generate a random floating-point number within a range, inclusive." + }, + { + "trigger": "RandomInt", + "annotation": "int RandomInt(int min, int max)", + "contents": "RandomInt(${1:int min}, ${2:int max})$0", + "kind": "keyword", + "details": "Generate a random integer within a range, inclusive." + }, + { + "trigger": "ReapplyProvision", + "annotation": "void ReapplyProvision()", + "contents": "ReapplyProvision()$0", + "kind": "keyword", + "details": "Relinks attributes to provisioners, e.g. calling this on a weapon will add it's attributes to the player" + }, + { + "trigger": "Regenerate", + "annotation": "void Regenerate(bool refill_health_ammo)", + "contents": "Regenerate(${1:bool refill_health_ammo})$0", + "kind": "keyword", + "details": "Resupplies a player. If regen health/ammo is set, clears negative conds, gives back player health/ammo" + }, + { + "trigger": "RegisterAvoidanceObstacle", + "annotation": "void RegisterAvoidanceObstacle(handle entity)", + "contents": "RegisterAvoidanceObstacle(${1:handle entity})$0", + "kind": "keyword", + "details": "registers avoidance obstacle" + }, + { + "trigger": "RegisterFunctionDocumentation", + "annotation": "void RegisterFunctionDocumentation(unknown func, string name, string signature, string description)", + "contents": "RegisterFunctionDocumentation(${1:unknown func}, ${2:string name}, ${3:string signature}, ${4:string description})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RegisterScriptGameEventListener", + "annotation": "void RegisterScriptGameEventListener(string eventName)", + "contents": "RegisterScriptGameEventListener(${1:string eventName})$0", + "kind": "keyword", + "details": "Register as a listener for a game event from script. It's what __CollectGameEventCallbacks() uses to register event callbacks to the C++ code." + }, + { + "trigger": "RegisterScriptHookListener", + "annotation": "void RegisterScriptHookListener(string name)", + "contents": "RegisterScriptHookListener(${1:string name})$0", + "kind": "keyword", + "details": "Register as a listener for a script hook from script." + }, + { + "trigger": "ReleaseKeyValues", + "annotation": "void ReleaseKeyValues()", + "contents": "ReleaseKeyValues()$0", + "kind": "keyword", + "details": "Releases the contents of the instance." + }, + { + "trigger": "RemoveAllItems", + "annotation": "void RemoveAllItems(bool unused)", + "contents": "RemoveAllItems(${1:bool unused})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveAllObjects", + "annotation": "void RemoveAllObjects(bool explode)", + "contents": "RemoveAllObjects(${1:bool explode})$0", + "kind": "keyword", + "details": "Remove all player objects. Eg. dispensers/sentries." + }, + { + "trigger": "RemoveAttribute", + "annotation": "void RemoveAttribute(string name)", + "contents": "RemoveAttribute(${1:string name})$0", + "kind": "keyword", + "details": "Remove an attribute to the entity" + }, + { + "trigger": "RemoveAttributes", + "annotation": "void RemoveAttributes(int bits)", + "contents": "RemoveAttributes(${1:int bits})$0", + "kind": "keyword", + "details": "Removes area attribute bits." + }, + { + "trigger": "RemoveBotAttribute", + "annotation": "void RemoveBotAttribute(int attribute)", + "contents": "RemoveBotAttribute(${1:int attribute})$0", + "kind": "keyword", + "details": "Removes attribute flags on this TFBot" + }, + { + "trigger": "RemoveBotTag", + "annotation": "void RemoveBotTag(string tag)", + "contents": "RemoveBotTag(${1:string tag})$0", + "kind": "keyword", + "details": "Removes a bot tag" + }, + { + "trigger": "RemoveBroadcastTeamTarget", + "annotation": "void RemoveBroadcastTeamTarget(int index)", + "contents": "RemoveBroadcastTeamTarget(${1:int index})$0", + "kind": "keyword", + "details": "Removes a team (by index) from the broadcast list" + }, + { + "trigger": "RemoveCond", + "annotation": "void RemoveCond(ETFCond cond)", + "contents": "RemoveCond(${1:ETFCond cond})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveCondEx", + "annotation": "void RemoveCondEx(ETFCond cond, bool ignoreDuration)", + "contents": "RemoveCondEx(${1:ETFCond cond}, ${2:bool ignoreDuration})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveCurrency", + "annotation": "void RemoveCurrency(int amount)", + "contents": "RemoveCurrency(${1:int amount})$0", + "kind": "keyword", + "details": "Take away money from a player for reasons such as ie. spending." + }, + { + "trigger": "RemoveCustomAttribute", + "annotation": "void RemoveCustomAttribute(string name)", + "contents": "RemoveCustomAttribute(${1:string name})$0", + "kind": "keyword", + "details": "Remove a custom attribute to the player" + }, + { + "trigger": "RemoveDelegation", + "annotation": "RemoveDelegation()", + "contents": "RemoveDelegation()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveDisguise", + "annotation": "void RemoveDisguise()", + "contents": "RemoveDisguise()$0", + "kind": "keyword", + "details": "Undisguise a spy." + }, + { + "trigger": "RemoveEFlags", + "annotation": "void RemoveEFlags(int eflags)", + "contents": "RemoveEFlags(${1:int eflags})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveFlag", + "annotation": "void RemoveFlag(int flags)", + "contents": "RemoveFlag(${1:int flags})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveHudHideFlags", + "annotation": "void RemoveHudHideFlags(int flags)", + "contents": "RemoveHudHideFlags(${1:int flags})$0", + "kind": "keyword", + "details": "Unhides a hud element based on Constants.FHideHUD" + }, + { + "trigger": "RemoveInvisibility", + "annotation": "void RemoveInvisibility()", + "contents": "RemoveInvisibility()$0", + "kind": "keyword", + "details": "Un-invisible a spy." + }, + { + "trigger": "RemoveOrthogonalConnections", + "annotation": "void RemoveOrthogonalConnections(ENavDirType dir)", + "contents": "RemoveOrthogonalConnections(${1:ENavDirType dir})$0", + "kind": "keyword", + "details": "Removes all connections in directions to left and right of specified direction." + }, + { + "trigger": "RemoveOutput", + "annotation": "void RemoveOutput(handle entity, string outputName, string targetName, string inputName, string parameter)", + "contents": "RemoveOutput(${1:handle entity}, ${2:string outputName}, ${3:string targetName}, ${4:string inputName}, ${5:string parameter})$0", + "kind": "keyword", + "details": "Removes an output from the entity." + }, + { + "trigger": "RemoveSolidFlags", + "annotation": "void RemoveSolidFlags(int solidflags)", + "contents": "RemoveSolidFlags(${1:int solidflags})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveTeleportEffect", + "annotation": "void RemoveTeleportEffect()", + "contents": "RemoveTeleportEffect()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RemoveWeaponRestriction", + "annotation": "void RemoveWeaponRestriction(int flags)", + "contents": "RemoveWeaponRestriction(${1:int flags})$0", + "kind": "keyword", + "details": "Removes weapon restriction flags" + }, + { + "trigger": "Reset", + "annotation": "Reset()", + "contents": "Reset()$0", + "kind": "keyword", + "details": "Resets motion, stuck state, etc" + }, + { + "trigger": "ResetScores", + "annotation": "void ResetScores()", + "contents": "ResetScores()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ResetSequence", + "annotation": "void ResetSequence(int ID)", + "contents": "ResetSequence(${1:int ID})$0", + "kind": "keyword", + "details": "Reset a sequence by sequence ID. If the ID is different than the current sequence, switch to the new sequence." + }, + { + "trigger": "Resolve", + "annotation": "Resolve()", + "contents": "Resolve()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RetrieveNativeSignature", + "annotation": "string RetrieveNativeSignature(function func)", + "contents": "RetrieveNativeSignature(${1:function func})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Roll", + "annotation": "float Roll()", + "contents": "Roll()$0", + "kind": "keyword", + "details": "Returns the roll angle in degrees." + }, + { + "trigger": "RollRareSpell", + "annotation": "void RollRareSpell()", + "contents": "RollRareSpell()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "RotateOrientation", + "annotation": "QAngle RotateOrientation(QAngle, QAngle)", + "contents": "RotateOrientation(${1:QAngle}, ${2:QAngle})$0", + "kind": "keyword", + "details": "Rotate a QAngle by another QAngle." + }, + { + "trigger": "RotatePosition", + "annotation": "Vector RotatePosition(Vector origin, QAngle rotation, Vector input)", + "contents": "RotatePosition(${1:Vector origin}, ${2:QAngle rotation}, ${3:Vector input})$0", + "kind": "keyword", + "details": "Rotate the input Vector around an origin." + }, + { + "trigger": "Run", + "annotation": "void Run()", + "contents": "Run()$0", + "kind": "keyword", + "details": "Set desired movement speed to running" + }, + { + "trigger": "SOLID_BBOX", + "annotation": "SOLID_BBOX", + "contents": "SOLID_BBOX$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "SOLID_BSP", + "annotation": "SOLID_BSP", + "contents": "SOLID_BSP$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "SOLID_CUSTOM", + "annotation": "SOLID_CUSTOM", + "contents": "SOLID_CUSTOM$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "SOLID_LAST", + "annotation": "SOLID_LAST", + "contents": "SOLID_LAST$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "SOLID_NONE", + "annotation": "SOLID_NONE", + "contents": "SOLID_NONE$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "SOLID_OBB", + "annotation": "SOLID_OBB", + "contents": "SOLID_OBB$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "SOLID_OBB_YAW", + "annotation": "SOLID_OBB_YAW", + "contents": "SOLID_OBB_YAW$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "SOLID_VPHYSICS", + "annotation": "SOLID_VPHYSICS", + "contents": "SOLID_VPHYSICS$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "SOUTH", + "annotation": "SOUTH", + "contents": "SOUTH$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "SOUTH_EAST", + "annotation": "SOUTH_EAST", + "contents": "SOUTH_EAST$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "SOUTH_WEST", + "annotation": "SOUTH_WEST", + "contents": "SOUTH_WEST$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "SPAWN_WITH_FULL_CHARGE", + "annotation": "SPAWN_WITH_FULL_CHARGE", + "contents": "SPAWN_WITH_FULL_CHARGE$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "STOPWATCH_CAPTURE_TIME_NOT_SET", + "annotation": "STOPWATCH_CAPTURE_TIME_NOT_SET", + "contents": "STOPWATCH_CAPTURE_TIME_NOT_SET$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "STOPWATCH_OVERTIME", + "annotation": "STOPWATCH_OVERTIME", + "contents": "STOPWATCH_OVERTIME$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "STOPWATCH_RUNNING", + "annotation": "STOPWATCH_RUNNING", + "contents": "STOPWATCH_RUNNING$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "SUPPRESS_FIRE", + "annotation": "SUPPRESS_FIRE", + "contents": "SUPPRESS_FIRE$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "SURF_BUMPLIGHT", + "annotation": "SURF_BUMPLIGHT", + "contents": "SURF_BUMPLIGHT$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "SURF_HINT", + "annotation": "SURF_HINT", + "contents": "SURF_HINT$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "SURF_HITBOX", + "annotation": "SURF_HITBOX", + "contents": "SURF_HITBOX$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "SURF_LIGHT", + "annotation": "SURF_LIGHT", + "contents": "SURF_LIGHT$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "SURF_NOCHOP", + "annotation": "SURF_NOCHOP", + "contents": "SURF_NOCHOP$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "SURF_NODECALS", + "annotation": "SURF_NODECALS", + "contents": "SURF_NODECALS$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "SURF_NODRAW", + "annotation": "SURF_NODRAW", + "contents": "SURF_NODRAW$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "SURF_NOLIGHT", + "annotation": "SURF_NOLIGHT", + "contents": "SURF_NOLIGHT$0", + "kind": "keyword", + "details": "1024" + }, + { + "trigger": "SURF_NOPORTAL", + "annotation": "SURF_NOPORTAL", + "contents": "SURF_NOPORTAL$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "SURF_NOSHADOWS", + "annotation": "SURF_NOSHADOWS", + "contents": "SURF_NOSHADOWS$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "SURF_SKIP", + "annotation": "SURF_SKIP", + "contents": "SURF_SKIP$0", + "kind": "keyword", + "details": "512" + }, + { + "trigger": "SURF_SKY", + "annotation": "SURF_SKY", + "contents": "SURF_SKY$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "SURF_SKY2D", + "annotation": "SURF_SKY2D", + "contents": "SURF_SKY2D$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "SURF_TRANS", + "annotation": "SURF_TRANS", + "contents": "SURF_TRANS$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "SURF_TRIGGER", + "annotation": "SURF_TRIGGER", + "contents": "SURF_TRIGGER$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "SURF_WARP", + "annotation": "SURF_WARP", + "contents": "SURF_WARP$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "Say", + "annotation": "void Say(CBasePlayer player, string message, bool teamOnly)", + "contents": "Say(${1:CBasePlayer player}, ${2:string message}, ${3:bool teamOnly})$0", + "kind": "keyword", + "details": "Calling this will have the specified player send the message to chat, either to teamOnly (true) or to everyone." + }, + { + "trigger": "Scale", + "annotation": "Vector Scale(float factor)", + "contents": "Scale(${1:float factor})$0", + "kind": "keyword", + "details": "Scales the vector magnitude." + }, + { + "trigger": "ScreenFade", + "annotation": "void ScreenFade(handle player, int red, int green, int blue, int alpha, float fadeTime, float fadeHold, int flags)", + "contents": "ScreenFade(${1:handle player}, ${2:int red}, ${3:int green}, ${4:int blue}, ${5:int alpha}, ${6:float fadeTime}, ${7:float fadeHold}, ${8:int flags})$0", + "kind": "keyword", + "details": "Start a customisable screenfade. If no player is specified, the fade will apply to all players." + }, + { + "trigger": "ScreenShake", + "annotation": "void ScreenShake(Vector vecCenter, float flAmplitude, float flFrequency, float flDuration, float flRadius, int eCommand, bool bAirShake)", + "contents": "ScreenShake(${1:Vector vecCenter}, ${2:float flAmplitude}, ${3:float flFrequency}, ${4:float flDuration}, ${5:float flRadius}, ${6:int eCommand}, ${7:bool bAirShake})$0", + "kind": "keyword", + "details": "Start a customisable screenshake; eCommand( SHAKE_START = 0, SHAKE_STOP = 1 )." + }, + { + "trigger": "ScriptDebugAddTextFilter", + "annotation": "void ScriptDebugAddTextFilter()", + "contents": "ScriptDebugAddTextFilter()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugAddTrace", + "annotation": "void ScriptDebugAddTrace()", + "contents": "ScriptDebugAddTrace()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugAddWatch", + "annotation": "void ScriptDebugAddWatch()", + "contents": "ScriptDebugAddWatch()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugAddWatchPattern", + "annotation": "void ScriptDebugAddWatchPattern()", + "contents": "ScriptDebugAddWatchPattern()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugAddWatches", + "annotation": "void ScriptDebugAddWatches()", + "contents": "ScriptDebugAddWatches()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugClearTraces", + "annotation": "void ScriptDebugClearTraces()", + "contents": "ScriptDebugClearTraces()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugClearWatches", + "annotation": "void ScriptDebugClearWatches()", + "contents": "ScriptDebugClearWatches()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugDefaultWatchColor", + "annotation": "void ScriptDebugDefaultWatchColor()", + "contents": "ScriptDebugDefaultWatchColor()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugDraw", + "annotation": "void ScriptDebugDraw()", + "contents": "ScriptDebugDraw()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugDrawTextEnabled", + "annotation": "ScriptDebugDrawTextEnabled", + "contents": "ScriptDebugDrawTextEnabled$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugDrawWatches", + "annotation": "void ScriptDebugDrawWatches()", + "contents": "ScriptDebugDrawWatches()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugDrawWatchesEnabled", + "annotation": "ScriptDebugDrawWatchesEnabled", + "contents": "ScriptDebugDrawWatchesEnabled$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugDumpKeys", + "annotation": "void ScriptDebugDumpKeys()", + "contents": "ScriptDebugDumpKeys()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugHook", + "annotation": "void ScriptDebugHook()", + "contents": "ScriptDebugHook()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugInDebugDraw", + "annotation": "ScriptDebugInDebugDraw", + "contents": "ScriptDebugInDebugDraw$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugIterateKeys", + "annotation": "void ScriptDebugIterateKeys()", + "contents": "ScriptDebugIterateKeys()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugIterateKeysRecursive", + "annotation": "void ScriptDebugIterateKeysRecursive()", + "contents": "ScriptDebugIterateKeysRecursive()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugRemoveTextFilter", + "annotation": "void ScriptDebugRemoveTextFilter()", + "contents": "ScriptDebugRemoveTextFilter()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugRemoveTrace", + "annotation": "void ScriptDebugRemoveTrace()", + "contents": "ScriptDebugRemoveTrace()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugRemoveWatch", + "annotation": "void ScriptDebugRemoveWatch()", + "contents": "ScriptDebugRemoveWatch()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugRemoveWatchPattern", + "annotation": "void ScriptDebugRemoveWatchPattern()", + "contents": "ScriptDebugRemoveWatchPattern()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugRemoveWatches", + "annotation": "void ScriptDebugRemoveWatches()", + "contents": "ScriptDebugRemoveWatches()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugText", + "annotation": "void ScriptDebugText()", + "contents": "ScriptDebugText()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTextDraw", + "annotation": "void ScriptDebugTextDraw()", + "contents": "ScriptDebugTextDraw()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTextFilters", + "annotation": "ScriptDebugTextFilters", + "contents": "ScriptDebugTextFilters$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTextIndent", + "annotation": "ScriptDebugTextIndent", + "contents": "ScriptDebugTextIndent$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTextPrint", + "annotation": "void ScriptDebugTextPrint()", + "contents": "ScriptDebugTextPrint()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTextTrace", + "annotation": "void ScriptDebugTextTrace()", + "contents": "ScriptDebugTextTrace()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTraceAll", + "annotation": "void ScriptDebugTraceAll()", + "contents": "ScriptDebugTraceAll()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTraceAllOn", + "annotation": "ScriptDebugTraceAllOn", + "contents": "ScriptDebugTraceAllOn$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugTraces", + "annotation": "ScriptDebugTraces", + "contents": "ScriptDebugTraces$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptDebugWatches", + "annotation": "void ScriptDebugWatches()", + "contents": "ScriptDebugWatches()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "ScriptEventCallbacks", + "annotation": "ScriptEventCallbacks", + "contents": "ScriptEventCallbacks$0", + "kind": "keyword", + "details": "Table of registered script event callbacks." + }, + { + "trigger": "ScriptHookCallbacks", + "annotation": "ScriptHookCallbacks", + "contents": "ScriptHookCallbacks$0", + "kind": "keyword", + "details": "Table of registered script hook callbacks." + }, + { + "trigger": "ScriptHooksEnabled", + "annotation": "bool ScriptHooksEnabled()", + "contents": "ScriptHooksEnabled()$0", + "kind": "keyword", + "details": "Returns whether script hooks are currently enabled." + }, + { + "trigger": "SecondaryAttack", + "annotation": "void SecondaryAttack()", + "contents": "SecondaryAttack()$0", + "kind": "keyword", + "details": "Force a secondary attack" + }, + { + "trigger": "SendGlobalGameEvent", + "annotation": "bool SendGlobalGameEvent(string event_name, handle params)", + "contents": "SendGlobalGameEvent(${1:string event_name}, ${2:handle params})$0", + "kind": "keyword", + "details": "Sends a real game event to everything. Parameters are passed in a squirrel table." + }, + { + "trigger": "SendToConsole", + "annotation": "void SendToConsole(string command)", + "contents": "SendToConsole(${1:string command})$0", + "kind": "keyword", + "details": "Issues a command to the local client, as if they typed in the command in their console. Does nothing on dedicated servers." + }, + { + "trigger": "SendToConsoleServer", + "annotation": "void SendToConsoleServer(string command)", + "contents": "SendToConsoleServer(${1:string command})$0", + "kind": "keyword", + "details": "Copy of SendToServerConsole with another name for compat." + }, + { + "trigger": "SendToServerConsole", + "annotation": "void SendToServerConsole(string command)", + "contents": "SendToServerConsole(${1:string command})$0", + "kind": "keyword", + "details": "Issues a command to the server, as if typed in the console." + }, + { + "trigger": "SetAbsAngles", + "annotation": "void SetAbsAngles(QAngle angles)", + "contents": "SetAbsAngles(${1:QAngle angles})$0", + "kind": "keyword", + "details": "Set entity pitch, yaw, roll as QAngles" + }, + { + "trigger": "SetAbsOrigin", + "annotation": "void SetAbsOrigin(Vector origin)", + "contents": "SetAbsOrigin(${1:Vector origin})$0", + "kind": "keyword", + "details": "Sets the absolute origin of the entity." + }, + { + "trigger": "SetAbsVelocity", + "annotation": "void SetAbsVelocity(Vector)", + "contents": "SetAbsVelocity(${1:Vector})$0", + "kind": "keyword", + "details": "Sets the current absolute velocity velocity of the entity" + }, + { + "trigger": "SetAngles", + "annotation": "void SetAngles(float pitch, float yaw, float roll)", + "contents": "SetAngles(${1:float pitch}, ${2:float yaw}, ${3:float roll})$0", + "kind": "keyword", + "details": "Set entity angles." + }, + { + "trigger": "SetAngularVelocity", + "annotation": "void SetAngularVelocity(float pitch, float yaw, float roll)", + "contents": "SetAngularVelocity(${1:float pitch}, ${2:float yaw}, ${3:float roll})$0", + "kind": "keyword", + "details": "Set the local angular velocity." + }, + { + "trigger": "SetAttentionFocus", + "annotation": "void SetAttentionFocus(handle entity)", + "contents": "SetAttentionFocus(${1:handle entity})$0", + "kind": "keyword", + "details": "Sets our current attention focus to this entity" + }, + { + "trigger": "SetAttributeTF", + "annotation": "void SetAttributeTF(int bits)", + "contents": "SetAttributeTF(${1:int bits})$0", + "kind": "keyword", + "details": "Set TF-specific area attributes." + }, + { + "trigger": "SetAttributes", + "annotation": "void SetAttributes(int bits)", + "contents": "SetAttributes(${1:int bits})$0", + "kind": "keyword", + "details": "Set area attribute bits." + }, + { + "trigger": "SetAutoJump", + "annotation": "void SetAutoJump(float minTime, float maxTime)", + "contents": "SetAutoJump(${1:float minTime}, ${2:float maxTime})$0", + "kind": "keyword", + "details": "Sets if the bot should automatically jump" + }, + { + "trigger": "SetBodygroup", + "annotation": "void SetBodygroup(int ID, int value)", + "contents": "SetBodygroup(${1:int ID}, ${2:int value})$0", + "kind": "keyword", + "details": "Set the bodygroup by ID." + }, + { + "trigger": "SetClip1", + "annotation": "void SetClip1(int)", + "contents": "SetClip1(${1:int})$0", + "kind": "keyword", + "details": "Set current ammo in clip1" + }, + { + "trigger": "SetClip2", + "annotation": "void SetClip2(int)", + "contents": "SetClip2(${1:int})$0", + "kind": "keyword", + "details": "Set current ammo in clip2" + }, + { + "trigger": "SetCollisionGroup", + "annotation": "void SetCollisionGroup(int collision_group)", + "contents": "SetCollisionGroup(${1:int collision_group})$0", + "kind": "keyword", + "details": "Set the current collision group of the entity. See Constants.ECollisionGroup" + }, + { + "trigger": "SetCondDuration", + "annotation": "void SetCondDuration(ETFCond cond, float duration)", + "contents": "SetCondDuration(${1:ETFCond cond}, ${2:float duration})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCurrency", + "annotation": "void SetCurrency(int amount)", + "contents": "SetCurrency(${1:int amount})$0", + "kind": "keyword", + "details": "Set player's cash for game modes with upgrades, ie. MvM" + }, + { + "trigger": "SetCurrentTauntMoveSpeed", + "annotation": "void SetCurrentTauntMoveSpeed(float speed)", + "contents": "SetCurrentTauntMoveSpeed(${1:float speed})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCustomModel", + "annotation": "void SetCustomModel(string model_name)", + "contents": "SetCustomModel(${1:string model_name})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCustomModelOffset", + "annotation": "void SetCustomModelOffset(Vector offset)", + "contents": "SetCustomModelOffset(${1:Vector offset})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCustomModelRotates", + "annotation": "void SetCustomModelRotates(bool toggle)", + "contents": "SetCustomModelRotates(${1:bool toggle})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCustomModelRotation", + "annotation": "void SetCustomModelRotation(QAngle angles)", + "contents": "SetCustomModelRotation(${1:QAngle angles})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCustomModelVisibleToSelf", + "annotation": "void SetCustomModelVisibleToSelf(bool toggle)", + "contents": "SetCustomModelVisibleToSelf(${1:bool toggle})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCustomModelWithClassAnimations", + "annotation": "void SetCustomModelWithClassAnimations(string model_name)", + "contents": "SetCustomModelWithClassAnimations(${1:string model_name})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetCustomViewModel", + "annotation": "void SetCustomViewModel(string model_name)", + "contents": "SetCustomViewModel(${1:string model_name})$0", + "kind": "keyword", + "details": "Sets a custom view model for this weapon by model name" + }, + { + "trigger": "SetCustomViewModelModelIndex", + "annotation": "void SetCustomViewModelModelIndex(int model_index)", + "contents": "SetCustomViewModelModelIndex(${1:int model_index})$0", + "kind": "keyword", + "details": "Sets a custom view model for this weapon by modelindex" + }, + { + "trigger": "SetCycle", + "annotation": "void SetCycle(float cycle)", + "contents": "SetCycle(${1:float cycle})$0", + "kind": "keyword", + "details": "Sets the model's current animation cycle from 0 to 1." + }, + { + "trigger": "SetDesiredSpeed", + "annotation": "void SetDesiredSpeed(float)", + "contents": "SetDesiredSpeed(${1:float})$0", + "kind": "keyword", + "details": "Set desired speed for locomotor movement" + }, + { + "trigger": "SetDifficulty", + "annotation": "void SetDifficulty(int difficulty)", + "contents": "SetDifficulty(${1:int difficulty})$0", + "kind": "keyword", + "details": "Sets the bots difficulty level" + }, + { + "trigger": "SetDisguiseAmmoCount", + "annotation": "void SetDisguiseAmmoCount(int count)", + "contents": "SetDisguiseAmmoCount(${1:int count})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetDrawEnabled", + "annotation": "void SetDrawEnabled(bool toggle)", + "contents": "SetDrawEnabled(${1:bool toggle})$0", + "kind": "keyword", + "details": "Enables drawing if you pass true, disables drawing if you pass false." + }, + { + "trigger": "SetEFlags", + "annotation": "void SetEFlags(int eflags)", + "contents": "SetEFlags(${1:int eflags})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetFakeClientConVarValue", + "annotation": "void SetFakeClientConVarValue(handle bot, string cvar, string value)", + "contents": "SetFakeClientConVarValue(${1:handle bot}, ${2:string cvar}, ${3:string value})$0", + "kind": "keyword", + "details": "Sets a USERINFO client ConVar for a fakeclient." + }, + { + "trigger": "SetForceLocalDraw", + "annotation": "void SetForceLocalDraw(bool forceDraw)", + "contents": "SetForceLocalDraw(${1:bool forceDraw})$0", + "kind": "keyword", + "details": "Forces the player to be drawn as if they were in thirdperson." + }, + { + "trigger": "SetForcedTauntCam", + "annotation": "void SetForcedTauntCam(int toggle)", + "contents": "SetForcedTauntCam(${1:int toggle})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetForwardVector", + "annotation": "void SetForwardVector(Vector forward)", + "contents": "SetForwardVector(${1:Vector forward})$0", + "kind": "keyword", + "details": "Set the orientation of the entity to have this forward vector" + }, + { + "trigger": "SetFriction", + "annotation": "void SetFriction(float friction)", + "contents": "SetFriction(${1:float friction})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetGrapplingHookTarget", + "annotation": "void SetGrapplingHookTarget(handle entity, bool bleed)", + "contents": "SetGrapplingHookTarget(${1:handle entity}, ${2:bool bleed})$0", + "kind": "keyword", + "details": "Set the player's target grapple entity" + }, + { + "trigger": "SetGravity", + "annotation": "void SetGravity(float gravity)", + "contents": "SetGravity(${1:float gravity})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetGravityMultiplier", + "annotation": "void SetGravityMultiplier(float multiplier)", + "contents": "SetGravityMultiplier(${1:float multiplier})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetGroupSpawnTables", + "annotation": "void SetGroupSpawnTables(table)", + "contents": "SetGroupSpawnTables(${1:table})$0", + "kind": "keyword", + "details": "Cache the group spawn tables" + }, + { + "trigger": "SetHealth", + "annotation": "void SetHealth(int health)", + "contents": "SetHealth(${1:int health})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetHomeArea", + "annotation": "void SetHomeArea(handle area)", + "contents": "SetHomeArea(${1:handle area})$0", + "kind": "keyword", + "details": "Set the home nav area of the bot, may be null." + }, + { + "trigger": "SetHudHideFlags", + "annotation": "void SetHudHideFlags(int flags)", + "contents": "SetHudHideFlags(${1:int flags})$0", + "kind": "keyword", + "details": "Force hud hide flags to a value based on Constants.FHideHUD" + }, + { + "trigger": "SetIsMiniBoss", + "annotation": "void SetIsMiniBoss(bool toggle)", + "contents": "SetIsMiniBoss(${1:bool toggle})$0", + "kind": "keyword", + "details": "Make this player an MvM mini-boss." + }, + { + "trigger": "SetLocalAngles", + "annotation": "void SetLocalAngles(QAngle angles)", + "contents": "SetLocalAngles(${1:QAngle angles})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetLocalOrigin", + "annotation": "void SetLocalOrigin(Vector origin)", + "contents": "SetLocalOrigin(${1:Vector origin})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetMannVsMachineAlarmStatus", + "annotation": "void SetMannVsMachineAlarmStatus(bool status)", + "contents": "SetMannVsMachineAlarmStatus(${1:bool status})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetMaxHealth", + "annotation": "void SetMaxHealth(int health)", + "contents": "SetMaxHealth(${1:int health})$0", + "kind": "keyword", + "details": "Sets the maximum health this entity can have. Does not update the current health, so SetHealth should be used afterwards." + }, + { + "trigger": "SetMaxVisionRangeOverride", + "annotation": "void SetMaxVisionRangeOverride(float range)", + "contents": "SetMaxVisionRangeOverride(${1:float range})$0", + "kind": "keyword", + "details": "Sets max vision range override for the bot" + }, + { + "trigger": "SetModel", + "annotation": "void SetModel(string model_name)", + "contents": "SetModel(${1:string model_name})$0", + "kind": "keyword", + "details": "Set a model for this entity" + }, + { + "trigger": "SetModelScale", + "annotation": "void SetModelScale(float scale, float change_duration)", + "contents": "SetModelScale(${1:float scale}, ${2:float change_duration})$0", + "kind": "keyword", + "details": "Changes a model's scale over time. Set the change duration to 0.0 to change the scale instantly." + }, + { + "trigger": "SetModelSimple", + "annotation": "void SetModelSimple(string model_name)", + "contents": "SetModelSimple(${1:string model_name})$0", + "kind": "keyword", + "details": "Set a model for this entity. Matches easier behaviour of the SetModel input, automatically precaches, maintains sequence/cycle if possible." + }, + { + "trigger": "SetMoveType", + "annotation": "void SetMoveType(EMoveType movetype, EMoveCollide movecollide)", + "contents": "SetMoveType(${1:EMoveType movetype}, ${2:EMoveCollide movecollide})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetNextChangeClassTime", + "annotation": "void SetNextChangeClassTime(float time)", + "contents": "SetNextChangeClassTime(${1:float time})$0", + "kind": "keyword", + "details": "Set next change class time." + }, + { + "trigger": "SetNextChangeTeamTime", + "annotation": "void SetNextChangeTeamTime(float time)", + "contents": "SetNextChangeTeamTime(${1:float time})$0", + "kind": "keyword", + "details": "Set next change team time." + }, + { + "trigger": "SetNextRegenTime", + "annotation": "void SetNextRegenTime(float time)", + "contents": "SetNextRegenTime(${1:float time})$0", + "kind": "keyword", + "details": "Set next available resupply time." + }, + { + "trigger": "SetOrigin", + "annotation": "void SetOrigin(Vector origin)", + "contents": "SetOrigin(${1:Vector origin})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetOvertimeAllowedForCTF", + "annotation": "void SetOvertimeAllowedForCTF(bool state)", + "contents": "SetOvertimeAllowedForCTF(${1:bool state})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetOwner", + "annotation": "void SetOwner(handle entity)", + "contents": "SetOwner(${1:handle entity})$0", + "kind": "keyword", + "details": "Sets this entity's owner" + }, + { + "trigger": "SetPhysAngularVelocity", + "annotation": "void SetPhysAngularVelocity(Vector angular_velocity)", + "contents": "SetPhysAngularVelocity(${1:Vector angular_velocity})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetPhysVelocity", + "annotation": "void SetPhysVelocity(Vector velocity)", + "contents": "SetPhysVelocity(${1:Vector velocity})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetPitchYawRoll", + "annotation": "void SetPitchYawRoll(float pitch, float yaw, float roll)", + "contents": "SetPitchYawRoll(${1:float pitch}, ${2:float yaw}, ${3:float roll})$0", + "kind": "keyword", + "details": "Recomputes the quaternion from the supplied Euler angles." + }, + { + "trigger": "SetPlaceName", + "annotation": "void SetPlaceName(string name)", + "contents": "SetPlaceName(${1:string name})$0", + "kind": "keyword", + "details": "Set place name. If you pass null, the place name will be set to nothing." + }, + { + "trigger": "SetPlaybackRate", + "annotation": "void SetPlaybackRate(float rate)", + "contents": "SetPlaybackRate(${1:float rate})$0", + "kind": "keyword", + "details": "Set the current animation's playback rate." + }, + { + "trigger": "SetPlayerClass", + "annotation": "void SetPlayerClass(int class)", + "contents": "SetPlayerClass(${1:int class})$0", + "kind": "keyword", + "details": "Sets the player class. Updates the player's visuals and model." + }, + { + "trigger": "SetPlayersInHell", + "annotation": "void SetPlayersInHell(bool state)", + "contents": "SetPlayersInHell(${1:bool state})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetPoseParameter", + "annotation": "float SetPoseParameter(int ID, float value)", + "contents": "SetPoseParameter(${1:int ID}, ${2:float value})$0", + "kind": "keyword", + "details": "Sets a pose parameter value. Returns the effective value after clamping or looping." + }, + { + "trigger": "SetPropBool", + "annotation": "void SetPropBool(handle entity, string propertyName, bool value)", + "contents": "SetPropBool(${1:handle entity}, ${2:string propertyName}, ${3:bool value})$0", + "kind": "keyword", + "details": "Sets a netprop to the specified boolean." + }, + { + "trigger": "SetPropBoolArray", + "annotation": "void SetPropBoolArray(handle entity, string propertyName, bool value, int arrayElement)", + "contents": "SetPropBoolArray(${1:handle entity}, ${2:string propertyName}, ${3:bool value}, ${4:int arrayElement})$0", + "kind": "keyword", + "details": "Sets a netprop from an array to the specified boolean." + }, + { + "trigger": "SetPropEntity", + "annotation": "void SetPropEntity(handle entity, string propertyName, handle value)", + "contents": "SetPropEntity(${1:handle entity}, ${2:string propertyName}, ${3:handle value})$0", + "kind": "keyword", + "details": "Sets an EHANDLE-valued netprop (21 bit integer) to reference the specified entity." + }, + { + "trigger": "SetPropEntityArray", + "annotation": "void SetPropEntityArray(handle entity, string propertyName, handle value, int arrayElement)", + "contents": "SetPropEntityArray(${1:handle entity}, ${2:string propertyName}, ${3:handle value}, ${4:int arrayElement})$0", + "kind": "keyword", + "details": "Sets an EHANDLE-valued netprop (21 bit integer) from an array to reference the specified entity." + }, + { + "trigger": "SetPropFloat", + "annotation": "void SetPropFloat(handle entity, string propertyName, float value)", + "contents": "SetPropFloat(${1:handle entity}, ${2:string propertyName}, ${3:float value})$0", + "kind": "keyword", + "details": "Sets a netprop to the specified float." + }, + { + "trigger": "SetPropFloatArray", + "annotation": "void SetPropFloatArray(handle entity, string propertyName, float value, int arrayElement)", + "contents": "SetPropFloatArray(${1:handle entity}, ${2:string propertyName}, ${3:float value}, ${4:int arrayElement})$0", + "kind": "keyword", + "details": "Sets a netprop from an array to the specified float." + }, + { + "trigger": "SetPropInt", + "annotation": "void SetPropInt(handle entity, string propertyName, int value)", + "contents": "SetPropInt(${1:handle entity}, ${2:string propertyName}, ${3:int value})$0", + "kind": "keyword", + "details": "Sets a netprop to the specified integer." + }, + { + "trigger": "SetPropInt", + "annotation": "void SetPropInt(handle entity, string propertyName, int value, int arrayElement)", + "contents": "SetPropInt(${1:handle entity}, ${2:string propertyName}, ${3:int value}, ${4:int arrayElement})$0", + "kind": "keyword", + "details": "Sets a netprop from an array to the specified integer." + }, + { + "trigger": "SetPropString", + "annotation": "void SetPropString(handle entity, string propertyName, string value)", + "contents": "SetPropString(${1:handle entity}, ${2:string propertyName}, ${3:string value})$0", + "kind": "keyword", + "details": "Sets a netprop to the specified string." + }, + { + "trigger": "SetPropStringArray", + "annotation": "void SetPropStringArray(handle entity, string propertyName, string value, int arrayElement)", + "contents": "SetPropStringArray(${1:handle entity}, ${2:string propertyName}, ${3:string value}, ${4:int arrayElement})$0", + "kind": "keyword", + "details": "Sets a netprop from an array to the specified string." + }, + { + "trigger": "SetPropVector", + "annotation": "void SetPropVector(handle entity, string propertyName, Vector value)", + "contents": "SetPropVector(${1:handle entity}, ${2:string propertyName}, ${3:Vector value})$0", + "kind": "keyword", + "details": "Sets a netprop to the specified vector." + }, + { + "trigger": "SetPropVectorArray", + "annotation": "void SetPropVectorArray(handle entity, string propertyName, Vector value, int arrayElement)", + "contents": "SetPropVectorArray(${1:handle entity}, ${2:string propertyName}, ${3:Vector value}, ${4:int arrayElement})$0", + "kind": "keyword", + "details": "Sets a netprop from an array to the specified vector." + }, + { + "trigger": "SetRPSResult", + "annotation": "void SetRPSResult(int result)", + "contents": "SetRPSResult(${1:int result})$0", + "kind": "keyword", + "details": "Rig the result of Rock-Paper-Scissors (0 - rock, 1 - paper, 2 - scissors)" + }, + { + "trigger": "SetRageMeter", + "annotation": "void SetRageMeter(float percent)", + "contents": "SetRageMeter(${1:float percent})$0", + "kind": "keyword", + "details": "Sets rage meter from 0 - 100." + }, + { + "trigger": "SetScaleOverride", + "annotation": "void SetScaleOverride(float scale)", + "contents": "SetScaleOverride(${1:float scale})$0", + "kind": "keyword", + "details": "Sets the scale override for the bot" + }, + { + "trigger": "SetScoutHypeMeter", + "annotation": "void SetScoutHypeMeter(float percent)", + "contents": "SetScoutHypeMeter(${1:float percent})$0", + "kind": "keyword", + "details": "Sets hype meter from 0 - 100." + }, + { + "trigger": "SetScriptOverlayMaterial", + "annotation": "void SetScriptOverlayMaterial(string material)", + "contents": "SetScriptOverlayMaterial(${1:string material})$0", + "kind": "keyword", + "details": "Sets the overlay material that can't be overriden by other overlays. E.g. Jarate." + }, + { + "trigger": "SetSequence", + "annotation": "void SetSequence(int ID)", + "contents": "SetSequence(${1:int ID})$0", + "kind": "keyword", + "details": "Plays a sequence by sequence ID." + }, + { + "trigger": "SetShouldQuickBuild", + "annotation": "void SetShouldQuickBuild(bool toggle)", + "contents": "SetShouldQuickBuild(${1:bool toggle})$0", + "kind": "keyword", + "details": "Sets if the bot should build instantly" + }, + { + "trigger": "SetSize", + "annotation": "void SetSize(Vector mins, Vector maxs)", + "contents": "SetSize(${1:Vector mins}, ${2:Vector maxs})$0", + "kind": "keyword", + "details": "Sets the bounding box's scale for this entity." + }, + { + "trigger": "SetSkin", + "annotation": "void SetSkin(int index)", + "contents": "SetSkin(${1:int index})$0", + "kind": "keyword", + "details": "Sets the model's skin." + }, + { + "trigger": "SetSkyboxTexture", + "annotation": "void SetSkyboxTexture(string texture)", + "contents": "SetSkyboxTexture(${1:string texture})$0", + "kind": "keyword", + "details": "Sets the current skybox texture. The path is relative to \"materials/skybox/\". Only the main name of a skybox texture is needed, for example \"sky_gravel_01\"." + }, + { + "trigger": "SetSolid", + "annotation": "SetSolid(int solid)", + "contents": "SetSolid(${1:int solid})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "solid_flags", + "annotation": "SetSolidFlags solid_flags(int)", + "contents": "solid_flags(${1:int})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetSpeedLimit", + "annotation": "void SetSpeedLimit(float)", + "contents": "SetSpeedLimit(${1:float})$0", + "kind": "keyword", + "details": "Set maximum speed bot can reach, regardless of desired speed" + }, + { + "trigger": "SetSpyCloakMeter", + "annotation": "void SetSpyCloakMeter(float percent)", + "contents": "SetSpyCloakMeter(${1:float percent})$0", + "kind": "keyword", + "details": "Sets cloak meter from 0 - 100." + }, + { + "trigger": "SetSquadFormationError", + "annotation": "void SetSquadFormationError(float coefficient)", + "contents": "SetSquadFormationError(${1:float coefficient})$0", + "kind": "keyword", + "details": "Sets our formation error coefficient." + }, + { + "trigger": "SetSubType", + "annotation": "void SetSubType(int subtype)", + "contents": "SetSubType(${1:int subtype})$0", + "kind": "keyword", + "details": "Set the weapon subtype" + }, + { + "trigger": "SetTeam", + "annotation": "void SetTeam(int team)", + "contents": "SetTeam(${1:int team})$0", + "kind": "keyword", + "details": "Sets entity team." + }, + { + "trigger": "SetUseBossHealthBar", + "annotation": "void SetUseBossHealthBar(bool toggle)", + "contents": "SetUseBossHealthBar(${1:bool toggle})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetUsingSpells", + "annotation": "void SetUsingSpells(bool state)", + "contents": "SetUsingSpells(${1:bool state})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetValue", + "annotation": "void SetValue(string name, value)", + "contents": "SetValue(${1:string name}, ${2:value})$0", + "kind": "keyword", + "details": "Sets the value of the convar. The convar must be in cfg/vscript_convar_allowlist.txt to be set. Convars marked as cheat-only can be set even if sv_cheats is off. Supported types are bool, int, float, string." + }, + { + "trigger": "SetVehicleReverseTime", + "annotation": "void SetVehicleReverseTime(float time)", + "contents": "SetVehicleReverseTime(${1:float time})$0", + "kind": "keyword", + "details": "Set the timestamp when kart was reversed" + }, + { + "trigger": "SetVelocity", + "annotation": "void SetVelocity(Vector velocity)", + "contents": "SetVelocity(${1:Vector velocity})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "SetWaterLevel", + "annotation": "SetWaterLevel(int water_level)", + "contents": "SetWaterLevel(${1:int water_level})$0", + "kind": "keyword", + "details": "This sets how much of the entity is underwater. Setting it to 0 means it is not underwater, 1 if the feet are (touching water brush), 2 if the waist is (center of the hull of the entity), and 3 if the head is (eyes position)." + }, + { + "trigger": "SetWaterType", + "annotation": "SetWaterType(int water_type)", + "contents": "SetWaterType(${1:int water_type})$0", + "kind": "keyword", + "details": "Set the type of water the entity is currently submerged in. Generic values to use are 32 for water and 16 for slime." + }, + { + "trigger": "ShouldAutoJump", + "annotation": "bool ShouldAutoJump()", + "contents": "ShouldAutoJump()$0", + "kind": "keyword", + "details": "Returns if the bot should automatically jump" + }, + { + "trigger": "ShouldQuickBuild", + "annotation": "bool ShouldQuickBuild()", + "contents": "ShouldQuickBuild()$0", + "kind": "keyword", + "details": "Returns if the bot should build instantly" + }, + { + "trigger": "ShowMessage", + "annotation": "void ShowMessage(string message)", + "contents": "ShowMessage(${1:string message})$0", + "kind": "keyword", + "details": "Print a hud message on all clients" + }, + { + "trigger": "SnapEyeAngles", + "annotation": "void SnapEyeAngles(QAngle angles)", + "contents": "SnapEyeAngles(${1:QAngle angles})$0", + "kind": "keyword", + "details": "Snap the player's eye angles to this." + }, + { + "trigger": "SpawnEntity", + "annotation": "void SpawnEntity()", + "contents": "SpawnEntity()$0", + "kind": "keyword", + "details": "Create an entity at the location of the maker" + }, + { + "trigger": "SpawnEntityAtEntityOrigin", + "annotation": "void SpawnEntityAtEntityOrigin(handle entity)", + "contents": "SpawnEntityAtEntityOrigin(${1:handle entity})$0", + "kind": "keyword", + "details": "Create an entity at the location of a specified entity instance" + }, + { + "trigger": "SpawnEntityAtLocation", + "annotation": "void SpawnEntityAtLocation(Vector origin, Vector orientation)", + "contents": "SpawnEntityAtLocation(${1:Vector origin}, ${2:Vector orientation})$0", + "kind": "keyword", + "details": "Create an entity at a specified location and orientaton, orientation is Euler angle in degrees (pitch, yaw, roll)" + }, + { + "trigger": "SpawnEntityAtNamedEntityOrigin", + "annotation": "void SpawnEntityAtNamedEntityOrigin(string targetname)", + "contents": "SpawnEntityAtNamedEntityOrigin(${1:string targetname})$0", + "kind": "keyword", + "details": "Create an entity at the location of a named entity. If multiple entities have the same name, only the one with the lowest entity index will be targeted." + }, + { + "trigger": "SpawnEntityFromTable", + "annotation": "handle SpawnEntityFromTable(string name, handle keyvalues)", + "contents": "SpawnEntityFromTable(${1:string name}, ${2:handle keyvalues})$0", + "kind": "keyword", + "details": "Spawn entity from KeyValues in table - 'name' is entity name, rest are KeyValues for spawn." + }, + { + "trigger": "SpawnEntityGroupFromTable", + "annotation": "bool SpawnEntityGroupFromTable(handle groups)", + "contents": "SpawnEntityGroupFromTable(${1:handle groups})$0", + "kind": "keyword", + "details": "Hierarchically spawn an entity group from a set of spawn tables. This computes a spawn order for entities so that parenting is resolved correctly." + }, + { + "trigger": "Sqrt2", + "annotation": "Sqrt2", + "contents": "Sqrt2$0", + "kind": "keyword", + "details": "1.41421" + }, + { + "trigger": "Sqrt3", + "annotation": "Sqrt3", + "contents": "Sqrt3$0", + "kind": "keyword", + "details": "1.73205" + }, + { + "trigger": "Stop", + "annotation": "void Stop()", + "contents": "Stop()$0", + "kind": "keyword", + "details": "Set desired movement speed to stopped" + }, + { + "trigger": "StopAmbientSoundOn", + "annotation": "void StopAmbientSoundOn(string soundName, handle entity)", + "contents": "StopAmbientSoundOn(${1:string soundName}, ${2:handle entity})$0", + "kind": "keyword", + "details": "Stop named sound on an entity using configurations similar to ambient_generic." + }, + { + "trigger": "StopAnimation", + "annotation": "void StopAnimation()", + "contents": "StopAnimation()$0", + "kind": "keyword", + "details": "Stop the current animation (same as SetPlaybackRate 0.0)" + }, + { + "trigger": "StopSound", + "annotation": "void StopSound(string sound_name)", + "contents": "StopSound(${1:string sound_name})$0", + "kind": "keyword", + "details": "Stops a sound on this entity." + }, + { + "trigger": "StopSoundOn", + "annotation": "void StopSoundOn(string soundScript, handle entity)", + "contents": "StopSoundOn(${1:string soundScript}, ${2:handle entity})$0", + "kind": "keyword", + "details": "Stop named sound on an entity." + }, + { + "trigger": "StopTaunt", + "annotation": "void StopTaunt(bool remove_prop)", + "contents": "StopTaunt(${1:bool remove_prop})$0", + "kind": "keyword", + "details": "Stops current taunt. If remove_prop is true, the taunt prop will be immediately deleted instead of potentially delaying" + }, + { + "trigger": "StringToFile", + "annotation": "void StringToFile(string file, string string)", + "contents": "StringToFile(${1:string file}, ${2:string string})$0", + "kind": "keyword", + "details": "Stores a string as a file, located in the game's scriptdata folder." + }, + { + "trigger": "StudioFrameAdvance", + "annotation": "void StudioFrameAdvance()", + "contents": "StudioFrameAdvance()$0", + "kind": "keyword", + "details": "Advance animation frame to some time in the future with an automatically calculated interval" + }, + { + "trigger": "StudioFrameAdvanceManual", + "annotation": "void StudioFrameAdvanceManual(float dt)", + "contents": "StudioFrameAdvanceManual(${1:float dt})$0", + "kind": "keyword", + "details": "Advance animation frame to some time in the future with a manual interval" + }, + { + "trigger": "TAUNT_BASE_WEAPON", + "annotation": "TAUNT_BASE_WEAPON", + "contents": "TAUNT_BASE_WEAPON$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "TAUNT_LONG", + "annotation": "TAUNT_LONG", + "contents": "TAUNT_LONG$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "TAUNT_MISC_ITEM", + "annotation": "TAUNT_MISC_ITEM", + "contents": "TAUNT_MISC_ITEM$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "TAUNT_SHOW_ITEM", + "annotation": "TAUNT_SHOW_ITEM", + "contents": "TAUNT_SHOW_ITEM$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "TAUNT_SPECIAL", + "annotation": "TAUNT_SPECIAL", + "contents": "TAUNT_SPECIAL$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "TEAM_ANY", + "annotation": "TEAM_ANY", + "contents": "TEAM_ANY$0", + "kind": "keyword", + "details": "-2" + }, + { + "trigger": "TEAM_INVALID", + "annotation": "TEAM_INVALID", + "contents": "TEAM_INVALID$0", + "kind": "keyword", + "details": "-1" + }, + { + "trigger": "TEAM_SPECTATOR", + "annotation": "TEAM_SPECTATOR", + "contents": "TEAM_SPECTATOR$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "TEAM_UNASSIGNED", + "annotation": "TEAM_UNASSIGNED", + "contents": "TEAM_UNASSIGNED$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "TELEPORT_TO_HINT", + "annotation": "TELEPORT_TO_HINT", + "contents": "TELEPORT_TO_HINT$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "TFMark", + "annotation": "void TFMark()", + "contents": "TFMark()$0", + "kind": "keyword", + "details": "Mark this nav area with the current marking scope." + }, + { + "trigger": "TF_BOT_TYPE", + "annotation": "TF_BOT_TYPE", + "contents": "TF_BOT_TYPE$0", + "kind": "keyword", + "details": "1337" + }, + { + "trigger": "TF_CLASS_CIVILIAN", + "annotation": "TF_CLASS_CIVILIAN", + "contents": "TF_CLASS_CIVILIAN$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "TF_CLASS_COUNT_ALL", + "annotation": "TF_CLASS_COUNT_ALL", + "contents": "TF_CLASS_COUNT_ALL$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "TF_CLASS_DEMOMAN", + "annotation": "TF_CLASS_DEMOMAN", + "contents": "TF_CLASS_DEMOMAN$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "TF_CLASS_ENGINEER", + "annotation": "TF_CLASS_ENGINEER", + "contents": "TF_CLASS_ENGINEER$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "TF_CLASS_HEAVYWEAPONS", + "annotation": "TF_CLASS_HEAVYWEAPONS", + "contents": "TF_CLASS_HEAVYWEAPONS$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "TF_CLASS_MEDIC", + "annotation": "TF_CLASS_MEDIC", + "contents": "TF_CLASS_MEDIC$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "TF_CLASS_PYRO", + "annotation": "TF_CLASS_PYRO", + "contents": "TF_CLASS_PYRO$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "TF_CLASS_RANDOM", + "annotation": "TF_CLASS_RANDOM", + "contents": "TF_CLASS_RANDOM$0", + "kind": "keyword", + "details": "12" + }, + { + "trigger": "TF_CLASS_SCOUT", + "annotation": "TF_CLASS_SCOUT", + "contents": "TF_CLASS_SCOUT$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "TF_CLASS_SNIPER", + "annotation": "TF_CLASS_SNIPER", + "contents": "TF_CLASS_SNIPER$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "TF_CLASS_SOLDIER", + "annotation": "TF_CLASS_SOLDIER", + "contents": "TF_CLASS_SOLDIER$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "TF_CLASS_SPY", + "annotation": "TF_CLASS_SPY", + "contents": "TF_CLASS_SPY$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "TF_CLASS_UNDEFINED", + "annotation": "TF_CLASS_UNDEFINED", + "contents": "TF_CLASS_UNDEFINED$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "TF_COND_AFTERBURN_IMMUNE", + "annotation": "TF_COND_AFTERBURN_IMMUNE", + "contents": "TF_COND_AFTERBURN_IMMUNE$0", + "kind": "keyword", + "details": "102" + }, + { + "trigger": "TF_COND_AIMING", + "annotation": "TF_COND_AIMING", + "contents": "TF_COND_AIMING$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "TF_COND_AIR_CURRENT", + "annotation": "TF_COND_AIR_CURRENT", + "contents": "TF_COND_AIR_CURRENT$0", + "kind": "keyword", + "details": "127" + }, + { + "trigger": "TF_COND_BALLOON_HEAD", + "annotation": "TF_COND_BALLOON_HEAD", + "contents": "TF_COND_BALLOON_HEAD$0", + "kind": "keyword", + "details": "84" + }, + { + "trigger": "TF_COND_BLASTJUMPING", + "annotation": "TF_COND_BLASTJUMPING", + "contents": "TF_COND_BLASTJUMPING$0", + "kind": "keyword", + "details": "81" + }, + { + "trigger": "TF_COND_BLAST_IMMUNE", + "annotation": "TF_COND_BLAST_IMMUNE", + "contents": "TF_COND_BLAST_IMMUNE$0", + "kind": "keyword", + "details": "68" + }, + { + "trigger": "TF_COND_BLEEDING", + "annotation": "TF_COND_BLEEDING", + "contents": "TF_COND_BLEEDING$0", + "kind": "keyword", + "details": "25" + }, + { + "trigger": "TF_COND_BULLET_IMMUNE", + "annotation": "TF_COND_BULLET_IMMUNE", + "contents": "TF_COND_BULLET_IMMUNE$0", + "kind": "keyword", + "details": "67" + }, + { + "trigger": "TF_COND_BURNING", + "annotation": "TF_COND_BURNING", + "contents": "TF_COND_BURNING$0", + "kind": "keyword", + "details": "22" + }, + { + "trigger": "TF_COND_BURNING_PYRO", + "annotation": "TF_COND_BURNING_PYRO", + "contents": "TF_COND_BURNING_PYRO$0", + "kind": "keyword", + "details": "124" + }, + { + "trigger": "TF_COND_CANNOT_SWITCH_FROM_MELEE", + "annotation": "TF_COND_CANNOT_SWITCH_FROM_MELEE", + "contents": "TF_COND_CANNOT_SWITCH_FROM_MELEE$0", + "kind": "keyword", + "details": "41" + }, + { + "trigger": "TF_COND_COMPETITIVE_LOSER", + "annotation": "TF_COND_COMPETITIVE_LOSER", + "contents": "TF_COND_COMPETITIVE_LOSER$0", + "kind": "keyword", + "details": "117" + }, + { + "trigger": "TF_COND_COMPETITIVE_WINNER", + "annotation": "TF_COND_COMPETITIVE_WINNER", + "contents": "TF_COND_COMPETITIVE_WINNER$0", + "kind": "keyword", + "details": "116" + }, + { + "trigger": "TF_COND_CRITBOOSTED", + "annotation": "TF_COND_CRITBOOSTED", + "contents": "TF_COND_CRITBOOSTED$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "TF_COND_CRITBOOSTED_BONUS_TIME", + "annotation": "TF_COND_CRITBOOSTED_BONUS_TIME", + "contents": "TF_COND_CRITBOOSTED_BONUS_TIME$0", + "kind": "keyword", + "details": "38" + }, + { + "trigger": "TF_COND_CRITBOOSTED_CARD_EFFECT", + "annotation": "TF_COND_CRITBOOSTED_CARD_EFFECT", + "contents": "TF_COND_CRITBOOSTED_CARD_EFFECT$0", + "kind": "keyword", + "details": "56" + }, + { + "trigger": "TF_COND_CRITBOOSTED_CTF_CAPTURE", + "annotation": "TF_COND_CRITBOOSTED_CTF_CAPTURE", + "contents": "TF_COND_CRITBOOSTED_CTF_CAPTURE$0", + "kind": "keyword", + "details": "39" + }, + { + "trigger": "TF_COND_CRITBOOSTED_DEMO_CHARGE", + "annotation": "TF_COND_CRITBOOSTED_DEMO_CHARGE", + "contents": "TF_COND_CRITBOOSTED_DEMO_CHARGE$0", + "kind": "keyword", + "details": "35" + }, + { + "trigger": "TF_COND_CRITBOOSTED_FIRST_BLOOD", + "annotation": "TF_COND_CRITBOOSTED_FIRST_BLOOD", + "contents": "TF_COND_CRITBOOSTED_FIRST_BLOOD$0", + "kind": "keyword", + "details": "37" + }, + { + "trigger": "TF_COND_CRITBOOSTED_ON_KILL", + "annotation": "TF_COND_CRITBOOSTED_ON_KILL", + "contents": "TF_COND_CRITBOOSTED_ON_KILL$0", + "kind": "keyword", + "details": "40" + }, + { + "trigger": "TF_COND_CRITBOOSTED_PUMPKIN", + "annotation": "TF_COND_CRITBOOSTED_PUMPKIN", + "contents": "TF_COND_CRITBOOSTED_PUMPKIN$0", + "kind": "keyword", + "details": "33" + }, + { + "trigger": "TF_COND_CRITBOOSTED_RAGE_BUFF", + "annotation": "TF_COND_CRITBOOSTED_RAGE_BUFF", + "contents": "TF_COND_CRITBOOSTED_RAGE_BUFF$0", + "kind": "keyword", + "details": "44" + }, + { + "trigger": "TF_COND_CRITBOOSTED_RUNE_TEMP", + "annotation": "TF_COND_CRITBOOSTED_RUNE_TEMP", + "contents": "TF_COND_CRITBOOSTED_RUNE_TEMP$0", + "kind": "keyword", + "details": "105" + }, + { + "trigger": "TF_COND_CRITBOOSTED_USER_BUFF", + "annotation": "TF_COND_CRITBOOSTED_USER_BUFF", + "contents": "TF_COND_CRITBOOSTED_USER_BUFF$0", + "kind": "keyword", + "details": "34" + }, + { + "trigger": "TF_COND_DEFENSEBUFF", + "annotation": "TF_COND_DEFENSEBUFF", + "contents": "TF_COND_DEFENSEBUFF$0", + "kind": "keyword", + "details": "26" + }, + { + "trigger": "TF_COND_DEFENSEBUFF_HIGH", + "annotation": "TF_COND_DEFENSEBUFF_HIGH", + "contents": "TF_COND_DEFENSEBUFF_HIGH$0", + "kind": "keyword", + "details": "45" + }, + { + "trigger": "TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK", + "annotation": "TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK", + "contents": "TF_COND_DEFENSEBUFF_NO_CRIT_BLOCK$0", + "kind": "keyword", + "details": "42" + }, + { + "trigger": "TF_COND_DEMO_BUFF", + "annotation": "TF_COND_DEMO_BUFF", + "contents": "TF_COND_DEMO_BUFF$0", + "kind": "keyword", + "details": "18" + }, + { + "trigger": "TF_COND_DISGUISED", + "annotation": "TF_COND_DISGUISED", + "contents": "TF_COND_DISGUISED$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "TF_COND_DISGUISED_AS_DISPENSER", + "annotation": "TF_COND_DISGUISED_AS_DISPENSER", + "contents": "TF_COND_DISGUISED_AS_DISPENSER$0", + "kind": "keyword", + "details": "49" + }, + { + "trigger": "TF_COND_DISGUISE_WEARINGOFF", + "annotation": "TF_COND_DISGUISE_WEARINGOFF", + "contents": "TF_COND_DISGUISE_WEARINGOFF$0", + "kind": "keyword", + "details": "47" + }, + { + "trigger": "TF_COND_DISGUISING", + "annotation": "TF_COND_DISGUISING", + "contents": "TF_COND_DISGUISING$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "TF_COND_DONOTUSE_0", + "annotation": "TF_COND_DONOTUSE_0", + "contents": "TF_COND_DONOTUSE_0$0", + "kind": "keyword", + "details": "89" + }, + { + "trigger": "TF_COND_ENERGY_BUFF", + "annotation": "TF_COND_ENERGY_BUFF", + "contents": "TF_COND_ENERGY_BUFF$0", + "kind": "keyword", + "details": "19" + }, + { + "trigger": "TF_COND_FEIGN_DEATH", + "annotation": "TF_COND_FEIGN_DEATH", + "contents": "TF_COND_FEIGN_DEATH$0", + "kind": "keyword", + "details": "13" + }, + { + "trigger": "TF_COND_FIRE_IMMUNE", + "annotation": "TF_COND_FIRE_IMMUNE", + "contents": "TF_COND_FIRE_IMMUNE$0", + "kind": "keyword", + "details": "69" + }, + { + "trigger": "TF_COND_FREEZE_INPUT", + "annotation": "TF_COND_FREEZE_INPUT", + "contents": "TF_COND_FREEZE_INPUT$0", + "kind": "keyword", + "details": "87" + }, + { + "trigger": "TF_COND_GAS", + "annotation": "TF_COND_GAS", + "contents": "TF_COND_GAS$0", + "kind": "keyword", + "details": "123" + }, + { + "trigger": "TF_COND_GRAPPLED_BY_PLAYER", + "annotation": "TF_COND_GRAPPLED_BY_PLAYER", + "contents": "TF_COND_GRAPPLED_BY_PLAYER$0", + "kind": "keyword", + "details": "121" + }, + { + "trigger": "TF_COND_GRAPPLED_TO_PLAYER", + "annotation": "TF_COND_GRAPPLED_TO_PLAYER", + "contents": "TF_COND_GRAPPLED_TO_PLAYER$0", + "kind": "keyword", + "details": "120" + }, + { + "trigger": "TF_COND_GRAPPLINGHOOK", + "annotation": "TF_COND_GRAPPLINGHOOK", + "contents": "TF_COND_GRAPPLINGHOOK$0", + "kind": "keyword", + "details": "98" + }, + { + "trigger": "TF_COND_GRAPPLINGHOOK_BLEEDING", + "annotation": "TF_COND_GRAPPLINGHOOK_BLEEDING", + "contents": "TF_COND_GRAPPLINGHOOK_BLEEDING$0", + "kind": "keyword", + "details": "101" + }, + { + "trigger": "TF_COND_GRAPPLINGHOOK_LATCHED", + "annotation": "TF_COND_GRAPPLINGHOOK_LATCHED", + "contents": "TF_COND_GRAPPLINGHOOK_LATCHED$0", + "kind": "keyword", + "details": "100" + }, + { + "trigger": "TF_COND_GRAPPLINGHOOK_SAFEFALL", + "annotation": "TF_COND_GRAPPLINGHOOK_SAFEFALL", + "contents": "TF_COND_GRAPPLINGHOOK_SAFEFALL$0", + "kind": "keyword", + "details": "99" + }, + { + "trigger": "TF_COND_HALLOWEEN_BOMB_HEAD", + "annotation": "TF_COND_HALLOWEEN_BOMB_HEAD", + "contents": "TF_COND_HALLOWEEN_BOMB_HEAD$0", + "kind": "keyword", + "details": "53" + }, + { + "trigger": "TF_COND_HALLOWEEN_GHOST_MODE", + "annotation": "TF_COND_HALLOWEEN_GHOST_MODE", + "contents": "TF_COND_HALLOWEEN_GHOST_MODE$0", + "kind": "keyword", + "details": "77" + }, + { + "trigger": "TF_COND_HALLOWEEN_GIANT", + "annotation": "TF_COND_HALLOWEEN_GIANT", + "contents": "TF_COND_HALLOWEEN_GIANT$0", + "kind": "keyword", + "details": "74" + }, + { + "trigger": "TF_COND_HALLOWEEN_HELL_HEAL", + "annotation": "TF_COND_HALLOWEEN_HELL_HEAL", + "contents": "TF_COND_HALLOWEEN_HELL_HEAL$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "TF_COND_HALLOWEEN_IN_HELL", + "annotation": "TF_COND_HALLOWEEN_IN_HELL", + "contents": "TF_COND_HALLOWEEN_IN_HELL$0", + "kind": "keyword", + "details": "76" + }, + { + "trigger": "TF_COND_HALLOWEEN_KART", + "annotation": "TF_COND_HALLOWEEN_KART", + "contents": "TF_COND_HALLOWEEN_KART$0", + "kind": "keyword", + "details": "82" + }, + { + "trigger": "TF_COND_HALLOWEEN_KART_CAGE", + "annotation": "TF_COND_HALLOWEEN_KART_CAGE", + "contents": "TF_COND_HALLOWEEN_KART_CAGE$0", + "kind": "keyword", + "details": "88" + }, + { + "trigger": "TF_COND_HALLOWEEN_KART_DASH", + "annotation": "TF_COND_HALLOWEEN_KART_DASH", + "contents": "TF_COND_HALLOWEEN_KART_DASH$0", + "kind": "keyword", + "details": "83" + }, + { + "trigger": "TF_COND_HALLOWEEN_QUICK_HEAL", + "annotation": "TF_COND_HALLOWEEN_QUICK_HEAL", + "contents": "TF_COND_HALLOWEEN_QUICK_HEAL$0", + "kind": "keyword", + "details": "73" + }, + { + "trigger": "TF_COND_HALLOWEEN_SPEED_BOOST", + "annotation": "TF_COND_HALLOWEEN_SPEED_BOOST", + "contents": "TF_COND_HALLOWEEN_SPEED_BOOST$0", + "kind": "keyword", + "details": "72" + }, + { + "trigger": "TF_COND_HALLOWEEN_THRILLER", + "annotation": "TF_COND_HALLOWEEN_THRILLER", + "contents": "TF_COND_HALLOWEEN_THRILLER$0", + "kind": "keyword", + "details": "54" + }, + { + "trigger": "TF_COND_HALLOWEEN_TINY", + "annotation": "TF_COND_HALLOWEEN_TINY", + "contents": "TF_COND_HALLOWEEN_TINY$0", + "kind": "keyword", + "details": "75" + }, + { + "trigger": "TF_COND_HEALING_DEBUFF", + "annotation": "TF_COND_HEALING_DEBUFF", + "contents": "TF_COND_HEALING_DEBUFF$0", + "kind": "keyword", + "details": "118" + }, + { + "trigger": "TF_COND_HEALTH_BUFF", + "annotation": "TF_COND_HEALTH_BUFF", + "contents": "TF_COND_HEALTH_BUFF$0", + "kind": "keyword", + "details": "21" + }, + { + "trigger": "TF_COND_HEALTH_OVERHEALED", + "annotation": "TF_COND_HEALTH_OVERHEALED", + "contents": "TF_COND_HEALTH_OVERHEALED$0", + "kind": "keyword", + "details": "23" + }, + { + "trigger": "TF_COND_IMMUNE_TO_PUSHBACK", + "annotation": "TF_COND_IMMUNE_TO_PUSHBACK", + "contents": "TF_COND_IMMUNE_TO_PUSHBACK$0", + "kind": "keyword", + "details": "130" + }, + { + "trigger": "TF_COND_INVALID", + "annotation": "TF_COND_INVALID", + "contents": "TF_COND_INVALID$0", + "kind": "keyword", + "details": "-1" + }, + { + "trigger": "TF_COND_INVULNERABLE", + "annotation": "TF_COND_INVULNERABLE", + "contents": "TF_COND_INVULNERABLE$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "TF_COND_INVULNERABLE_CARD_EFFECT", + "annotation": "TF_COND_INVULNERABLE_CARD_EFFECT", + "contents": "TF_COND_INVULNERABLE_CARD_EFFECT$0", + "kind": "keyword", + "details": "57" + }, + { + "trigger": "TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED", + "annotation": "TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED", + "contents": "TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED$0", + "kind": "keyword", + "details": "51" + }, + { + "trigger": "TF_COND_INVULNERABLE_USER_BUFF", + "annotation": "TF_COND_INVULNERABLE_USER_BUFF", + "contents": "TF_COND_INVULNERABLE_USER_BUFF$0", + "kind": "keyword", + "details": "52" + }, + { + "trigger": "TF_COND_INVULNERABLE_WEARINGOFF", + "annotation": "TF_COND_INVULNERABLE_WEARINGOFF", + "contents": "TF_COND_INVULNERABLE_WEARINGOFF$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "TF_COND_KING_BUFFED", + "annotation": "TF_COND_KING_BUFFED", + "contents": "TF_COND_KING_BUFFED$0", + "kind": "keyword", + "details": "113" + }, + { + "trigger": "TF_COND_KNOCKED_INTO_AIR", + "annotation": "TF_COND_KNOCKED_INTO_AIR", + "contents": "TF_COND_KNOCKED_INTO_AIR$0", + "kind": "keyword", + "details": "115" + }, + { + "trigger": "TF_COND_LOST_FOOTING", + "annotation": "TF_COND_LOST_FOOTING", + "contents": "TF_COND_LOST_FOOTING$0", + "kind": "keyword", + "details": "126" + }, + { + "trigger": "TF_COND_MAD_MILK", + "annotation": "TF_COND_MAD_MILK", + "contents": "TF_COND_MAD_MILK$0", + "kind": "keyword", + "details": "27" + }, + { + "trigger": "TF_COND_MARKEDFORDEATH", + "annotation": "TF_COND_MARKEDFORDEATH", + "contents": "TF_COND_MARKEDFORDEATH$0", + "kind": "keyword", + "details": "30" + }, + { + "trigger": "TF_COND_MARKEDFORDEATH_SILENT", + "annotation": "TF_COND_MARKEDFORDEATH_SILENT", + "contents": "TF_COND_MARKEDFORDEATH_SILENT$0", + "kind": "keyword", + "details": "48" + }, + { + "trigger": "TF_COND_MEDIGUN_DEBUFF", + "annotation": "TF_COND_MEDIGUN_DEBUFF", + "contents": "TF_COND_MEDIGUN_DEBUFF$0", + "kind": "keyword", + "details": "65" + }, + { + "trigger": "TF_COND_MEDIGUN_SMALL_BLAST_RESIST", + "annotation": "TF_COND_MEDIGUN_SMALL_BLAST_RESIST", + "contents": "TF_COND_MEDIGUN_SMALL_BLAST_RESIST$0", + "kind": "keyword", + "details": "62" + }, + { + "trigger": "TF_COND_MEDIGUN_SMALL_BULLET_RESIST", + "annotation": "TF_COND_MEDIGUN_SMALL_BULLET_RESIST", + "contents": "TF_COND_MEDIGUN_SMALL_BULLET_RESIST$0", + "kind": "keyword", + "details": "61" + }, + { + "trigger": "TF_COND_MEDIGUN_SMALL_FIRE_RESIST", + "annotation": "TF_COND_MEDIGUN_SMALL_FIRE_RESIST", + "contents": "TF_COND_MEDIGUN_SMALL_FIRE_RESIST$0", + "kind": "keyword", + "details": "63" + }, + { + "trigger": "TF_COND_MEDIGUN_UBER_BLAST_RESIST", + "annotation": "TF_COND_MEDIGUN_UBER_BLAST_RESIST", + "contents": "TF_COND_MEDIGUN_UBER_BLAST_RESIST$0", + "kind": "keyword", + "details": "59" + }, + { + "trigger": "TF_COND_MEDIGUN_UBER_BULLET_RESIST", + "annotation": "TF_COND_MEDIGUN_UBER_BULLET_RESIST", + "contents": "TF_COND_MEDIGUN_UBER_BULLET_RESIST$0", + "kind": "keyword", + "details": "58" + }, + { + "trigger": "TF_COND_MEDIGUN_UBER_FIRE_RESIST", + "annotation": "TF_COND_MEDIGUN_UBER_FIRE_RESIST", + "contents": "TF_COND_MEDIGUN_UBER_FIRE_RESIST$0", + "kind": "keyword", + "details": "60" + }, + { + "trigger": "TF_COND_MEGAHEAL", + "annotation": "TF_COND_MEGAHEAL", + "contents": "TF_COND_MEGAHEAL$0", + "kind": "keyword", + "details": "28" + }, + { + "trigger": "TF_COND_MELEE_ONLY", + "annotation": "TF_COND_MELEE_ONLY", + "contents": "TF_COND_MELEE_ONLY$0", + "kind": "keyword", + "details": "85" + }, + { + "trigger": "TF_COND_MINICRITBOOSTED_ON_KILL", + "annotation": "TF_COND_MINICRITBOOSTED_ON_KILL", + "contents": "TF_COND_MINICRITBOOSTED_ON_KILL$0", + "kind": "keyword", + "details": "78" + }, + { + "trigger": "TF_COND_MVM_BOT_STUN_RADIOWAVE", + "annotation": "TF_COND_MVM_BOT_STUN_RADIOWAVE", + "contents": "TF_COND_MVM_BOT_STUN_RADIOWAVE$0", + "kind": "keyword", + "details": "71" + }, + { + "trigger": "TF_COND_NOHEALINGDAMAGEBUFF", + "annotation": "TF_COND_NOHEALINGDAMAGEBUFF", + "contents": "TF_COND_NOHEALINGDAMAGEBUFF$0", + "kind": "keyword", + "details": "31" + }, + { + "trigger": "TF_COND_OBSCURED_SMOKE", + "annotation": "TF_COND_OBSCURED_SMOKE", + "contents": "TF_COND_OBSCURED_SMOKE$0", + "kind": "keyword", + "details": "79" + }, + { + "trigger": "TF_COND_OFFENSEBUFF", + "annotation": "TF_COND_OFFENSEBUFF", + "contents": "TF_COND_OFFENSEBUFF$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "TF_COND_PARACHUTE_ACTIVE", + "annotation": "TF_COND_PARACHUTE_ACTIVE", + "contents": "TF_COND_PARACHUTE_ACTIVE$0", + "kind": "keyword", + "details": "80" + }, + { + "trigger": "TF_COND_PARACHUTE_DEPLOYED", + "annotation": "TF_COND_PARACHUTE_DEPLOYED", + "contents": "TF_COND_PARACHUTE_DEPLOYED$0", + "kind": "keyword", + "details": "122" + }, + { + "trigger": "TF_COND_PASSTIME_INTERCEPTION", + "annotation": "TF_COND_PASSTIME_INTERCEPTION", + "contents": "TF_COND_PASSTIME_INTERCEPTION$0", + "kind": "keyword", + "details": "106" + }, + { + "trigger": "TF_COND_PASSTIME_PENALTY_DEBUFF", + "annotation": "TF_COND_PASSTIME_PENALTY_DEBUFF", + "contents": "TF_COND_PASSTIME_PENALTY_DEBUFF$0", + "kind": "keyword", + "details": "119" + }, + { + "trigger": "TF_COND_PHASE", + "annotation": "TF_COND_PHASE", + "contents": "TF_COND_PHASE$0", + "kind": "keyword", + "details": "14" + }, + { + "trigger": "TF_COND_PLAGUE", + "annotation": "TF_COND_PLAGUE", + "contents": "TF_COND_PLAGUE$0", + "kind": "keyword", + "details": "112" + }, + { + "trigger": "TF_COND_POWERUPMODE_DOMINANT", + "annotation": "TF_COND_POWERUPMODE_DOMINANT", + "contents": "TF_COND_POWERUPMODE_DOMINANT$0", + "kind": "keyword", + "details": "129" + }, + { + "trigger": "TF_COND_PREVENT_DEATH", + "annotation": "TF_COND_PREVENT_DEATH", + "contents": "TF_COND_PREVENT_DEATH$0", + "kind": "keyword", + "details": "70" + }, + { + "trigger": "TF_COND_PURGATORY", + "annotation": "TF_COND_PURGATORY", + "contents": "TF_COND_PURGATORY$0", + "kind": "keyword", + "details": "108" + }, + { + "trigger": "TF_COND_RADIUSHEAL", + "annotation": "TF_COND_RADIUSHEAL", + "contents": "TF_COND_RADIUSHEAL$0", + "kind": "keyword", + "details": "20" + }, + { + "trigger": "TF_COND_RADIUSHEAL_ON_DAMAGE", + "annotation": "TF_COND_RADIUSHEAL_ON_DAMAGE", + "contents": "TF_COND_RADIUSHEAL_ON_DAMAGE$0", + "kind": "keyword", + "details": "55" + }, + { + "trigger": "TF_COND_REGENONDAMAGEBUFF", + "annotation": "TF_COND_REGENONDAMAGEBUFF", + "contents": "TF_COND_REGENONDAMAGEBUFF$0", + "kind": "keyword", + "details": "29" + }, + { + "trigger": "TF_COND_REPROGRAMMED", + "annotation": "TF_COND_REPROGRAMMED", + "contents": "TF_COND_REPROGRAMMED$0", + "kind": "keyword", + "details": "43" + }, + { + "trigger": "TF_COND_ROCKETPACK", + "annotation": "TF_COND_ROCKETPACK", + "contents": "TF_COND_ROCKETPACK$0", + "kind": "keyword", + "details": "125" + }, + { + "trigger": "TF_COND_RUNE_AGILITY", + "annotation": "TF_COND_RUNE_AGILITY", + "contents": "TF_COND_RUNE_AGILITY$0", + "kind": "keyword", + "details": "97" + }, + { + "trigger": "TF_COND_RUNE_HASTE", + "annotation": "TF_COND_RUNE_HASTE", + "contents": "TF_COND_RUNE_HASTE$0", + "kind": "keyword", + "details": "91" + }, + { + "trigger": "TF_COND_RUNE_IMBALANCE", + "annotation": "TF_COND_RUNE_IMBALANCE", + "contents": "TF_COND_RUNE_IMBALANCE$0", + "kind": "keyword", + "details": "104" + }, + { + "trigger": "TF_COND_RUNE_KING", + "annotation": "TF_COND_RUNE_KING", + "contents": "TF_COND_RUNE_KING$0", + "kind": "keyword", + "details": "109" + }, + { + "trigger": "TF_COND_RUNE_KNOCKOUT", + "annotation": "TF_COND_RUNE_KNOCKOUT", + "contents": "TF_COND_RUNE_KNOCKOUT$0", + "kind": "keyword", + "details": "103" + }, + { + "trigger": "TF_COND_RUNE_PLAGUE", + "annotation": "TF_COND_RUNE_PLAGUE", + "contents": "TF_COND_RUNE_PLAGUE$0", + "kind": "keyword", + "details": "110" + }, + { + "trigger": "TF_COND_RUNE_PRECISION", + "annotation": "TF_COND_RUNE_PRECISION", + "contents": "TF_COND_RUNE_PRECISION$0", + "kind": "keyword", + "details": "96" + }, + { + "trigger": "TF_COND_RUNE_REFLECT", + "annotation": "TF_COND_RUNE_REFLECT", + "contents": "TF_COND_RUNE_REFLECT$0", + "kind": "keyword", + "details": "95" + }, + { + "trigger": "TF_COND_RUNE_REGEN", + "annotation": "TF_COND_RUNE_REGEN", + "contents": "TF_COND_RUNE_REGEN$0", + "kind": "keyword", + "details": "92" + }, + { + "trigger": "TF_COND_RUNE_RESIST", + "annotation": "TF_COND_RUNE_RESIST", + "contents": "TF_COND_RUNE_RESIST$0", + "kind": "keyword", + "details": "93" + }, + { + "trigger": "TF_COND_RUNE_STRENGTH", + "annotation": "TF_COND_RUNE_STRENGTH", + "contents": "TF_COND_RUNE_STRENGTH$0", + "kind": "keyword", + "details": "90" + }, + { + "trigger": "TF_COND_RUNE_SUPERNOVA", + "annotation": "TF_COND_RUNE_SUPERNOVA", + "contents": "TF_COND_RUNE_SUPERNOVA$0", + "kind": "keyword", + "details": "111" + }, + { + "trigger": "TF_COND_RUNE_VAMPIRE", + "annotation": "TF_COND_RUNE_VAMPIRE", + "contents": "TF_COND_RUNE_VAMPIRE$0", + "kind": "keyword", + "details": "94" + }, + { + "trigger": "TF_COND_SAPPED", + "annotation": "TF_COND_SAPPED", + "contents": "TF_COND_SAPPED$0", + "kind": "keyword", + "details": "50" + }, + { + "trigger": "TF_COND_SELECTED_TO_TELEPORT", + "annotation": "TF_COND_SELECTED_TO_TELEPORT", + "contents": "TF_COND_SELECTED_TO_TELEPORT$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "TF_COND_SHIELD_CHARGE", + "annotation": "TF_COND_SHIELD_CHARGE", + "contents": "TF_COND_SHIELD_CHARGE$0", + "kind": "keyword", + "details": "17" + }, + { + "trigger": "TF_COND_SNIPERCHARGE_RAGE_BUFF", + "annotation": "TF_COND_SNIPERCHARGE_RAGE_BUFF", + "contents": "TF_COND_SNIPERCHARGE_RAGE_BUFF$0", + "kind": "keyword", + "details": "46" + }, + { + "trigger": "TF_COND_SODAPOPPER_HYPE", + "annotation": "TF_COND_SODAPOPPER_HYPE", + "contents": "TF_COND_SODAPOPPER_HYPE$0", + "kind": "keyword", + "details": "36" + }, + { + "trigger": "TF_COND_SPEED_BOOST", + "annotation": "TF_COND_SPEED_BOOST", + "contents": "TF_COND_SPEED_BOOST$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "TF_COND_STEALTHED", + "annotation": "TF_COND_STEALTHED", + "contents": "TF_COND_STEALTHED$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "TF_COND_STEALTHED_BLINK", + "annotation": "TF_COND_STEALTHED_BLINK", + "contents": "TF_COND_STEALTHED_BLINK$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "TF_COND_STEALTHED_USER_BUFF", + "annotation": "TF_COND_STEALTHED_USER_BUFF", + "contents": "TF_COND_STEALTHED_USER_BUFF$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "TF_COND_STEALTHED_USER_BUFF_FADING", + "annotation": "TF_COND_STEALTHED_USER_BUFF_FADING", + "contents": "TF_COND_STEALTHED_USER_BUFF_FADING$0", + "kind": "keyword", + "details": "66" + }, + { + "trigger": "TF_COND_STUNNED", + "annotation": "TF_COND_STUNNED", + "contents": "TF_COND_STUNNED$0", + "kind": "keyword", + "details": "15" + }, + { + "trigger": "TF_COND_SWIMMING_CURSE", + "annotation": "TF_COND_SWIMMING_CURSE", + "contents": "TF_COND_SWIMMING_CURSE$0", + "kind": "keyword", + "details": "86" + }, + { + "trigger": "TF_COND_SWIMMING_NO_EFFECTS", + "annotation": "TF_COND_SWIMMING_NO_EFFECTS", + "contents": "TF_COND_SWIMMING_NO_EFFECTS$0", + "kind": "keyword", + "details": "107" + }, + { + "trigger": "TF_COND_TAUNTING", + "annotation": "TF_COND_TAUNTING", + "contents": "TF_COND_TAUNTING$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "TF_COND_TEAM_GLOWS", + "annotation": "TF_COND_TEAM_GLOWS", + "contents": "TF_COND_TEAM_GLOWS$0", + "kind": "keyword", + "details": "114" + }, + { + "trigger": "TF_COND_TELEPORTED", + "annotation": "TF_COND_TELEPORTED", + "contents": "TF_COND_TELEPORTED$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "TF_COND_TMPDAMAGEBONUS", + "annotation": "TF_COND_TMPDAMAGEBONUS", + "contents": "TF_COND_TMPDAMAGEBONUS$0", + "kind": "keyword", + "details": "12" + }, + { + "trigger": "TF_COND_URINE", + "annotation": "TF_COND_URINE", + "contents": "TF_COND_URINE$0", + "kind": "keyword", + "details": "24" + }, + { + "trigger": "TF_COND_ZOOMED", + "annotation": "TF_COND_ZOOMED", + "contents": "TF_COND_ZOOMED$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "TF_DMG_CUSTOM_AEGIS_ROUND", + "annotation": "TF_DMG_CUSTOM_AEGIS_ROUND", + "contents": "TF_DMG_CUSTOM_AEGIS_ROUND$0", + "kind": "keyword", + "details": "43" + }, + { + "trigger": "TF_DMG_CUSTOM_AIR_STICKY_BURST", + "annotation": "TF_DMG_CUSTOM_AIR_STICKY_BURST", + "contents": "TF_DMG_CUSTOM_AIR_STICKY_BURST$0", + "kind": "keyword", + "details": "25" + }, + { + "trigger": "TF_DMG_CUSTOM_AXTINGUISHER_BOOSTED", + "annotation": "TF_DMG_CUSTOM_AXTINGUISHER_BOOSTED", + "contents": "TF_DMG_CUSTOM_AXTINGUISHER_BOOSTED$0", + "kind": "keyword", + "details": "83" + }, + { + "trigger": "TF_DMG_CUSTOM_BACKSTAB", + "annotation": "TF_DMG_CUSTOM_BACKSTAB", + "contents": "TF_DMG_CUSTOM_BACKSTAB$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "TF_DMG_CUSTOM_BASEBALL", + "annotation": "TF_DMG_CUSTOM_BASEBALL", + "contents": "TF_DMG_CUSTOM_BASEBALL$0", + "kind": "keyword", + "details": "22" + }, + { + "trigger": "TF_DMG_CUSTOM_BLEEDING", + "annotation": "TF_DMG_CUSTOM_BLEEDING", + "contents": "TF_DMG_CUSTOM_BLEEDING$0", + "kind": "keyword", + "details": "34" + }, + { + "trigger": "TF_DMG_CUSTOM_BOOTS_STOMP", + "annotation": "TF_DMG_CUSTOM_BOOTS_STOMP", + "contents": "TF_DMG_CUSTOM_BOOTS_STOMP$0", + "kind": "keyword", + "details": "45" + }, + { + "trigger": "TF_DMG_CUSTOM_BURNING", + "annotation": "TF_DMG_CUSTOM_BURNING", + "contents": "TF_DMG_CUSTOM_BURNING$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "TF_DMG_CUSTOM_BURNING_ARROW", + "annotation": "TF_DMG_CUSTOM_BURNING_ARROW", + "contents": "TF_DMG_CUSTOM_BURNING_ARROW$0", + "kind": "keyword", + "details": "17" + }, + { + "trigger": "TF_DMG_CUSTOM_BURNING_FLARE", + "annotation": "TF_DMG_CUSTOM_BURNING_FLARE", + "contents": "TF_DMG_CUSTOM_BURNING_FLARE$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "TF_DMG_CUSTOM_CANNONBALL_PUSH", + "annotation": "TF_DMG_CUSTOM_CANNONBALL_PUSH", + "contents": "TF_DMG_CUSTOM_CANNONBALL_PUSH$0", + "kind": "keyword", + "details": "61" + }, + { + "trigger": "TF_DMG_CUSTOM_CARRIED_BUILDING", + "annotation": "TF_DMG_CUSTOM_CARRIED_BUILDING", + "contents": "TF_DMG_CUSTOM_CARRIED_BUILDING$0", + "kind": "keyword", + "details": "36" + }, + { + "trigger": "TF_DMG_CUSTOM_CHARGE_IMPACT", + "annotation": "TF_DMG_CUSTOM_CHARGE_IMPACT", + "contents": "TF_DMG_CUSTOM_CHARGE_IMPACT$0", + "kind": "keyword", + "details": "23" + }, + { + "trigger": "TF_DMG_CUSTOM_CLEAVER", + "annotation": "TF_DMG_CUSTOM_CLEAVER", + "contents": "TF_DMG_CUSTOM_CLEAVER$0", + "kind": "keyword", + "details": "54" + }, + { + "trigger": "TF_DMG_CUSTOM_CLEAVER_CRIT", + "annotation": "TF_DMG_CUSTOM_CLEAVER_CRIT", + "contents": "TF_DMG_CUSTOM_CLEAVER_CRIT$0", + "kind": "keyword", + "details": "55" + }, + { + "trigger": "TF_DMG_CUSTOM_COMBO_PUNCH", + "annotation": "TF_DMG_CUSTOM_COMBO_PUNCH", + "contents": "TF_DMG_CUSTOM_COMBO_PUNCH$0", + "kind": "keyword", + "details": "37" + }, + { + "trigger": "TF_DMG_CUSTOM_CROC", + "annotation": "TF_DMG_CUSTOM_CROC", + "contents": "TF_DMG_CUSTOM_CROC$0", + "kind": "keyword", + "details": "81" + }, + { + "trigger": "TF_DMG_CUSTOM_DECAPITATION", + "annotation": "TF_DMG_CUSTOM_DECAPITATION", + "contents": "TF_DMG_CUSTOM_DECAPITATION$0", + "kind": "keyword", + "details": "20" + }, + { + "trigger": "TF_DMG_CUSTOM_DECAPITATION_BOSS", + "annotation": "TF_DMG_CUSTOM_DECAPITATION_BOSS", + "contents": "TF_DMG_CUSTOM_DECAPITATION_BOSS$0", + "kind": "keyword", + "details": "41" + }, + { + "trigger": "TF_DMG_CUSTOM_DEFENSIVE_STICKY", + "annotation": "TF_DMG_CUSTOM_DEFENSIVE_STICKY", + "contents": "TF_DMG_CUSTOM_DEFENSIVE_STICKY$0", + "kind": "keyword", + "details": "26" + }, + { + "trigger": "TF_DMG_CUSTOM_DRAGONS_FURY_BONUS_BURNING", + "annotation": "TF_DMG_CUSTOM_DRAGONS_FURY_BONUS_BURNING", + "contents": "TF_DMG_CUSTOM_DRAGONS_FURY_BONUS_BURNING$0", + "kind": "keyword", + "details": "79" + }, + { + "trigger": "TF_DMG_CUSTOM_DRAGONS_FURY_IGNITE", + "annotation": "TF_DMG_CUSTOM_DRAGONS_FURY_IGNITE", + "contents": "TF_DMG_CUSTOM_DRAGONS_FURY_IGNITE$0", + "kind": "keyword", + "details": "78" + }, + { + "trigger": "TF_DMG_CUSTOM_END", + "annotation": "TF_DMG_CUSTOM_END", + "contents": "TF_DMG_CUSTOM_END$0", + "kind": "keyword", + "details": "84" + }, + { + "trigger": "TF_DMG_CUSTOM_EYEBALL_ROCKET", + "annotation": "TF_DMG_CUSTOM_EYEBALL_ROCKET", + "contents": "TF_DMG_CUSTOM_EYEBALL_ROCKET$0", + "kind": "keyword", + "details": "50" + }, + { + "trigger": "TF_DMG_CUSTOM_FISH_KILL", + "annotation": "TF_DMG_CUSTOM_FISH_KILL", + "contents": "TF_DMG_CUSTOM_FISH_KILL$0", + "kind": "keyword", + "details": "39" + }, + { + "trigger": "TF_DMG_CUSTOM_FLARE_EXPLOSION", + "annotation": "TF_DMG_CUSTOM_FLARE_EXPLOSION", + "contents": "TF_DMG_CUSTOM_FLARE_EXPLOSION$0", + "kind": "keyword", + "details": "44" + }, + { + "trigger": "TF_DMG_CUSTOM_FLARE_PELLET", + "annotation": "TF_DMG_CUSTOM_FLARE_PELLET", + "contents": "TF_DMG_CUSTOM_FLARE_PELLET$0", + "kind": "keyword", + "details": "53" + }, + { + "trigger": "TF_DMG_CUSTOM_FLYINGBURN", + "annotation": "TF_DMG_CUSTOM_FLYINGBURN", + "contents": "TF_DMG_CUSTOM_FLYINGBURN$0", + "kind": "keyword", + "details": "18" + }, + { + "trigger": "TF_DMG_CUSTOM_GIANT_HAMMER", + "annotation": "TF_DMG_CUSTOM_GIANT_HAMMER", + "contents": "TF_DMG_CUSTOM_GIANT_HAMMER$0", + "kind": "keyword", + "details": "76" + }, + { + "trigger": "TF_DMG_CUSTOM_GOLD_WRENCH", + "annotation": "TF_DMG_CUSTOM_GOLD_WRENCH", + "contents": "TF_DMG_CUSTOM_GOLD_WRENCH$0", + "kind": "keyword", + "details": "35" + }, + { + "trigger": "TF_DMG_CUSTOM_HEADSHOT", + "annotation": "TF_DMG_CUSTOM_HEADSHOT", + "contents": "TF_DMG_CUSTOM_HEADSHOT$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "TF_DMG_CUSTOM_HEADSHOT_DECAPITATION", + "annotation": "TF_DMG_CUSTOM_HEADSHOT_DECAPITATION", + "contents": "TF_DMG_CUSTOM_HEADSHOT_DECAPITATION$0", + "kind": "keyword", + "details": "51" + }, + { + "trigger": "TF_DMG_CUSTOM_KART", + "annotation": "TF_DMG_CUSTOM_KART", + "contents": "TF_DMG_CUSTOM_KART$0", + "kind": "keyword", + "details": "75" + }, + { + "trigger": "TF_DMG_CUSTOM_MERASMUS_DECAPITATION", + "annotation": "TF_DMG_CUSTOM_MERASMUS_DECAPITATION", + "contents": "TF_DMG_CUSTOM_MERASMUS_DECAPITATION$0", + "kind": "keyword", + "details": "60" + }, + { + "trigger": "TF_DMG_CUSTOM_MERASMUS_GRENADE", + "annotation": "TF_DMG_CUSTOM_MERASMUS_GRENADE", + "contents": "TF_DMG_CUSTOM_MERASMUS_GRENADE$0", + "kind": "keyword", + "details": "58" + }, + { + "trigger": "TF_DMG_CUSTOM_MERASMUS_PLAYER_BOMB", + "annotation": "TF_DMG_CUSTOM_MERASMUS_PLAYER_BOMB", + "contents": "TF_DMG_CUSTOM_MERASMUS_PLAYER_BOMB$0", + "kind": "keyword", + "details": "57" + }, + { + "trigger": "TF_DMG_CUSTOM_MERASMUS_ZAP", + "annotation": "TF_DMG_CUSTOM_MERASMUS_ZAP", + "contents": "TF_DMG_CUSTOM_MERASMUS_ZAP$0", + "kind": "keyword", + "details": "59" + }, + { + "trigger": "TF_DMG_CUSTOM_MINIGUN", + "annotation": "TF_DMG_CUSTOM_MINIGUN", + "contents": "TF_DMG_CUSTOM_MINIGUN$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "TF_DMG_CUSTOM_NONE", + "annotation": "TF_DMG_CUSTOM_NONE", + "contents": "TF_DMG_CUSTOM_NONE$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "TF_DMG_CUSTOM_PENETRATE_ALL_PLAYERS", + "annotation": "TF_DMG_CUSTOM_PENETRATE_ALL_PLAYERS", + "contents": "TF_DMG_CUSTOM_PENETRATE_ALL_PLAYERS$0", + "kind": "keyword", + "details": "12" + }, + { + "trigger": "TF_DMG_CUSTOM_PENETRATE_MY_TEAM", + "annotation": "TF_DMG_CUSTOM_PENETRATE_MY_TEAM", + "contents": "TF_DMG_CUSTOM_PENETRATE_MY_TEAM$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "TF_DMG_CUSTOM_PENETRATE_NONBURNING_TEAMMATE", + "annotation": "TF_DMG_CUSTOM_PENETRATE_NONBURNING_TEAMMATE", + "contents": "TF_DMG_CUSTOM_PENETRATE_NONBURNING_TEAMMATE$0", + "kind": "keyword", + "details": "14" + }, + { + "trigger": "TF_DMG_CUSTOM_PICKAXE", + "annotation": "TF_DMG_CUSTOM_PICKAXE", + "contents": "TF_DMG_CUSTOM_PICKAXE$0", + "kind": "keyword", + "details": "27" + }, + { + "trigger": "TF_DMG_CUSTOM_PLASMA", + "annotation": "TF_DMG_CUSTOM_PLASMA", + "contents": "TF_DMG_CUSTOM_PLASMA$0", + "kind": "keyword", + "details": "46" + }, + { + "trigger": "TF_DMG_CUSTOM_PLASMA_CHARGED", + "annotation": "TF_DMG_CUSTOM_PLASMA_CHARGED", + "contents": "TF_DMG_CUSTOM_PLASMA_CHARGED$0", + "kind": "keyword", + "details": "47" + }, + { + "trigger": "TF_DMG_CUSTOM_PLASMA_GIB", + "annotation": "TF_DMG_CUSTOM_PLASMA_GIB", + "contents": "TF_DMG_CUSTOM_PLASMA_GIB$0", + "kind": "keyword", + "details": "48" + }, + { + "trigger": "TF_DMG_CUSTOM_PLAYER_SENTRY", + "annotation": "TF_DMG_CUSTOM_PLAYER_SENTRY", + "contents": "TF_DMG_CUSTOM_PLAYER_SENTRY$0", + "kind": "keyword", + "details": "30" + }, + { + "trigger": "TF_DMG_CUSTOM_PRACTICE_STICKY", + "annotation": "TF_DMG_CUSTOM_PRACTICE_STICKY", + "contents": "TF_DMG_CUSTOM_PRACTICE_STICKY$0", + "kind": "keyword", + "details": "49" + }, + { + "trigger": "TF_DMG_CUSTOM_PUMPKIN_BOMB", + "annotation": "TF_DMG_CUSTOM_PUMPKIN_BOMB", + "contents": "TF_DMG_CUSTOM_PUMPKIN_BOMB$0", + "kind": "keyword", + "details": "19" + }, + { + "trigger": "TF_DMG_CUSTOM_ROCKET_DIRECTHIT", + "annotation": "TF_DMG_CUSTOM_ROCKET_DIRECTHIT", + "contents": "TF_DMG_CUSTOM_ROCKET_DIRECTHIT$0", + "kind": "keyword", + "details": "28" + }, + { + "trigger": "TF_DMG_CUSTOM_RUNE_REFLECT", + "annotation": "TF_DMG_CUSTOM_RUNE_REFLECT", + "contents": "TF_DMG_CUSTOM_RUNE_REFLECT$0", + "kind": "keyword", + "details": "77" + }, + { + "trigger": "TF_DMG_CUSTOM_SAPPER_RECORDER_DEATH", + "annotation": "TF_DMG_CUSTOM_SAPPER_RECORDER_DEATH", + "contents": "TF_DMG_CUSTOM_SAPPER_RECORDER_DEATH$0", + "kind": "keyword", + "details": "56" + }, + { + "trigger": "TF_DMG_CUSTOM_SHOTGUN_REVENGE_CRIT", + "annotation": "TF_DMG_CUSTOM_SHOTGUN_REVENGE_CRIT", + "contents": "TF_DMG_CUSTOM_SHOTGUN_REVENGE_CRIT$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "TF_DMG_CUSTOM_SLAP_KILL", + "annotation": "TF_DMG_CUSTOM_SLAP_KILL", + "contents": "TF_DMG_CUSTOM_SLAP_KILL$0", + "kind": "keyword", + "details": "80" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_BATS", + "annotation": "TF_DMG_CUSTOM_SPELL_BATS", + "contents": "TF_DMG_CUSTOM_SPELL_BATS$0", + "kind": "keyword", + "details": "73" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_BLASTJUMP", + "annotation": "TF_DMG_CUSTOM_SPELL_BLASTJUMP", + "contents": "TF_DMG_CUSTOM_SPELL_BLASTJUMP$0", + "kind": "keyword", + "details": "72" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_FIREBALL", + "annotation": "TF_DMG_CUSTOM_SPELL_FIREBALL", + "contents": "TF_DMG_CUSTOM_SPELL_FIREBALL$0", + "kind": "keyword", + "details": "70" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_LIGHTNING", + "annotation": "TF_DMG_CUSTOM_SPELL_LIGHTNING", + "contents": "TF_DMG_CUSTOM_SPELL_LIGHTNING$0", + "kind": "keyword", + "details": "69" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_METEOR", + "annotation": "TF_DMG_CUSTOM_SPELL_METEOR", + "contents": "TF_DMG_CUSTOM_SPELL_METEOR$0", + "kind": "keyword", + "details": "68" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_MIRV", + "annotation": "TF_DMG_CUSTOM_SPELL_MIRV", + "contents": "TF_DMG_CUSTOM_SPELL_MIRV$0", + "kind": "keyword", + "details": "67" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_MONOCULUS", + "annotation": "TF_DMG_CUSTOM_SPELL_MONOCULUS", + "contents": "TF_DMG_CUSTOM_SPELL_MONOCULUS$0", + "kind": "keyword", + "details": "71" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_SKELETON", + "annotation": "TF_DMG_CUSTOM_SPELL_SKELETON", + "contents": "TF_DMG_CUSTOM_SPELL_SKELETON$0", + "kind": "keyword", + "details": "66" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_TELEPORT", + "annotation": "TF_DMG_CUSTOM_SPELL_TELEPORT", + "contents": "TF_DMG_CUSTOM_SPELL_TELEPORT$0", + "kind": "keyword", + "details": "65" + }, + { + "trigger": "TF_DMG_CUSTOM_SPELL_TINY", + "annotation": "TF_DMG_CUSTOM_SPELL_TINY", + "contents": "TF_DMG_CUSTOM_SPELL_TINY$0", + "kind": "keyword", + "details": "74" + }, + { + "trigger": "TF_DMG_CUSTOM_STANDARD_STICKY", + "annotation": "TF_DMG_CUSTOM_STANDARD_STICKY", + "contents": "TF_DMG_CUSTOM_STANDARD_STICKY$0", + "kind": "keyword", + "details": "31" + }, + { + "trigger": "TF_DMG_CUSTOM_STICKBOMB_EXPLOSION", + "annotation": "TF_DMG_CUSTOM_STICKBOMB_EXPLOSION", + "contents": "TF_DMG_CUSTOM_STICKBOMB_EXPLOSION$0", + "kind": "keyword", + "details": "42" + }, + { + "trigger": "TF_DMG_CUSTOM_SUICIDE", + "annotation": "TF_DMG_CUSTOM_SUICIDE", + "contents": "TF_DMG_CUSTOM_SUICIDE$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_ALLCLASS_GUITAR_RIFF", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_ALLCLASS_GUITAR_RIFF", + "contents": "TF_DMG_CUSTOM_TAUNTATK_ALLCLASS_GUITAR_RIFF$0", + "kind": "keyword", + "details": "62" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_ARMAGEDDON", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_ARMAGEDDON", + "contents": "TF_DMG_CUSTOM_TAUNTATK_ARMAGEDDON$0", + "kind": "keyword", + "details": "52" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_ARROW_STAB", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_ARROW_STAB", + "contents": "TF_DMG_CUSTOM_TAUNTATK_ARROW_STAB$0", + "kind": "keyword", + "details": "15" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_BARBARIAN_SWING", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_BARBARIAN_SWING", + "contents": "TF_DMG_CUSTOM_TAUNTATK_BARBARIAN_SWING$0", + "kind": "keyword", + "details": "24" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_ARM_KILL", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_ARM_KILL", + "contents": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_ARM_KILL$0", + "kind": "keyword", + "details": "38" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_GUITAR_SMASH", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_GUITAR_SMASH", + "contents": "TF_DMG_CUSTOM_TAUNTATK_ENGINEER_GUITAR_SMASH$0", + "kind": "keyword", + "details": "33" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_FENCING", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_FENCING", + "contents": "TF_DMG_CUSTOM_TAUNTATK_FENCING$0", + "kind": "keyword", + "details": "13" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_GASBLAST", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_GASBLAST", + "contents": "TF_DMG_CUSTOM_TAUNTATK_GASBLAST$0", + "kind": "keyword", + "details": "82" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_GRAND_SLAM", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_GRAND_SLAM", + "contents": "TF_DMG_CUSTOM_TAUNTATK_GRAND_SLAM$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_GRENADE", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_GRENADE", + "contents": "TF_DMG_CUSTOM_TAUNTATK_GRENADE$0", + "kind": "keyword", + "details": "21" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_HADOUKEN", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_HADOUKEN", + "contents": "TF_DMG_CUSTOM_TAUNTATK_HADOUKEN$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_HIGH_NOON", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_HIGH_NOON", + "contents": "TF_DMG_CUSTOM_TAUNTATK_HIGH_NOON$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "TF_DMG_CUSTOM_TAUNTATK_UBERSLICE", + "annotation": "TF_DMG_CUSTOM_TAUNTATK_UBERSLICE", + "contents": "TF_DMG_CUSTOM_TAUNTATK_UBERSLICE$0", + "kind": "keyword", + "details": "29" + }, + { + "trigger": "TF_DMG_CUSTOM_TELEFRAG", + "annotation": "TF_DMG_CUSTOM_TELEFRAG", + "contents": "TF_DMG_CUSTOM_TELEFRAG$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "TF_DMG_CUSTOM_THROWABLE", + "annotation": "TF_DMG_CUSTOM_THROWABLE", + "contents": "TF_DMG_CUSTOM_THROWABLE$0", + "kind": "keyword", + "details": "63" + }, + { + "trigger": "TF_DMG_CUSTOM_THROWABLE_KILL", + "annotation": "TF_DMG_CUSTOM_THROWABLE_KILL", + "contents": "TF_DMG_CUSTOM_THROWABLE_KILL$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "TF_DMG_CUSTOM_TRIGGER_HURT", + "annotation": "TF_DMG_CUSTOM_TRIGGER_HURT", + "contents": "TF_DMG_CUSTOM_TRIGGER_HURT$0", + "kind": "keyword", + "details": "40" + }, + { + "trigger": "TF_DMG_WRENCH_FIX", + "annotation": "TF_DMG_WRENCH_FIX", + "contents": "TF_DMG_WRENCH_FIX$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "TF_NAV_BLOCKED", + "annotation": "TF_NAV_BLOCKED", + "contents": "TF_NAV_BLOCKED$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "TF_NAV_BLOCKED_AFTER_POINT_CAPTURE", + "annotation": "TF_NAV_BLOCKED_AFTER_POINT_CAPTURE", + "contents": "TF_NAV_BLOCKED_AFTER_POINT_CAPTURE$0", + "kind": "keyword", + "details": "8192" + }, + { + "trigger": "TF_NAV_BLOCKED_UNTIL_POINT_CAPTURE", + "annotation": "TF_NAV_BLOCKED_UNTIL_POINT_CAPTURE", + "contents": "TF_NAV_BLOCKED_UNTIL_POINT_CAPTURE$0", + "kind": "keyword", + "details": "16384" + }, + { + "trigger": "TF_NAV_BLUE_ONE_WAY_DOOR", + "annotation": "TF_NAV_BLUE_ONE_WAY_DOOR", + "contents": "TF_NAV_BLUE_ONE_WAY_DOOR$0", + "kind": "keyword", + "details": "32768" + }, + { + "trigger": "TF_NAV_BLUE_SENTRY_DANGER", + "annotation": "TF_NAV_BLUE_SENTRY_DANGER", + "contents": "TF_NAV_BLUE_SENTRY_DANGER$0", + "kind": "keyword", + "details": "128" + }, + { + "trigger": "TF_NAV_BLUE_SETUP_GATE", + "annotation": "TF_NAV_BLUE_SETUP_GATE", + "contents": "TF_NAV_BLUE_SETUP_GATE$0", + "kind": "keyword", + "details": "2048" + }, + { + "trigger": "TF_NAV_BOMB_CAN_DROP_HERE", + "annotation": "TF_NAV_BOMB_CAN_DROP_HERE", + "contents": "TF_NAV_BOMB_CAN_DROP_HERE$0", + "kind": "keyword", + "details": "134217728" + }, + { + "trigger": "TF_NAV_CONTROL_POINT", + "annotation": "TF_NAV_CONTROL_POINT", + "contents": "TF_NAV_CONTROL_POINT$0", + "kind": "keyword", + "details": "64" + }, + { + "trigger": "TF_NAV_DOOR_ALWAYS_BLOCKS", + "annotation": "TF_NAV_DOOR_ALWAYS_BLOCKS", + "contents": "TF_NAV_DOOR_ALWAYS_BLOCKS$0", + "kind": "keyword", + "details": "536870912" + }, + { + "trigger": "TF_NAV_DOOR_NEVER_BLOCKS", + "annotation": "TF_NAV_DOOR_NEVER_BLOCKS", + "contents": "TF_NAV_DOOR_NEVER_BLOCKS$0", + "kind": "keyword", + "details": "268435456" + }, + { + "trigger": "TF_NAV_ESCAPE_ROUTE", + "annotation": "TF_NAV_ESCAPE_ROUTE", + "contents": "TF_NAV_ESCAPE_ROUTE$0", + "kind": "keyword", + "details": "8388608" + }, + { + "trigger": "TF_NAV_ESCAPE_ROUTE_VISIBLE", + "annotation": "TF_NAV_ESCAPE_ROUTE_VISIBLE", + "contents": "TF_NAV_ESCAPE_ROUTE_VISIBLE$0", + "kind": "keyword", + "details": "16777216" + }, + { + "trigger": "TF_NAV_HAS_AMMO", + "annotation": "TF_NAV_HAS_AMMO", + "contents": "TF_NAV_HAS_AMMO$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "TF_NAV_HAS_HEALTH", + "annotation": "TF_NAV_HAS_HEALTH", + "contents": "TF_NAV_HAS_HEALTH$0", + "kind": "keyword", + "details": "32" + }, + { + "trigger": "TF_NAV_INVALID", + "annotation": "TF_NAV_INVALID", + "contents": "TF_NAV_INVALID$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "TF_NAV_NO_SPAWNING", + "annotation": "TF_NAV_NO_SPAWNING", + "contents": "TF_NAV_NO_SPAWNING$0", + "kind": "keyword", + "details": "33554432" + }, + { + "trigger": "TF_NAV_PERSISTENT_ATTRIBUTES", + "annotation": "TF_NAV_PERSISTENT_ATTRIBUTES", + "contents": "TF_NAV_PERSISTENT_ATTRIBUTES$0", + "kind": "keyword", + "details": "198809804" + }, + { + "trigger": "TF_NAV_RED_ONE_WAY_DOOR", + "annotation": "TF_NAV_RED_ONE_WAY_DOOR", + "contents": "TF_NAV_RED_ONE_WAY_DOOR$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "TF_NAV_RED_SENTRY_DANGER", + "annotation": "TF_NAV_RED_SENTRY_DANGER", + "contents": "TF_NAV_RED_SENTRY_DANGER$0", + "kind": "keyword", + "details": "256" + }, + { + "trigger": "TF_NAV_RED_SETUP_GATE", + "annotation": "TF_NAV_RED_SETUP_GATE", + "contents": "TF_NAV_RED_SETUP_GATE$0", + "kind": "keyword", + "details": "4096" + }, + { + "trigger": "TF_NAV_RESCUE_CLOSET", + "annotation": "TF_NAV_RESCUE_CLOSET", + "contents": "TF_NAV_RESCUE_CLOSET$0", + "kind": "keyword", + "details": "67108864" + }, + { + "trigger": "TF_NAV_SENTRY_SPOT", + "annotation": "TF_NAV_SENTRY_SPOT", + "contents": "TF_NAV_SENTRY_SPOT$0", + "kind": "keyword", + "details": "4194304" + }, + { + "trigger": "TF_NAV_SNIPER_SPOT", + "annotation": "TF_NAV_SNIPER_SPOT", + "contents": "TF_NAV_SNIPER_SPOT$0", + "kind": "keyword", + "details": "2097152" + }, + { + "trigger": "TF_NAV_SPAWN_ROOM_BLUE", + "annotation": "TF_NAV_SPAWN_ROOM_BLUE", + "contents": "TF_NAV_SPAWN_ROOM_BLUE$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "TF_NAV_SPAWN_ROOM_EXIT", + "annotation": "TF_NAV_SPAWN_ROOM_EXIT", + "contents": "TF_NAV_SPAWN_ROOM_EXIT$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "TF_NAV_SPAWN_ROOM_RED", + "annotation": "TF_NAV_SPAWN_ROOM_RED", + "contents": "TF_NAV_SPAWN_ROOM_RED$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "TF_NAV_UNBLOCKABLE", + "annotation": "TF_NAV_UNBLOCKABLE", + "contents": "TF_NAV_UNBLOCKABLE$0", + "kind": "keyword", + "details": "1073741824" + }, + { + "trigger": "TF_NAV_WITH_FIFTH_POINT", + "annotation": "TF_NAV_WITH_FIFTH_POINT", + "contents": "TF_NAV_WITH_FIFTH_POINT$0", + "kind": "keyword", + "details": "1048576" + }, + { + "trigger": "TF_NAV_WITH_FOURTH_POINT", + "annotation": "TF_NAV_WITH_FOURTH_POINT", + "contents": "TF_NAV_WITH_FOURTH_POINT$0", + "kind": "keyword", + "details": "524288" + }, + { + "trigger": "TF_NAV_WITH_SECOND_POINT", + "annotation": "TF_NAV_WITH_SECOND_POINT", + "contents": "TF_NAV_WITH_SECOND_POINT$0", + "kind": "keyword", + "details": "131072" + }, + { + "trigger": "TF_NAV_WITH_THIRD_POINT", + "annotation": "TF_NAV_WITH_THIRD_POINT", + "contents": "TF_NAV_WITH_THIRD_POINT$0", + "kind": "keyword", + "details": "262144" + }, + { + "trigger": "TF_TEAM_BLUE", + "annotation": "TF_TEAM_BLUE", + "contents": "TF_TEAM_BLUE$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "TF_TEAM_COUNT", + "annotation": "TF_TEAM_COUNT", + "contents": "TF_TEAM_COUNT$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "TF_TEAM_PVE_DEFENDERS", + "annotation": "TF_TEAM_PVE_DEFENDERS", + "contents": "TF_TEAM_PVE_DEFENDERS$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "TF_TEAM_PVE_INVADERS", + "annotation": "TF_TEAM_PVE_INVADERS", + "contents": "TF_TEAM_PVE_INVADERS$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "TF_TEAM_PVE_INVADERS_GIANTS", + "annotation": "TF_TEAM_PVE_INVADERS_GIANTS", + "contents": "TF_TEAM_PVE_INVADERS_GIANTS$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "TF_TEAM_RED", + "annotation": "TF_TEAM_RED", + "contents": "TF_TEAM_RED$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "TakeDamage", + "annotation": "void TakeDamage(float flDamage, int nDamageType, handle hAttacker)", + "contents": "TakeDamage(${1:float flDamage}, ${2:int nDamageType}, ${3:handle hAttacker})$0", + "kind": "keyword", + "details": "Deals damage to the entity." + }, + { + "trigger": "TakeDamageCustom", + "annotation": "void TakeDamageCustom(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType, Constants.ETFDmgCustom nCustomDamageType)", + "contents": "TakeDamageCustom(${1:handle hInflictor}, ${2:handle hAttacker}, ${3:handle hWeapon}, ${4:Vector vecDamageForce}, ${5:Vector vecDamagePosition}, ${6:float flDamage}, ${7:int nDamageType}, ${8:Constants.ETFDmgCustom nCustomDamageType})$0", + "kind": "keyword", + "details": "Extended version of TakeDamageEx that can apply a custom damage type." + }, + { + "trigger": "TakeDamageEx", + "annotation": "void TakeDamageEx(handle hInflictor, handle hAttacker, handle hWeapon, Vector vecDamageForce, Vector vecDamagePosition, float flDamage, int nDamageType)", + "contents": "TakeDamageEx(${1:handle hInflictor}, ${2:handle hAttacker}, ${3:handle hWeapon}, ${4:Vector vecDamageForce}, ${5:Vector vecDamagePosition}, ${6:float flDamage}, ${7:int nDamageType})$0", + "kind": "keyword", + "details": "Extended version of TakeDamage." + }, + { + "trigger": "Tau", + "annotation": "Tau", + "contents": "Tau$0", + "kind": "keyword", + "details": "6.28319" + }, + { + "trigger": "Taunt", + "annotation": "void Taunt(int taunt_index, int taunt_concept)", + "contents": "Taunt(${1:int taunt_index}, ${2:int taunt_concept})$0", + "kind": "keyword", + "details": "Performs a taunt if allowed. For taunt index, see Constants.FTaunts. For concepts, see MP_CONCEPT List. Concept is the \"voiceline\" index to use with the taunt. For TAUNT_SHOW_ITEM and TAUNT_BASE_WEAPON this is set automatically. TAUNT_LONG is not supported." + }, + { + "trigger": "Teleport", + "annotation": "void Teleport(bool use_origin, Vector origin, bool use_angles, QAngle angles, bool use_velocity, Vector velocity)", + "contents": "Teleport(${1:bool use_origin}, ${2:Vector origin}, ${3:bool use_angles}, ${4:QAngle angles}, ${5:bool use_velocity}, ${6:Vector velocity})$0", + "kind": "keyword", + "details": "Teleports this entity. For this function, set the bools to false if you want that entity's property unchanged. (do not use null arguments!)" + }, + { + "trigger": "TerminateScriptScope", + "annotation": "void TerminateScriptScope()", + "contents": "TerminateScriptScope()$0", + "kind": "keyword", + "details": "Clear the current script scope for this entity" + }, + { + "trigger": "Time", + "annotation": "float Time()", + "contents": "Time()$0", + "kind": "keyword", + "details": "Get the current server time" + }, + { + "trigger": "ToKVString", + "annotation": "string ToKVString()", + "contents": "ToKVString()$0", + "kind": "keyword", + "details": "Returns a string with the values separated by one space." + }, + { + "trigger": "ToQAngle", + "annotation": "QAngle ToQAngle()", + "contents": "ToQAngle()$0", + "kind": "keyword", + "details": "Returns the angles resulting from the rotation." + }, + { + "trigger": "ToQuat", + "annotation": "Quaternion ToQuat()", + "contents": "ToQuat()$0", + "kind": "keyword", + "details": "Returns a quaternion representation of the orientation." + }, + { + "trigger": "ToggleFlag", + "annotation": "ToggleFlag(int flags)", + "contents": "ToggleFlag(${1:int flags})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "TraceHull", + "annotation": "bool TraceHull(table traceTable)", + "contents": "TraceHull(${1:table traceTable})$0", + "kind": "keyword", + "details": "Input Table: start, end, hullmin, hullmax, mask (optional), ignore (optional). Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props. Returns false if start, end, hullmin or hullmax is not specified." + }, + { + "trigger": "TraceLine", + "annotation": "float TraceLine(Vector start, Vector end, handle ignore)", + "contents": "TraceLine(${1:Vector start}, ${2:Vector end}, ${3:handle ignore})$0", + "kind": "keyword", + "details": "Return fraction along line that hits world or models" + }, + { + "trigger": "TraceLineEx", + "annotation": "bool TraceLineEx(table traceTable)", + "contents": "TraceLineEx(${1:table traceTable})$0", + "kind": "keyword", + "details": "Input Table: start, end, mask (optional), ignore (optional). Output Table: pos, fraction, hit, enthit, allsolid, startpos, endpos, startsolid, plane_normal, plane_dist, surface_name, surface_flags, surface_props. Returns false if start or end is not specified." + }, + { + "trigger": "TraceLinePlayersIncluded", + "annotation": "float TraceLinePlayersIncluded(Vector, Vector, handle)", + "contents": "TraceLinePlayersIncluded(${1:Vector}, ${2:Vector}, ${3:handle})$0", + "kind": "keyword", + "details": "given 2 points & ent to ignore, return fraction along line that hits world, models, players or npcs" + }, + { + "trigger": "TryToPickupBuilding", + "annotation": "bool TryToPickupBuilding()", + "contents": "TryToPickupBuilding()$0", + "kind": "keyword", + "details": "Make the player attempt to pick up a building in front of them" + }, + { + "trigger": "UNDEFINED", + "annotation": "UNDEFINED", + "contents": "UNDEFINED$0", + "kind": "keyword", + "details": "-1" + }, + { + "trigger": "UP", + "annotation": "UP", + "contents": "UP$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "USE_BOSS_HEALTH_BAR", + "annotation": "USE_BOSS_HEALTH_BAR", + "contents": "USE_BOSS_HEALTH_BAR$0", + "kind": "keyword", + "details": "65536" + }, + { + "trigger": "UnblockArea", + "annotation": "void UnblockArea()", + "contents": "UnblockArea()$0", + "kind": "keyword", + "details": "Unblocks this area." + }, + { + "trigger": "UnhookRootMetamethod", + "annotation": "UnhookRootMetamethod()", + "contents": "UnhookRootMetamethod()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "UniqueString", + "annotation": "string UniqueString(string input)", + "contents": "UniqueString(${1:string input})$0", + "kind": "keyword", + "details": "Generate a string guaranteed to be unique across the life of the script VM, with an optional root string. Useful for adding data to tables when not sure what keys are already in use in that table." + }, + { + "trigger": "UnregisterAvoidanceObstacle", + "annotation": "void UnregisterAvoidanceObstacle(handle entity)", + "contents": "UnregisterAvoidanceObstacle(${1:handle entity})$0", + "kind": "keyword", + "details": "unregisters avoidance obstacle" + }, + { + "trigger": "Up", + "annotation": "Vector Up()", + "contents": "Up()$0", + "kind": "keyword", + "details": "Returns the Up Vector of the angles." + }, + { + "trigger": "UpdateDelayedThreatNotices", + "annotation": "void UpdateDelayedThreatNotices()", + "contents": "UpdateDelayedThreatNotices()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "UpdateSkin", + "annotation": "void UpdateSkin(int skin)", + "contents": "UpdateSkin(${1:int skin})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "UsePlayerReadyStatusMode", + "annotation": "bool UsePlayerReadyStatusMode()", + "contents": "UsePlayerReadyStatusMode()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "UsesClipsForAmmo1", + "annotation": "bool UsesClipsForAmmo1()", + "contents": "UsesClipsForAmmo1()$0", + "kind": "keyword", + "details": "Do we use clips for ammo 1?" + }, + { + "trigger": "UsesClipsForAmmo2", + "annotation": "bool UsesClipsForAmmo2()", + "contents": "UsesClipsForAmmo2()$0", + "kind": "keyword", + "details": "Do we use clips for ammo 2?" + }, + { + "trigger": "UsesPrimaryAmmo", + "annotation": "bool UsesPrimaryAmmo()", + "contents": "UsesPrimaryAmmo()$0", + "kind": "keyword", + "details": "Do we use primary ammo?" + }, + { + "trigger": "UsesSecondaryAmmo", + "annotation": "bool UsesSecondaryAmmo()", + "contents": "UsesSecondaryAmmo()$0", + "kind": "keyword", + "details": "Do we use secondary ammo?" + }, + { + "trigger": "VSquirrel_OnCreateScope", + "annotation": "table VSquirrel_OnCreateScope(any value, table scope)", + "contents": "VSquirrel_OnCreateScope(${1:any value}, ${2:table scope})$0", + "kind": "keyword", + "details": "Creates a new scope with the name of value in the submitted table (includes unique params)." + }, + { + "trigger": "VSquirrel_OnReleaseScope", + "annotation": "void VSquirrel_OnReleaseScope(table createdScope)", + "contents": "VSquirrel_OnReleaseScope(${1:table createdScope})$0", + "kind": "keyword", + "details": "Removes a scope created via VSquirrel_OnCreateScope." + }, + { + "trigger": "ValidateScriptScope", + "annotation": "bool ValidateScriptScope()", + "contents": "ValidateScriptScope()$0", + "kind": "keyword", + "details": "Ensure that an entity's script scope has been created" + }, + { + "trigger": "Vector", + "annotation": "Vector(float x = 0, float y = 0, float z = 0)", + "contents": "Vector(${1:float x = 0}, ${2:float y = 0}, ${3:float z = 0})$0", + "kind": "keyword", + "details": "Creates a new vector with the specified Cartesian coordiantes." + }, + { + "trigger": "Vector2D", + "annotation": "Vector2D(float x, float y)", + "contents": "Vector2D(${1:float x}, ${2:float y})$0", + "kind": "keyword", + "details": "Creates a new 2D vector with the specified Cartesian coordiantes." + }, + { + "trigger": "Vector4D", + "annotation": "Vector4D(float x, float y, float z, float w)", + "contents": "Vector4D(${1:float x}, ${2:float y}, ${3:float z}, ${4:float w})$0", + "kind": "keyword", + "details": "Creates a new 4D vector with the specified Cartesian coordiantes." + }, + { + "trigger": "ViewPunch", + "annotation": "void ViewPunch(QAngle angleOffset)", + "contents": "ViewPunch(${1:QAngle angleOffset})$0", + "kind": "keyword", + "details": "Ow! Punches the player's view" + }, + { + "trigger": "ViewPunchReset", + "annotation": "void ViewPunchReset(float tolerance)", + "contents": "ViewPunchReset(${1:float tolerance})$0", + "kind": "keyword", + "details": "Reset's the player's view punch if the offset stays below the given tolerance." + }, + { + "trigger": "VisibleInWeaponSelection", + "annotation": "bool VisibleInWeaponSelection()", + "contents": "VisibleInWeaponSelection()$0", + "kind": "keyword", + "details": "Is this weapon visible in weapon selection" + }, + { + "trigger": "WEST", + "annotation": "WEST", + "contents": "WEST$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "Walk", + "annotation": "void Walk()", + "contents": "Walk()$0", + "kind": "keyword", + "details": "Set desired movement speed to walking" + }, + { + "trigger": "WasInCond", + "annotation": "bool WasInCond(ETFCond cond)", + "contents": "WasInCond(${1:ETFCond cond})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Weapon_CanUse", + "annotation": "bool Weapon_CanUse(handle weapon)", + "contents": "Weapon_CanUse(${1:handle weapon})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Weapon_Drop", + "annotation": "void Weapon_Drop(handle weapon)", + "contents": "Weapon_Drop(${1:handle weapon})$0", + "kind": "keyword", + "details": "Does nothing!" + }, + { + "trigger": "Weapon_Drop", + "annotation": "void Weapon_Drop(handle weapon, Vector target, Vector velocity)", + "contents": "Weapon_Drop(${1:handle weapon}, ${2:Vector target}, ${3:Vector velocity})$0", + "kind": "keyword", + "details": "Does nothing!" + }, + { + "trigger": "Weapon_Equip", + "annotation": "void Weapon_Equip(handle weapon)", + "contents": "Weapon_Equip(${1:handle weapon})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Weapon_SetLast", + "annotation": "void Weapon_SetLast(handle weapon)", + "contents": "Weapon_SetLast(${1:handle weapon})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Weapon_ShootPosition", + "annotation": "vector Weapon_ShootPosition()", + "contents": "Weapon_ShootPosition()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Weapon_Switch", + "annotation": "void Weapon_Switch(handle weapon)", + "contents": "Weapon_Switch(${1:handle weapon})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "Yaw", + "annotation": "float Yaw()", + "contents": "Yaw()$0", + "kind": "keyword", + "details": "Returns the yaw angle in degrees." + }, + { + "trigger": "Zero", + "annotation": "Zero", + "contents": "Zero$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "_PublishedHelp", + "annotation": "_PublishedHelp", + "contents": "_PublishedHelp$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "__CollectEventCallbacks", + "annotation": "void __CollectEventCallbacks(scope, prefix, globalTableName, regFunc)", + "contents": "__CollectEventCallbacks(${1:scope}, ${2:prefix}, ${3:globalTableName}, ${4:regFunc})$0", + "kind": "keyword", + "details": "Overloaded function. Its only used for this: __CollectEventCallbacks(scope, \"OnGameEvent_\", \"GameEventCallbacks\", ::RegisterScriptGameEventListener)" + }, + { + "trigger": "__CollectGameEventCallbacks", + "annotation": "void __CollectGameEventCallbacks(table scope)", + "contents": "__CollectGameEventCallbacks(${1:table scope})$0", + "kind": "keyword", + "details": "Wrapper that registers callbacks for both OnGameEvent_x and OnScriptEvent_ functions. Done using the __CollectEventCallbacks function." + }, + { + "trigger": "__DumpScope", + "annotation": "void __DumpScope(int indentation, handle scope)", + "contents": "__DumpScope(${1:int indentation}, ${2:handle scope})$0", + "kind": "keyword", + "details": "Dumps a scope's contents and expands all tables and arrays; this is what the ent_script_dump command uses." + }, + { + "trigger": "__FILE__", + "annotation": "__FILE__", + "contents": "__FILE__$0", + "kind": "keyword", + "details": "File name of the currently executing script" + }, + { + "trigger": "__KeyValueFromFloat", + "annotation": "bool __KeyValueFromFloat(string key, float value)", + "contents": "__KeyValueFromFloat(${1:string key}, ${2:float value})$0", + "kind": "keyword", + "details": "Behaves the same as KeyValueFromFloat, use that instead." + }, + { + "trigger": "__KeyValueFromInt", + "annotation": "bool __KeyValueFromInt(string key, int value)", + "contents": "__KeyValueFromInt(${1:string key}, ${2:int value})$0", + "kind": "keyword", + "details": "Behaves the same as KeyValueFromInt, use that instead." + }, + { + "trigger": "__KeyValueFromString", + "annotation": "bool __KeyValueFromString(string key, string value)", + "contents": "__KeyValueFromString(${1:string key}, ${2:string value})$0", + "kind": "keyword", + "details": "Behaves the same as KeyValueFromString, use that instead." + }, + { + "trigger": "__KeyValueFromVector", + "annotation": "bool __KeyValueFromVector(string key, Vector value)", + "contents": "__KeyValueFromVector(${1:string key}, ${2:Vector value})$0", + "kind": "keyword", + "details": "Behaves the same as KeyValueFromVector, use that instead." + }, + { + "trigger": "__LINE__", + "annotation": "__LINE__", + "contents": "__LINE__$0", + "kind": "keyword", + "details": "Line number of the currently executing code" + }, + { + "trigger": "__ReplaceClosures", + "annotation": "void __ReplaceClosures(script, scope)", + "contents": "__ReplaceClosures(${1:script}, ${2:scope})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "__RunEventCallbacks", + "annotation": "void __RunEventCallbacks(event, params, prefix, globalTableName, bWarnIfMissing)", + "contents": "__RunEventCallbacks(${1:event}, ${2:params}, ${3:prefix}, ${4:globalTableName}, ${5:bWarnIfMissing})$0", + "kind": "keyword", + "details": "Call all functions in the callback array for the given game event" + }, + { + "trigger": "__RunGameEventCallbacks", + "annotation": "void __RunGameEventCallbacks(event, params)", + "contents": "__RunGameEventCallbacks(${1:event}, ${2:params})$0", + "kind": "keyword", + "details": "Wrapper for __RunEventCallbacks()" + }, + { + "trigger": "__RunScriptHookCallbacks", + "annotation": "void __RunScriptHookCallbacks()", + "contents": "__RunScriptHookCallbacks()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "__VScriptServerDebugHook", + "annotation": "__VScriptServerDebugHook()", + "contents": "__VScriptServerDebugHook()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "_charsize_", + "annotation": "_charsize_", + "contents": "_charsize_$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "_floatsize_", + "annotation": "_floatsize_", + "contents": "_floatsize_$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "_intsize_", + "annotation": "_intsize_", + "contents": "_intsize_$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "_version_", + "annotation": "_version_", + "contents": "_version_$0", + "kind": "keyword", + "details": "\"Squirrel 3.2 stable\"" + }, + { + "trigger": "_versionnumber_", + "annotation": "_versionnumber_", + "contents": "_versionnumber_$0", + "kind": "keyword", + "details": "320" + }, + { + "trigger": "abs", + "annotation": "abs(num x)", + "contents": "abs(${1:num x})$0", + "kind": "keyword", + "details": "Returns |x| as integer unlike fabs()" + }, + { + "trigger": "acos", + "annotation": "acos(num x)", + "contents": "acos(${1:num x})$0", + "kind": "keyword", + "details": "Returns cos^-1(x), -1 <= x <= 1" + }, + { + "trigger": "array", + "annotation": "array(int length, any fill = null)", + "contents": "array(${1:int length}, ${2:any fill = null})$0", + "kind": "keyword", + "details": "Returns a new array of the given length where each element is set to fill (null by default)." + }, + { + "trigger": "asin", + "annotation": "asin(num x)", + "contents": "asin(${1:num x})$0", + "kind": "keyword", + "details": "Returns sin^-1(x), -1 <= x <= 1" + }, + { + "trigger": "assert", + "annotation": "assert(bool exp)", + "contents": "assert(${1:bool exp})$0", + "kind": "keyword", + "details": "Throws an assertion error if the given expression evaluates to false (i.e. the values 0, 0.0, null and false)" + }, + { + "trigger": "atan", + "annotation": "atan(num x)", + "contents": "atan(${1:num x})$0", + "kind": "keyword", + "details": "Returns tan^-1(x)" + }, + { + "trigger": "atan2", + "annotation": "atan2(num y, num x) (!)", + "contents": "atan2(${1:num y}, ${2:num x) (!})$0", + "kind": "keyword", + "details": "Returns the angle between the ray from the point (0, 0) through (x, y) and the positive x-axis, confined to (-PI, PI). Note the order of the parameters x and y!" + }, + { + "trigger": "blob", + "annotation": "blob(int initSize = 0)", + "contents": "blob(${1:int initSize = 0})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "callee", + "annotation": "function callee()", + "contents": "callee()$0", + "kind": "keyword", + "details": "Returns the currently running closure." + }, + { + "trigger": "capture", + "annotation": "table capture(str, [start])", + "contents": "capture(${1:str}, ${2:[start]})$0", + "kind": "keyword", + "details": "Returns an array of tables containing two indexes (\"begin\" and \"end\") of the first match of the regular expression in the string str. An array entry is created for each captured sub expressions. If no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string." + }, + { + "trigger": "castf2i", + "annotation": "int castf2i(float value)", + "contents": "castf2i(${1:float value})$0", + "kind": "keyword", + "details": "Interprets the float's bytes as if it were a 32-bit integer representation" + }, + { + "trigger": "casti2f", + "annotation": "float casti2f(int value)", + "contents": "casti2f(${1:int value})$0", + "kind": "keyword", + "details": "Interprets the integer's bytes as if it were a floating-point encoding" + }, + { + "trigger": "ceil", + "annotation": "ceil(num x)", + "contents": "ceil(${1:num x})$0", + "kind": "keyword", + "details": "Returns the smallest integer that is >= x" + }, + { + "trigger": "chain", + "annotation": "chain", + "contents": "chain$0", + "kind": "keyword", + "details": "All functions to be called by the Call() method." + }, + { + "trigger": "chains", + "annotation": "chains", + "contents": "chains$0", + "kind": "keyword", + "details": "Contains names of unprefixed functions, each with an array of functions to call." + }, + { + "trigger": "collectgarbage", + "annotation": "int collectgarbage()", + "contents": "collectgarbage()$0", + "kind": "keyword", + "details": "Runs the garbage collector and returns the number of reference cycles found(and deleted) This function only works on garbage collector builds." + }, + { + "trigger": "compilestring", + "annotation": "any compilestring(string string, string buffername = null)", + "contents": "compilestring(${1:string string}, ${2:string buffername = null})$0", + "kind": "keyword", + "details": "Compiles a string containing a squirrel script into a function and returns it." + }, + { + "trigger": "cos", + "annotation": "cos(num x)", + "contents": "cos(${1:num x})$0", + "kind": "keyword", + "details": "Returns cos(x)" + }, + { + "trigger": "developer", + "annotation": "int developer()", + "contents": "developer()$0", + "kind": "keyword", + "details": "The current level of the developer console variable." + }, + { + "trigger": "dummy", + "annotation": "dummy()", + "contents": "dummy()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "enabledebuginfo", + "annotation": "void enabledebuginfo(any enable)", + "contents": "enabledebuginfo(${1:any enable})$0", + "kind": "keyword", + "details": "Enable/disable the debug line information generation at compile time. enable != null enables . enable == null disables." + }, + { + "trigger": "endswith", + "annotation": "bool endswith(string str, string cmp)", + "contents": "endswith(${1:string str}, ${2:string cmp})$0", + "kind": "keyword", + "details": "Returns true if the end of the string matches the comparison string." + }, + { + "trigger": "entindex", + "annotation": "int entindex()", + "contents": "entindex()$0", + "kind": "keyword", + "details": "Returns the entity index." + }, + { + "trigger": "eos", + "annotation": "int eos()", + "contents": "eos()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "error", + "annotation": "void error(string x)", + "contents": "error(${1:string x})$0", + "kind": "keyword", + "details": "Prints x in the standard error output ." + }, + { + "trigger": "escape", + "annotation": "string escape(string str)", + "contents": "escape(${1:string str})$0", + "kind": "keyword", + "details": "Returns a string with backslashes before characters that need to be escaped: “ a b t n v f r \ ” ’ 0 xNN" + }, + { + "trigger": "exactMatch", + "annotation": "exactMatch", + "contents": "exactMatch$0", + "kind": "keyword", + "details": "If set, names of non-native functions and prefix must be an exact match. Set by the constructor." + }, + { + "trigger": "exp", + "annotation": "exp(num x)", + "contents": "exp(${1:num x})$0", + "kind": "keyword", + "details": "Returns exp(x) = e^x" + }, + { + "trigger": "fabs", + "annotation": "fabs(num x)", + "contents": "fabs(${1:num x})$0", + "kind": "keyword", + "details": "Returns |x| as float unlike abs()" + }, + { + "trigger": "find", + "annotation": "int find(string searchString, int startIndex = null)", + "contents": "find(${1:string searchString}, ${2:int startIndex = null})$0", + "kind": "keyword", + "details": "Looks for the sub-string passed as its first parameter, starting at either the beginning of the string or at a specific character index if one is provided as a second parameter. If the sub-string is found, returns the index at which it first occurs, otherwise returns null." + }, + { + "trigger": "floor", + "annotation": "floor(num x)", + "contents": "floor(${1:num x})$0", + "kind": "keyword", + "details": "Returns the largest integer that is <= x" + }, + { + "trigger": "flush", + "annotation": "flush()", + "contents": "flush()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "format", + "annotation": "format(string format, args...)", + "contents": "format(${1:string format}, ${2:args...})$0", + "kind": "keyword", + "details": "Returns a formatted string. Same rules as the standard C functions (except * is not supported)." + }, + { + "trigger": "getconsttable", + "annotation": "table getconsttable()", + "contents": "getconsttable()$0", + "kind": "keyword", + "details": "Returns the const table of the VM." + }, + { + "trigger": "getroottable", + "annotation": "table getroottable()", + "contents": "getroottable()$0", + "kind": "keyword", + "details": "Returns the root table of the VM." + }, + { + "trigger": "getstackinfos", + "annotation": "table getstackinfos(int stacklevel)", + "contents": "getstackinfos(${1:int stacklevel})$0", + "kind": "keyword", + "details": "Returns the stack frame informations at the given stack level (0 is the current function 1 is the caller and so on). If the stack level doesn't exist the function returns null." + }, + { + "trigger": "kHolidayCount", + "annotation": "kHolidayCount", + "contents": "kHolidayCount$0", + "kind": "keyword", + "details": "14" + }, + { + "trigger": "kHoliday_AprilFools", + "annotation": "kHoliday_AprilFools", + "contents": "kHoliday_AprilFools$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "kHoliday_Christmas", + "annotation": "kHoliday_Christmas", + "contents": "kHoliday_Christmas$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "kHoliday_CommunityUpdate", + "annotation": "kHoliday_CommunityUpdate", + "contents": "kHoliday_CommunityUpdate$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "kHoliday_EOTL", + "annotation": "kHoliday_EOTL", + "contents": "kHoliday_EOTL$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "kHoliday_FullMoon", + "annotation": "kHoliday_FullMoon", + "contents": "kHoliday_FullMoon$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "kHoliday_Halloween", + "annotation": "kHoliday_Halloween", + "contents": "kHoliday_Halloween$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "kHoliday_HalloweenOrFullMoon", + "annotation": "kHoliday_HalloweenOrFullMoon", + "contents": "kHoliday_HalloweenOrFullMoon$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "kHoliday_HalloweenOrFullMoonOrValentines", + "annotation": "kHoliday_HalloweenOrFullMoonOrValentines", + "contents": "kHoliday_HalloweenOrFullMoonOrValentines$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "kHoliday_MeetThePyro", + "annotation": "kHoliday_MeetThePyro", + "contents": "kHoliday_MeetThePyro$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "kHoliday_None", + "annotation": "kHoliday_None", + "contents": "kHoliday_None$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "kHoliday_Soldier", + "annotation": "kHoliday_Soldier", + "contents": "kHoliday_Soldier$0", + "kind": "keyword", + "details": "12" + }, + { + "trigger": "kHoliday_Summer", + "annotation": "kHoliday_Summer", + "contents": "kHoliday_Summer$0", + "kind": "keyword", + "details": "13" + }, + { + "trigger": "kHoliday_TFBirthday", + "annotation": "kHoliday_TFBirthday", + "contents": "kHoliday_TFBirthday$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "kHoliday_Valentines", + "annotation": "kHoliday_Valentines", + "contents": "kHoliday_Valentines$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "kRenderEnvironmental", + "annotation": "kRenderEnvironmental", + "contents": "kRenderEnvironmental$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "kRenderFxClampMinScale", + "annotation": "kRenderFxClampMinScale", + "contents": "kRenderFxClampMinScale$0", + "kind": "keyword", + "details": "19" + }, + { + "trigger": "kRenderFxDistort", + "annotation": "kRenderFxDistort", + "contents": "kRenderFxDistort$0", + "kind": "keyword", + "details": "15" + }, + { + "trigger": "kRenderFxEnvRain", + "annotation": "kRenderFxEnvRain", + "contents": "kRenderFxEnvRain$0", + "kind": "keyword", + "details": "20" + }, + { + "trigger": "kRenderFxEnvSnow", + "annotation": "kRenderFxEnvSnow", + "contents": "kRenderFxEnvSnow$0", + "kind": "keyword", + "details": "21" + }, + { + "trigger": "kRenderFxExplode", + "annotation": "kRenderFxExplode", + "contents": "kRenderFxExplode$0", + "kind": "keyword", + "details": "17" + }, + { + "trigger": "kRenderFxFadeFast", + "annotation": "kRenderFxFadeFast", + "contents": "kRenderFxFadeFast$0", + "kind": "keyword", + "details": "6" + }, + { + "trigger": "kRenderFxFadeSlow", + "annotation": "kRenderFxFadeSlow", + "contents": "kRenderFxFadeSlow$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "kRenderFxFlickerFast", + "annotation": "kRenderFxFlickerFast", + "contents": "kRenderFxFlickerFast$0", + "kind": "keyword", + "details": "13" + }, + { + "trigger": "kRenderFxFlickerSlow", + "annotation": "kRenderFxFlickerSlow", + "contents": "kRenderFxFlickerSlow$0", + "kind": "keyword", + "details": "12" + }, + { + "trigger": "kRenderFxGlowShell", + "annotation": "kRenderFxGlowShell", + "contents": "kRenderFxGlowShell$0", + "kind": "keyword", + "details": "18" + }, + { + "trigger": "kRenderFxHologram", + "annotation": "kRenderFxHologram", + "contents": "kRenderFxHologram$0", + "kind": "keyword", + "details": "16" + }, + { + "trigger": "kRenderFxMax", + "annotation": "kRenderFxMax", + "contents": "kRenderFxMax$0", + "kind": "keyword", + "details": "25" + }, + { + "trigger": "kRenderFxNoDissipation", + "annotation": "kRenderFxNoDissipation", + "contents": "kRenderFxNoDissipation$0", + "kind": "keyword", + "details": "14" + }, + { + "trigger": "kRenderFxNone", + "annotation": "kRenderFxNone", + "contents": "kRenderFxNone$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "kRenderFxPulseFast", + "annotation": "kRenderFxPulseFast", + "contents": "kRenderFxPulseFast$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "kRenderFxPulseFastWide", + "annotation": "kRenderFxPulseFastWide", + "contents": "kRenderFxPulseFastWide$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "kRenderFxPulseFastWider", + "annotation": "kRenderFxPulseFastWider", + "contents": "kRenderFxPulseFastWider$0", + "kind": "keyword", + "details": "24" + }, + { + "trigger": "kRenderFxPulseSlow", + "annotation": "kRenderFxPulseSlow", + "contents": "kRenderFxPulseSlow$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "kRenderFxPulseSlowWide", + "annotation": "kRenderFxPulseSlowWide", + "contents": "kRenderFxPulseSlowWide$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "kRenderFxRagdoll", + "annotation": "kRenderFxRagdoll", + "contents": "kRenderFxRagdoll$0", + "kind": "keyword", + "details": "23" + }, + { + "trigger": "kRenderFxSolidFast", + "annotation": "kRenderFxSolidFast", + "contents": "kRenderFxSolidFast$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "kRenderFxSolidSlow", + "annotation": "kRenderFxSolidSlow", + "contents": "kRenderFxSolidSlow$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "kRenderFxSpotlight", + "annotation": "kRenderFxSpotlight", + "contents": "kRenderFxSpotlight$0", + "kind": "keyword", + "details": "22" + }, + { + "trigger": "kRenderFxStrobeFast", + "annotation": "kRenderFxStrobeFast", + "contents": "kRenderFxStrobeFast$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "kRenderFxStrobeFaster", + "annotation": "kRenderFxStrobeFaster", + "contents": "kRenderFxStrobeFaster$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "kRenderFxStrobeSlow", + "annotation": "kRenderFxStrobeSlow", + "contents": "kRenderFxStrobeSlow$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "kRenderGlow", + "annotation": "kRenderGlow", + "contents": "kRenderGlow$0", + "kind": "keyword", + "details": "3" + }, + { + "trigger": "kRenderModeCount", + "annotation": "kRenderModeCount", + "contents": "kRenderModeCount$0", + "kind": "keyword", + "details": "11" + }, + { + "trigger": "kRenderNone", + "annotation": "kRenderNone", + "contents": "kRenderNone$0", + "kind": "keyword", + "details": "10" + }, + { + "trigger": "kRenderNormal", + "annotation": "kRenderNormal", + "contents": "kRenderNormal$0", + "kind": "keyword", + "details": "0" + }, + { + "trigger": "kRenderTransAdd", + "annotation": "kRenderTransAdd", + "contents": "kRenderTransAdd$0", + "kind": "keyword", + "details": "5" + }, + { + "trigger": "kRenderTransAddFrameBlend", + "annotation": "kRenderTransAddFrameBlend", + "contents": "kRenderTransAddFrameBlend$0", + "kind": "keyword", + "details": "7" + }, + { + "trigger": "kRenderTransAlpha", + "annotation": "kRenderTransAlpha", + "contents": "kRenderTransAlpha$0", + "kind": "keyword", + "details": "4" + }, + { + "trigger": "kRenderTransAlphaAdd", + "annotation": "kRenderTransAlphaAdd", + "contents": "kRenderTransAlphaAdd$0", + "kind": "keyword", + "details": "8" + }, + { + "trigger": "kRenderTransColor", + "annotation": "kRenderTransColor", + "contents": "kRenderTransColor$0", + "kind": "keyword", + "details": "1" + }, + { + "trigger": "kRenderTransTexture", + "annotation": "kRenderTransTexture", + "contents": "kRenderTransTexture$0", + "kind": "keyword", + "details": "2" + }, + { + "trigger": "kRenderWorldGlow", + "annotation": "kRenderWorldGlow", + "contents": "kRenderWorldGlow$0", + "kind": "keyword", + "details": "9" + }, + { + "trigger": "len", + "annotation": "int len()", + "contents": "len()$0", + "kind": "keyword", + "details": "Returns the length of the string, ie. the number of characters it comprises." + }, + { + "trigger": "log", + "annotation": "log(num x)", + "contents": "log(${1:num x})$0", + "kind": "keyword", + "details": "Returns log_e(x) = ln(x)" + }, + { + "trigger": "log10", + "annotation": "log10(num x)", + "contents": "log10(${1:num x})$0", + "kind": "keyword", + "details": "Returns log_10(x)" + }, + { + "trigger": "lstrip", + "annotation": "lstrip(string str)", + "contents": "lstrip(${1:string str})$0", + "kind": "keyword", + "details": "Removes whitespace at the beginning of the given string" + }, + { + "trigger": "m_bindNamesStack", + "annotation": "m_bindNamesStack", + "contents": "m_bindNamesStack$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "m_fixupSet", + "annotation": "m_fixupSet", + "contents": "m_fixupSet$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "m_log", + "annotation": "m_log", + "contents": "m_log$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "m_logIndent", + "annotation": "m_logIndent", + "contents": "m_logIndent$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "m_targetTable", + "annotation": "m_targetTable", + "contents": "m_targetTable$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "match", + "annotation": "bool match(str)", + "contents": "match(${1:str})$0", + "kind": "keyword", + "details": "Returns a true if the regular expression matches the string str, otherwise returns false." + }, + { + "trigger": "newthread", + "annotation": "coroutine newthread(function threadfunc)", + "contents": "newthread(${1:function threadfunc})$0", + "kind": "keyword", + "details": "Creates a new cooperative thread object(coroutine) and returns it ." + }, + { + "trigger": "pow", + "annotation": "pow(num x, num y)", + "contents": "pow(${1:num x}, ${2:num y})$0", + "kind": "keyword", + "details": "Returns x^y" + }, + { + "trigger": "prefix", + "annotation": "prefix", + "contents": "prefix$0", + "kind": "keyword", + "details": "Prefix that functions should have to be added into the chain array. Set by the constructor." + }, + { + "trigger": "print", + "annotation": "print(string message)", + "contents": "print(${1:string message})$0", + "kind": "keyword", + "details": "Prints the given parameter but with no newline unlike printl()" + }, + { + "trigger": "print_indent", + "annotation": "print_indent", + "contents": "print_indent$0", + "kind": "keyword", + "details": "0. Spaces to indent prints by, except ones from realPrint." + }, + { + "trigger": "printf", + "annotation": "void printf(string format, args...)", + "contents": "printf(${1:string format}, ${2:args...})$0", + "kind": "keyword", + "details": "Prints message to console with C style formatting. The line feed is not included." + }, + { + "trigger": "printl", + "annotation": "void printl(string message)", + "contents": "printl(${1:string message})$0", + "kind": "keyword", + "details": "Prints message to console with a line feed after." + }, + { + "trigger": "rand", + "annotation": "rand()", + "contents": "rand()$0", + "kind": "keyword", + "details": "Returns a random integer with 0 <= rand() <= RAND_MAX" + }, + { + "trigger": "readblob", + "annotation": "blob readblob(int numberOfBytes)", + "contents": "readblob(${1:int numberOfBytes})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "readn", + "annotation": "any readn(char dataType)", + "contents": "readn(${1:char dataType})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "realPrint", + "annotation": "void realPrint(string message)", + "contents": "realPrint(${1:string message})$0", + "kind": "keyword", + "details": "Identical to print. print seems to be a wrapper for this." + }, + { + "trigger": "regexp", + "annotation": "regexp()", + "contents": "regexp()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "resize", + "annotation": "void resize(int newSize)", + "contents": "resize(${1:int newSize})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "resurrectunreachable", + "annotation": "array resurrectunreachable()", + "contents": "resurrectunreachable()$0", + "kind": "keyword", + "details": "Runs the garbage collector and returns an array containing all unreachable object found. If no unreachable object is found, null is returned instead. This function is meant to help debugging reference cycles. This function only works on garbage collector builds." + }, + { + "trigger": "rstrip", + "annotation": "rstrip(string str)", + "contents": "rstrip(${1:string str})$0", + "kind": "keyword", + "details": "Removes whitespace at the end of the given string" + }, + { + "trigger": "scope", + "annotation": "scope", + "contents": "scope$0", + "kind": "keyword", + "details": "If set, seek functions in this scope instead. Set by the constructor." + }, + { + "trigger": "search", + "annotation": "table search(str, [start])", + "contents": "search(${1:str}, ${2:[start]})$0", + "kind": "keyword", + "details": "Returns a table containing two indexes (\"begin\" and \"end\") of the first match of the regular expression in the string st, otherwise if no match occurs returns null. The search starts from the index start of the string, if start is omitted the search starts from the beginning of the string." + }, + { + "trigger": "seek", + "annotation": "int seek(int offset, int offsetBasis)", + "contents": "seek(${1:int offset}, ${2:int offsetBasis})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "setconsttable", + "annotation": "table setconsttable(table consttable)", + "contents": "setconsttable(${1:table consttable})$0", + "kind": "keyword", + "details": "Sets the const table of the VM which also returns the previous const table." + }, + { + "trigger": "setdebughook", + "annotation": "void setdebughook(function hook_func)", + "contents": "setdebughook(${1:function hook_func})$0", + "kind": "keyword", + "details": "Sets the debug hook." + }, + { + "trigger": "seterrorhandler", + "annotation": "void seterrorhandler(function func)", + "contents": "seterrorhandler(${1:function func})$0", + "kind": "keyword", + "details": "Sets the runtime error handler." + }, + { + "trigger": "setroottable", + "annotation": "table setroottable(table roottable)", + "contents": "setroottable(${1:table roottable})$0", + "kind": "keyword", + "details": "Sets the root table of the VM which also returns the previous root table." + }, + { + "trigger": "sin", + "annotation": "sin(num x)", + "contents": "sin(${1:num x})$0", + "kind": "keyword", + "details": "Returns sin(x)" + }, + { + "trigger": "slice", + "annotation": "string slice(int startIndex, int endIndex = null)", + "contents": "slice(${1:int startIndex}, ${2:int endIndex = null})$0", + "kind": "keyword", + "details": "Creates a sub-string from a string. Copies characters from startIndex to endIndex. If endIndex is not specified, copies until the last character. If the provided end index is beyond the string, an exception is thrown." + }, + { + "trigger": "split", + "annotation": "string split(string str, string separator, bool skipempty = false)", + "contents": "split(${1:string str}, ${2:string separator}, ${3:bool skipempty = false})$0", + "kind": "keyword", + "details": "Returns an array of strings split at each point where a separator character occurs in str. The separator is not returned as part of any array element. the parameter separators is a string that specifies the characters as to be used for the splitting. If skipempty is true, empty strings are not added to array." + }, + { + "trigger": "sqrt", + "annotation": "sqrt(num x)", + "contents": "sqrt(${1:num x})$0", + "kind": "keyword", + "details": "Returns the square root of x" + }, + { + "trigger": "srand", + "annotation": "srand(num seed)", + "contents": "srand(${1:num seed})$0", + "kind": "keyword", + "details": "Sets the starting point for generating a series of pseudorandom integers" + }, + { + "trigger": "startswith", + "annotation": "bool startswith(string str, string cmp)", + "contents": "startswith(${1:string str}, ${2:string cmp})$0", + "kind": "keyword", + "details": "Returns true if the beginning of the string matches the comparison string." + }, + { + "trigger": "strip", + "annotation": "strip(string str)", + "contents": "strip(${1:string str})$0", + "kind": "keyword", + "details": "Removes whitespace at the beginning and end of the given string" + }, + { + "trigger": "subexpcount", + "annotation": "subexpcount()", + "contents": "subexpcount()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "suspend", + "annotation": "void suspend(any ret)", + "contents": "suspend(${1:any ret})$0", + "kind": "keyword", + "details": "Suspends the coroutine that called this function." + }, + { + "trigger": "swap2", + "annotation": "void swap2()", + "contents": "swap2()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "swap4", + "annotation": "void swap4()", + "contents": "swap4()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "swapfloat", + "annotation": "float swapfloat(float value)", + "contents": "swapfloat(${1:float value})$0", + "kind": "keyword", + "details": "Reverse byte order of the four bytes" + }, + { + "trigger": "tan", + "annotation": "tan(num x)", + "contents": "tan(${1:num x})$0", + "kind": "keyword", + "details": "Returns tan(x)" + }, + { + "trigger": "tell", + "annotation": "int tell()", + "contents": "tell()$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "tofloat", + "annotation": "float tofloat()", + "contents": "tofloat()$0", + "kind": "keyword", + "details": "Returns float value represented by the string. Must only contain numeric characters and/or plus and minus symbols. An exception is thrown otherwise." + }, + { + "trigger": "tointeger", + "annotation": "int tointeger()", + "contents": "tointeger()$0", + "kind": "keyword", + "details": "Returns integer value represented by the string. Must only contain numeric characters. An exception is thrown otherwise. Hexadecimal notation is supported (i.e. 0xFF). If a hexadecimal string contains more than 10 characters, including the 0x, returns -1." + }, + { + "trigger": "tolower", + "annotation": "string tolower()", + "contents": "tolower()$0", + "kind": "keyword", + "details": "Returns a new string with all upper-case characters converted to lower-case." + }, + { + "trigger": "tostring", + "annotation": "string tostring()", + "contents": "tostring()$0", + "kind": "keyword", + "details": "Returns a human-readable string." + }, + { + "trigger": "toupper", + "annotation": "string toupper()", + "contents": "toupper()$0", + "kind": "keyword", + "details": "Returns a new string with all lower-case characters converted to upper-case." + }, + { + "trigger": "type", + "annotation": "type(var)", + "contents": "type(${1:var})$0", + "kind": "keyword", + "details": "Returns var._typeof(), i.e. the type of the given parameter as a string" + }, + { + "trigger": "", + "annotation": "void writeblob (blob blob)", + "contents": "(${1:blob blob})$0", + "kind": "keyword", + "details": "" + }, + { + "trigger": "writen", + "annotation": "void writen(num value, char dataType)", + "contents": "writen(${1:num value}, ${2:char dataType})$0", + "kind": "keyword", + "details": "" + } + ] } \ No newline at end of file