API – Valve Developer Community

- Free Game Cheats

API – Valve Developer Community

Download API – Valve Developer Community for FREE

FunctionSignatureDescription AddFOWViewervoid AddFOWViewer(int int_1, Vector Vector_2, float float_3, float float_4, bool bool_5)Add temporary vision for a given team ( nTeamID, vLocation, flRadius, flDuration, bObstructedVision) AngleDifffloat AngleDiff(float float_1, float float_2)Returns the number of degrees difference between two yaw angles AppendToLogFilevoid AppendToLogFile(string string_1, string string_2)AppendToLogFile is deprecated. Print to the console for logging instead. ApplyDamagefloat ApplyDamage(handle handle_1)ApplyDamage({victim = {}, attacker = {}, damage = 0, damage_type = DAMAGE_TYPE_MAGICAL, damage_flags = DOTA_DAMAGE_FLAG_IGNORES_MAGIC_ARMOR, ability = {}}) AxisAngleToQuaternionQuaternion AxisAngleToQuaternion(Vector Vector_1, float float_2)(vector,float) constructs a quaternion representing a rotation by angle around the specified vector axis CalcClosestPointOnEntityOBBVector CalcClosestPointOnEntityOBB(handle handle_1, Vector Vector_2)Compute the closest point on the OBB of an entity. CalcDistanceBetweenEntityOBBfloat CalcDistanceBetweenEntityOBB(handle handle_1, handle handle_2)Compute the distance between two entity OBB. A negative return value indicates an input error. A return value of zero indicates that the OBBs are overlapping. CalcDistanceToLineSegment2Dfloat CalcDistanceToLineSegment2D(Vector Vector_1, Vector Vector_2, Vector Vector_3) CancelEntityIOEventsvoid CancelEntityIOEvents(ehandle ehandle_1)Create all I/O events for a particular entity ClearTeamCustomHealthbarColorvoid ClearTeamCustomHealthbarColor(int int_1)( teamNumber ) CreateDamageInfohandle CreateDamageInfo(handle handle_1, handle handle_2, Vector Vector_3, Vector Vector_4, float float_5, int int_6)(hInflictor, hAttacker, flDamage) – Allocate a damageinfo object, used as an argument to TakeDamage(). Call DestroyDamageInfo( hInfo ) to free the object. CreateEffectbool CreateEffect(handle handle_1)Pass table – Inputs: entity, effect CreateHTTPRequesthandle CreateHTTPRequest(string string_1, string string_2)Create an HTTP request. CreateHTTPRequestScriptVMhandle CreateHTTPRequestScriptVM(string string_1, string string_2)Create an HTTP request. CreateHeroForPlayerhandle CreateHeroForPlayer(string string_1, handle handle_2)Creates a DOTA hero by its dota_npc_units.txt name and sets it as the given player’s controlled hero CreateIllusionstable CreateIllusions(handle handle_1, handle handle_2, handle handle_3, int int_4, int int_5, bool bool_6, bool bool_7)Create illusions of the passed hero that belong to passed unit using passed modifier data. ( hOwner, hHeroToCopy, hModiiferKeys, nNumIllusions, nPadding, bScramblePosition, bFindClearSpace )

Supported keys: outgoing_damage incoming_damage bounty_base bounty_growth outgoing_damage_structure outgoing_damage_roshan

CreateItemhandle CreateItem(string string_1, handle handle_2, handle handle_3)Create a DOTA item CreateItemOnPositionForLaunchhandle CreateItemOnPositionForLaunch(Vector Vector_1, handle handle_2)Create a physical item at a given location, can start in air (but doesn’t clear a space) CreateItemOnPositionSynchandle CreateItemOnPositionSync(Vector Vector_1, handle handle_2)Create a physical item at a given location CreateModifierThinkerhandle CreateModifierThinker(handle handle_1, handle handle_2, string string_3, handle handle_4, Vector Vector_5, int int_6, bool bool_7)Create a modifier not associated with an NPC. ( hCaster, hAbility, modifierName, paramTable, vOrigin, nTeamNumber, bPhantomBlocker ) CreateSceneEntityhandle CreateSceneEntity(string string_1)Create a scene entity to play the specified scene. CreateTempTreehandle CreateTempTree(Vector Vector_1, float float_2)Create a temporary tree, uses a default tree model. (vLocation, flDuration). CreateTempTreeWithModelhandle CreateTempTreeWithModel(Vector Vector_1, float float_2, string string_3)Create a temporary tree, specifying the tree model name. (vLocation, flDuration, szModelName). CreateTriggerhandle CreateTrigger(Vector Vector_1, Vector Vector_2, Vector Vector_3)CreateTrigger( vecMin, vecMax ) : Creates and returns an AABB trigger CreateTriggerRadiusApproximatehandle CreateTriggerRadiusApproximate(Vector Vector_1, float float_2)CreateTriggerRadiusApproximate( vecOrigin, flRadius ) : Creates and returns an AABB trigger thats bigger than the radius provided CreateUnitByNamehandle CreateUnitByName(string string_1, Vector Vector_2, bool bool_3, handle handle_4, handle handle_5, int int_6)Creates a DOTA unit by its dota_npc_units.txt name CreateUnitByNameAsyncint CreateUnitByNameAsync(string string_1, Vector Vector_2, bool bool_3, handle handle_4, handle handle_5, int int_6, handle handle_7)Creates a DOTA unit by its dota_npc_units.txt name CreateUnitFromTablehandle CreateUnitFromTable(handle handle_1, Vector Vector_2)Creates a DOTA unit by its dota_npc_units.txt name from a table of entity key values and a position to spawn at. CrossVectorsVector CrossVectors(Vector Vector_1, Vector Vector_2)(vector,vector) cross product between two vectors DebugBreakvoid DebugBreak()Breaks in the debugger DebugDrawBoxvoid DebugDrawBox(Vector Vector_1, Vector Vector_2, Vector Vector_3, int int_4, int int_5, int int_6, int int_7, float float_8)Draw a debug overlay box (origin, mins, maxs, forward, r, g, b, a, duration ) DebugDrawBoxDirectionvoid DebugDrawBoxDirection(Vector Vector_1, Vector Vector_2, Vector Vector_3, Vector Vector_4, Vector Vector_5, float float_6, float float_7)Draw a debug forward box (cent, min, max, forward, vRgb, a, duration) DebugDrawCirclevoid DebugDrawCircle(Vector Vector_1, Vector Vector_2, float float_3, float float_4, bool bool_5, float float_6)Draw a debug circle (center, vRgb, a, rad, ztest, duration) DebugDrawClearvoid DebugDrawClear()Try to clear all the debug overlay info DebugDrawLinevoid DebugDrawLine(Vector Vector_1, Vector Vector_2, int int_3, int int_4, int int_5, bool bool_6, float float_7)Draw a debug overlay line (origin, target, r, g, b, ztest, duration) DebugDrawLine_vColvoid DebugDrawLine_vCol(Vector Vector_1, Vector Vector_2, Vector Vector_3, bool bool_4, float float_5)Draw a debug line using color vec (start, end, vRgb, a, ztest, duration) DebugDrawScreenTextLinevoid DebugDrawScreenTextLine(float float_1, float float_2, int int_3, string string_4, int int_5, int int_6, int int_7, int int_8, float float_9)Draw text with a line offset (x, y, lineOffset, text, r, g, b, a, duration) DebugDrawSpherevoid DebugDrawSphere(Vector Vector_1, Vector Vector_2, float float_3, float float_4, bool bool_5, float float_6)Draw a debug sphere (center, vRgb, a, rad, ztest, duration) DebugDrawTextvoid DebugDrawText(Vector Vector_1, string string_2, bool bool_3, float float_4)Draw text in 3d (origin, text, bViewCheck, duration) DebugScreenTextPrettyvoid DebugScreenTextPretty(float float_1, float float_2, int int_3, string string_4, int int_5, int int_6, int int_7, int int_8, float float_9, string string_10, int int_11, bool bool_12)Draw pretty debug text (x, y, lineOffset, text, r, g, b, a, duration, font, size, bBold) DestroyDamageInfovoid DestroyDamageInfo(handle handle_1)Free a damageinfo object that was created with CreateDamageInfo(). DoCleaveAttackint DoCleaveAttack(handle handle_1, handle handle_2, handle handle_3, float float_4, float float_5, float float_6, float float_7, string string_8)(hAttacker, hTarget, hAbility, fDamage, fRadius, effectName) DoEntFirevoid DoEntFire(string string_1, string string_2, string string_3, float float_4, handle handle_5, handle handle_6)#EntFire:Generate and entity i/o event DoEntFireByInstanceHandlevoid DoEntFireByInstanceHandle(handle handle_1, string string_2, string string_3, float float_4, handle handle_5, handle handle_6)#EntFireByHandle:Generate and entity i/o event DoIncludeScriptbool DoIncludeScript(string string_1, handle handle_2)Execute a script (internal) DoScriptAssertvoid DoScriptAssert(bool bool_1, string string_2)#ScriptAssert:Asserts the passed in value. Prints out a message and brings up the assert dialog. DoUniqueStringstring DoUniqueString(string string_1)#UniqueString: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. DotProductfloat DotProduct(Vector Vector_1, Vector Vector_2) EmitAnnouncerSoundvoid EmitAnnouncerSound(string string_1)Emit an announcer sound for all players. EmitAnnouncerSoundForPlayervoid EmitAnnouncerSoundForPlayer(string string_1, int int_2)Emit an announcer sound for a player. EmitAnnouncerSoundForTeamvoid EmitAnnouncerSoundForTeam(string string_1, int int_2)Emit an announcer sound for a team. EmitAnnouncerSoundForTeamOnLocationvoid EmitAnnouncerSoundForTeamOnLocation(string string_1, int int_2, Vector Vector_3)Emit an announcer sound for a team at a specific location. EmitGlobalSoundvoid EmitGlobalSound(string string_1)Play named sound for all players EmitSoundOnvoid EmitSoundOn(string string_1, handle handle_2)Play named sound on Entity EmitSoundOnClientvoid EmitSoundOnClient(string string_1, handle handle_2)Play named sound only on the client for the passed in player EmitSoundOnLocationForAlliesvoid EmitSoundOnLocationForAllies(Vector Vector_1, string string_2, handle handle_3)Emit a sound on a location from a unit, only for players allied with that unit (vLocation, soundName, hCaster EmitSoundOnLocationWithCastervoid EmitSoundOnLocationWithCaster(Vector Vector_1, string string_2, handle handle_3)Emit a sound on a location from a unit. (vLocation, soundName, hCaster). EntIndexToHScripthandle EntIndexToHScript(int int_1)Turn an entity index integer to an HScript representing that entity’s script instance. ExecuteOrderFromTablevoid ExecuteOrderFromTable(handle handle_1)Issue an order from a script table ExponentialDecayfloat ExponentialDecay(float float_1, float float_2, float float_3)Smooth curve decreasing slower as it approaches zero FindClearRandomPositionAroundUnitbool FindClearRandomPositionAroundUnit(handle handle_1, handle handle_2, int int_3)Finds a clear random position around a given target unit, using the target unit’s padded collision radius. FindClearSpaceForUnitbool FindClearSpaceForUnit(handle handle_1, Vector Vector_2, bool bool_3)Place a unit somewhere not already occupied. FindUnitsInLinetable FindUnitsInLine(int int_1, Vector Vector_2, Vector Vector_3, handle handle_4, float float_5, int int_6, int int_7, int int_8)Find units that intersect the given line with the given flags. FindUnitsInRadiustable FindUnitsInRadius(int int_1, Vector Vector_2, handle handle_3, float float_4, int int_5, int int_6, int int_7, int int_8, bool bool_9)Finds the units in a given radius with the given flags. FireEntityIOInputNameOnlyvoid FireEntityIOInputNameOnly(ehandle ehandle_1, string string_2)Fire Entity’s Action Input w/no data FireEntityIOInputStringvoid FireEntityIOInputString(ehandle ehandle_1, string string_2, string string_3)Fire Entity’s Action Input with passed String – you own the memory FireEntityIOInputVecvoid FireEntityIOInputVec(ehandle ehandle_1, string string_2, Vector Vector_3)Fire Entity’s Action Input with passed Vector – you own the memory FireGameEventvoid FireGameEvent(string string_1, handle handle_2)Fire a game event. FireGameEventLocalvoid FireGameEventLocal(string string_1, handle handle_2)Fire a game event without broadcasting to the client. FrameTimefloat FrameTime()Get the time spent on the server in the last frame GetDedicatedServerKeystring GetDedicatedServerKey(string string_1)( version ) GetDedicatedServerKeyV2string GetDedicatedServerKeyV2(string string_1)used in https://github.com/dota2unofficial/12v12/blob/master/game/scripts/vscripts/common/webapi.lua GetEntityIndexForTreeId GetEntityIndexForTreeId(unsigned unsigned_1)Get the enity index for a tree id specified as the entindex_target of a DOTA_UNIT_ORDER_CAST_TARGET_TREE. GetFrameCountint GetFrameCount()Returns the engines current frame count GetGroundHeightfloat GetGroundHeight(Vector Vector_1, handle handle_2) GetGroundPositionVector GetGroundPosition(Vector Vector_1, handle handle_2)Returns the supplied position moved to the ground. Second parameter is an NPC for measuring movement collision hull offset. GetItemCostint GetItemCost(string string_1)Get the cost of an item by name. GetItemDefOwnedCountint GetItemDefOwnedCount(int int_1, int int_2) GetItemDefQuantityint GetItemDefQuantity(int int_1, int int_2) GetListenServerHosthandle GetListenServerHost()Get the local player on a listen server. GetLobbyEventGameDetailstable GetLobbyEventGameDetails()( ) GetMapNamestring GetMapName()Get the name of the map. GetMaxOutputDelayfloat GetMaxOutputDelay(ehandle ehandle_1, string string_2)Get the longest delay for all events attached to an output GetPhysAngularVelocityVector GetPhysAngularVelocity(handle handle_1)Get Angular Velocity for VPHYS or normal object. Returns a vector of the axis of rotation, multiplied by the degrees of rotation per second. GetPhysVelocityVector GetPhysVelocity(handle handle_1)Get Velocity for VPHYS or normal object GetSystemDatestring GetSystemDate()Get the current real world date GetSystemTimestring GetSystemTime()Get the current real world time GetTargetAOELocationVector GetTargetAOELocation(int int_1, int int_2, int int_3, Vector Vector_4, int int_5, int int_6, int int_7) GetTargetLinearLocationVector GetTargetLinearLocation(int int_1, int int_2, int int_3, Vector Vector_4, int int_5, int int_6, int int_7) GetTeamHeroKillsint GetTeamHeroKills(int int_1)( int teamID ) GetTeamNamestring GetTeamName(int int_1)( int teamID ) GetTreeIdForEntityIndexint GetTreeIdForEntityIndex(int int_1)Given and entity index of a tree, get the tree id for use for use with with unit orders. GetWorldMaxXfloat GetWorldMaxX()Gets the world’s maximum X position. GetWorldMaxYfloat GetWorldMaxY()Gets the world’s maximum Y position. GetWorldMinXfloat GetWorldMinX()Gets the world’s minimum X position. GetWorldMinYfloat GetWorldMinY()Gets the world’s minimum Y position. InitLogFilevoid InitLogFile(string string_1, string string_2)InitLogFile is deprecated. Print to the console for logging instead. IsClientbool IsClient()Returns true if this is lua running from the client.dll. IsDedicatedServerbool IsDedicatedServer()Returns true if this server is a dedicated server. IsInToolsModebool IsInToolsMode()Returns true if this is lua running within tools mode. IsLocationVisiblebool IsLocationVisible(int int_1, Vector Vector_2)Ask fog of war if a location is visible to a certain team (nTeamNumber, vLocation). IsMarkedForDeletionbool IsMarkedForDeletion(handle handle_1)Returns true if the entity is valid and marked for deletion. IsServerbool IsServer()Returns true if this is lua running from the server.dll. IsValidEntitybool IsValidEntity(handle handle_1)Checks to see if the given hScript is a valid entity LerpVectorsVector LerpVectors(Vector Vector_1, Vector Vector_2, float float_3)(vector,vector,float) lerp between two vectors by a float factor returning new vector LimitPathingSearchDepthvoid LimitPathingSearchDepth(float float_1)Set the limit on the pathfinding search space. LinkLuaModifiervoid LinkLuaModifier(string string_1, string string_2, int int_3)Link a lua-defined modifier with the associated class ( className, fileName, LuaModifierType). ListenToGameEventint ListenToGameEvent(string string_1, handle handle_2, handle handle_3)Register as a listener for a game event from script. LoadKeyValuestable LoadKeyValues(string string_1)Creates a table from the specified keyvalues text file LoadKeyValuesFromStringtable LoadKeyValuesFromString(string string_1)Creates a table from the specified keyvalues string LocalTimetable LocalTime()Get the current local time MakeStringTokenint MakeStringToken(string string_1)Checks to see if the given hScript is a valid entity MinimapEventvoid MinimapEvent(int int_1, handle handle_2, int int_3, int int_4, int int_5, int int_6)Start a minimap event. (nTeamID, hEntity, nXCoord, nYCoord, nEventType, nEventDuration). Msgvoid Msg(string string_1)Print a message PauseGamevoid PauseGame(bool bool_1)Pause or unpause the game. PlayerInstanceFromIndexhandle PlayerInstanceFromIndex(int int_1)Get a script instance of a player by index. PrecacheEntityFromTablevoid PrecacheEntityFromTable(string string_1, handle handle_2, handle handle_3)Precache an entity from KeyValues in table PrecacheEntityListFromTablevoid PrecacheEntityListFromTable(handle handle_1, handle handle_2)Precache a list of entity KeyValues tables PrecacheItemByNameAsyncvoid PrecacheItemByNameAsync(string string_1, handle handle_2)Asynchronously precaches a DOTA item by its dota_npc_items.txt name, provides a callback when it’s finished. PrecacheItemByNameSyncvoid PrecacheItemByNameSync(string string_1, handle handle_2)Precaches a DOTA item by its dota_npc_items.txt name PrecacheModelvoid PrecacheModel(string string_1, handle handle_2)( modelName, context ) – Manually precache a single model PrecacheResourcevoid PrecacheResource(string string_1, string string_2, handle handle_3)Manually precache a single resource PrecacheUnitByNameAsyncvoid PrecacheUnitByNameAsync(string string_1, handle handle_2, int int_3)Asynchronously precaches a DOTA unit by its dota_npc_units.txt name, provides a callback when it’s finished. PrecacheUnitByNameSyncvoid PrecacheUnitByNameSync(string string_1, handle handle_2, int int_3)Precaches a DOTA unit by its dota_npc_units.txt name PrecacheUnitFromTableAsyncvoid PrecacheUnitFromTableAsync(handle handle_1, handle handle_2)Precaches a DOTA unit from a table of entity key values. PrecacheUnitFromTableSyncvoid PrecacheUnitFromTableSync(handle handle_1, handle handle_2)Precaches a DOTA unit from a table of entity key values. PrintLinkedConsoleMessagevoid PrintLinkedConsoleMessage(string string_1, string string_2)Print a console message with a linked console command RandomFloatfloat RandomFloat(float float_1, float float_2)Get a random float within a range RandomIntint RandomInt(int int_1, int int_2)Get a random int within a range RandomVectorVector RandomVector(float float_1)Get a random 2D vector of the given length. RegisterCustomAnimationScriptForModelvoid RegisterCustomAnimationScriptForModel(string string_1, string string_2)Register a custom animation script to run when a model loads RegisterSpawnGroupFilterProxyvoid RegisterSpawnGroupFilterProxy(string string_1)Create a C proxy for a script-based spawn group filter ReloadMOTDvoid ReloadMOTD()Reloads the MotD file RemoveSpawnGroupFilterProxyvoid RemoveSpawnGroupFilterProxy(string string_1)Remove the C proxy for a script-based spawn group filter ResolveNPCPositionsvoid ResolveNPCPositions(Vector Vector_1, float float_2)Check and fix units that have been assigned a position inside collision radius of other NPCs. RollPercentagebool RollPercentage(int int_1)(int nPct) RotateOrientationQAngle RotateOrientation(QAngle QAngle_1, QAngle QAngle_2)Rotate a QAngle by another QAngle. RotatePositionVector RotatePosition(Vector Vector_1, QAngle QAngle_2, Vector Vector_3)Rotate a Vector around a point. RotateQuaternionByAxisAngleQuaternion RotateQuaternionByAxisAngle(Quaternion Quaternion_1, Vector Vector_2, float float_3)(quaternion,vector,float) rotates a quaternion by the specified angle around the specified vector axis RotationDeltaQAngle RotationDelta(QAngle QAngle_1, QAngle QAngle_2)Find the delta between two QAngles. RotationDeltaAsAngularVelocityVector RotationDeltaAsAngularVelocity(QAngle QAngle_1, QAngle QAngle_2)converts delta QAngle to an angular velocity Vector Sayvoid Say(handle handle_1, string string_2, bool bool_3)Have Entity say string, and teamOnly or not ScreenShakevoid ScreenShake(Vector Vector_1, float float_2, float float_3, float float_4, float float_5, int int_6, bool bool_7)Start a screenshake with the following parameters. vecCenter, flAmplitude, flFrequency, flDuration, flRadius, eCommand( SHAKE_START = 0, SHAKE_STOP = 1 ), bAirShake SendOverheadEventMessagevoid SendOverheadEventMessage(handle handle_1, int int_2, handle handle_3, int int_4, handle handle_5)( DOTAPlayer sendToPlayer, int iMessageType, Entity targetEntity, int iValue, DOTAPlayer sourcePlayer ) – sendToPlayer and sourcePlayer can be nil – iMessageType is one of OVERHEAD_ALERT_* SendToConsolevoid SendToConsole(string string_1)Send a string to the console as a client command SendToServerConsolevoid SendToServerConsole(string string_1)Send a string to the console as a server command SetOpvarFloatAllvoid SetOpvarFloatAll(string string_1, string string_2, string string_3, float float_4)Sets an opvar value for all players SetOpvarFloatPlayervoid SetOpvarFloatPlayer(string string_1, string string_2, string string_3, float float_4, handle handle_5)Sets an opvar value for a single player SetPhysAngularVelocityvoid SetPhysAngularVelocity(handle handle_1, Vector Vector_2)Set Angular Velocity for VPHYS or normal object, from a vector of the axis of rotation, multiplied by the degrees of rotation per second. SetQuestNamevoid SetQuestName(string string_1)Set the current quest name. SetQuestPhasevoid SetQuestPhase(int int_1)Set the current quest phase. SetRenderingEnabledvoid SetRenderingEnabled(ehandle ehandle_1, bool bool_2)Set rendering on/off for an ehandle SetTeamCustomHealthbarColorvoid SetTeamCustomHealthbarColor(int int_1, int int_2, int int_3, int int_4)( teamNumber, r, g, b ) ShowCustomHeaderMessagevoid ShowCustomHeaderMessage(string string_1, int int_2, int int_3, float float_4)( const char *pszMessage, int nPlayerID, int nValue, float flTime ) – Supports localized strings – %s1 = PlayerName, %s2 = Value, %s3 = TeamName ShowGenericPopupvoid ShowGenericPopup(string string_1, string string_2, string string_3, string string_4, int int_5)Show a generic popup dialog for all players. ShowGenericPopupToPlayervoid ShowGenericPopupToPlayer(handle handle_1, string string_2, string string_3, string string_4, string string_5, int int_6)Show a generic popup dialog to a specific player. ShowMessagevoid ShowMessage(string string_1)Print a hud message on all clients SpawnDOTAShopTriggerRadiusApproximatehandle SpawnDOTAShopTriggerRadiusApproximate(Vector Vector_1, float float_2)(Vector vOrigin, float flRadius ) SpawnEntityFromTableSynchronoushandle SpawnEntityFromTableSynchronous(string string_1, handle handle_2)Synchronously spawns a single entity from a table SpawnEntityGroupFromTablebool SpawnEntityGroupFromTable(handle handle_1, bool bool_2, handle handle_3)Hierarchically spawn an entity group from a set of spawn tables. SpawnEntityListFromTableAsynchronousint SpawnEntityListFromTableAsynchronous(handle handle_1, handle handle_2)Asynchronously spawn an entity group from a list of spawn tables. A callback will be triggered when the spawning is complete SpawnEntityListFromTableSynchronoushandle SpawnEntityListFromTableSynchronous(handle handle_1)Synchronously spawn an entity group from a list of spawn tables. SplineQuaternionsQuaternion SplineQuaternions(Quaternion Quaternion_1, Quaternion Quaternion_2, float float_3)(quaternion,quaternion,float) very basic interpolation of v0 to v1 over t on [0,1] SplineVectorsVector SplineVectors(Vector Vector_1, Vector Vector_2, float float_3)(vector,vector,float) very basic interpolation of v0 to v1 over t on [0,1] StartSoundEventvoid StartSoundEvent(string string_1, handle handle_2)Start a sound event StartSoundEventFromPositionvoid StartSoundEventFromPosition(string string_1, Vector Vector_2)Start a sound event from position StartSoundEventFromPositionReliablevoid StartSoundEventFromPositionReliable(string string_1, Vector Vector_2)Start a sound event from position with reliable delivery StartSoundEventFromPositionUnreliablevoid StartSoundEventFromPositionUnreliable(string string_1, Vector Vector_2)Start a sound event from position with optional delivery StartSoundEventReliablevoid StartSoundEventReliable(string string_1, handle handle_2)Start a sound event with reliable delivery StartSoundEventUnreliablevoid StartSoundEventUnreliable(string string_1, handle handle_2)Start a sound event with optional delivery StopEffectvoid StopEffect(handle handle_1, string string_2)Pass entity and effect name StopGlobalSoundvoid StopGlobalSound(string string_1)Stop named sound for all players StopListeningToAllGameEventsvoid StopListeningToAllGameEvents(handle handle_1)Stop listening to all game events within a specific context. StopListeningToGameEventbool StopListeningToGameEvent(int int_1)Stop listening to a particular game event. StopSoundEventvoid StopSoundEvent(string string_1, handle handle_2)Stops a sound event with optional delivery StopSoundOnvoid StopSoundOn(string string_1, handle handle_2)Stop named sound on Entity Timefloat Time()Get the current server time TraceCollideablebool TraceCollideable(handle handle_1)Pass table – Inputs: start, end, ent, (optional mins, maxs) — outputs: pos, fraction, hit, startsolid, normal TraceHullbool TraceHull(handle handle_1)Pass table – Inputs: start, end, min, max, mask, ignore — outputs: pos, fraction, hit, enthit, startsolid TraceLinebool TraceLine(handle handle_1)Pass table – Inputs: startpos, endpos, mask, ignore — outputs: pos, fraction, hit, enthit, startsolid UTIL_AngleDifffloat UTIL_AngleDiff(float float_1, float float_2)Returns the number of degrees difference between two yaw angles UTIL_MessageTextvoid UTIL_MessageText(int int_1, string string_2, int int_3, int int_4, int int_5, int int_6)Sends colored text to one client. UTIL_MessageTextAllvoid UTIL_MessageTextAll(string string_1, int int_2, int int_3, int int_4, int int_5)Sends colored text to all clients. UTIL_MessageTextAll_WithContextvoid UTIL_MessageTextAll_WithContext(string string_1, int int_2, int int_3, int int_4, int int_5, handle handle_6)Sends colored text to all clients. (Valid context keys: player_id, value, team_id) UTIL_MessageText_WithContextvoid UTIL_MessageText_WithContext(int int_1, string string_2, int int_3, int int_4, int int_5, int int_6, handle handle_7)Sends colored text to one client. (Valid context keys: player_id, value, team_id) UTIL_Removevoid UTIL_Remove(handle handle_1)Removes the specified entity UTIL_RemoveImmediatevoid UTIL_RemoveImmediate(handle handle_1)Immediately removes the specified entity UTIL_ResetMessageTextvoid UTIL_ResetMessageText(int int_1)Clear all message text on one client. UTIL_ResetMessageTextAllvoid UTIL_ResetMessageTextAll()Clear all message text from all clients. UnitFilterint UnitFilter(handle handle_1, int int_2, int int_3, int int_4, int int_5)Check if a unit passes a set of filters. (hNPC, nTargetTeam, nTargetType, nTargetFlags, nTeam UnloadSpawnGroupvoid UnloadSpawnGroup(string string_1)Unload a spawn group by name UnloadSpawnGroupByHandlevoid UnloadSpawnGroupByHandle(int int_1)Unload a spawn group by handle UpdateEventPointsvoid UpdateEventPoints(handle handle_1)( hEventPointData ) VectorAnglesQAngle VectorAngles(Vector Vector_1) VectorToAnglesQAngle VectorToAngles(Vector Vector_1)Get Qangles (with no roll) for a Vector. Warningvoid Warning(string string_1)Print a warning cvar_getffloat cvar_getf(string string_1)Gets the value of the given cvar, as a float. cvar_setfbool cvar_setf(string string_1, float float_2)Sets the value of the given cvar, as a float. rr_AddDecisionRulebool rr_AddDecisionRule(handle handle_1)Add a rule to the decision database. rr_CommitAIResponsebool rr_CommitAIResponse(handle handle_1, handle handle_2)Commit the result of QueryBestResponse back to the given entity to play. Call with params (entity, airesponse) rr_GetResponseTargetshandle rr_GetResponseTargets()Retrieve a table of all available expresser targets, in the form { name : handle, name: handle }. rr_QueryBestResponsebool rr_QueryBestResponse(handle handle_1, handle handle_2, handle handle_3)Params: (entity, query) : tests ‘query’ against entity’s response system and returns the best response found (or null if none found).

Get free Dota 2 hacks on Free-Game-Hacks.com

Leave a Reply