nyuuzyou/wikis huggingface dataset:
Dota 2 Workshop Tools/Scripting/API/Global.EmitSoundOnLocationWithCaster

== Function Description ==
 void EmitSoundOnLocationWithCaster(Vector Vector_1, string string_2, handle handle_3) 
Emit a sound on a location from a unit. (vLocation, soundName, hCaster).
;Example
function EmitSoundOnLocationWithCaster( Vector_1, string_2, handle_3 ) end
== Parameters ==
Type 	Name 	Description
Vector	Vector_1	No Description Set
string	string_2	No Description Set
handle	handle_3	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.EntIndexToHScript

Category:Dota2Function
Category:Global
== Function Description ==
 handle EntIndexToHScript(int int_1) 
Turn an entity index integer to an HScript representing that entity's script instance.
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
== Returns ==
handle - No Description Set
Dota 2 Workshop Tools/Scripting/API/Global.ExecuteOrderFromTable

== Function Description ==
 void ExecuteOrderFromTable(handle handle_1) 
Issue an order from a script table
;Example
local newOrder = {
 		UnitIndex = yourNPC:entindex(), 
 		OrderType = DOTA_UNIT_ORDER_ATTACK_MOVE,
 		 TargetIndex = entToAttack:entindex(), --Optional. Only used when targeting units
 		AbilityIndex = 0, --Optional. Only used when casting abilities
 		Position = nil, --Optional. Only used when targeting the ground
 		Queue = 0 --Optional. Used for queueing up abilities
 	}
ExecuteOrderFromTable(newOrder)
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.ExponentialDecay

== Function Description ==
 float ExponentialDecay(float float_1, float float_2, float float_3) 
Smooth curve decreasing slower as it approaches zero
== Parameters ==
Type 	Name 	Description
float	float_1	No Description Set
float	float_2	No Description Set
float	float_3	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.FileToString

Category:Dota2Function
Category:Global
== Function Description ==
 string FileToString(string a) 
Reads a string from a file to send to script
* Directory traversal doesn't seem to work. The characters '.', '/' and '\\' are ignored.
* The files are read from C:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\dota_ugc\game\dota\ems
* The function is used in conjunction with StringToFile
''
== Parameters ==
Type 	Name	Description
string	a 	No Description Set
== Returns ==
string - No Description Set
Dota 2 Workshop Tools/Scripting/API/Global.FindClearSpaceForUnit

== Function Description ==
 bool FindClearSpaceForUnit(handle handle_1, Vector Vector_2, bool bool_3) 
Place a unit somewhere not already occupied.
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
Vector	Vector_2	No Description Set
bool 	bool_3 	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.FindUnitsInLine

== Function Description ==
 table FindUnitsInLine(int teamNumber, Vector vStartPos, Vector vEndPos, handle cacheUnit, float width, int teamFilter, int typeFilter, int flagFilter) 
Finds the units in a given line with the given flags. ( iTeamNumber, vStartPos, vEndPos, hCacheUnit, flWidth, iTeamFilter, iTypeFilter, iFlagFilter)
;Example
-- Find all enemy units
local hero = PlayerResource:GetPlayer(0):GetAssignedHero()
local vStartPos = hero:GetOrigin()
local vEndPos = vStartPos + hero:GetForwardVector() * 500
local width = 128
local teams = DOTA_UNIT_TARGET_TEAM_ENEMY
local types = DOTA_UNIT_TARGET_BASIC + DOTA_UNIT_TARGET_HERO + DOTA_UNIT_TARGET_BUILDING + DOTA_UNIT_TARGET_CREEP
local flags = DOTA_UNIT_TARGET_FLAG_INVULNERABLE
local units = FindUnitsInLine(hero:GetTeam(), vStartPos, vEndPos, hero, width, teams, types, flags)
-- Make the found units move to (0, 0, 0)
for _,unit in pairs(units) do
 unit:MoveToPosition(Vector(0, 0, 0))
end
== Parameters ==
Type 	Name 	Description
int 	teamNumber	No Description Set
Vector	vStartPos 	No Description Set
Vector	vEndPos 	No Description Set
handle	cacheUnit 	No Description Set
float 	width 	No Description Set
int 	teamFilter	No Description Set
int 	typeFilter	No Description Set
int 	flagFilter	No Description Set
== Returns ==
table - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.FindUnitsInRadius

== Function Description ==
 table FindUnitsInRadius(int teamNumber, Vector position, handle cacheUnit, float radius, int teamFilter, int typeFilter, int flagFilter, int order, bool canGrowCache) 
Finds the units in a given radius with the given flags. ( iTeamNumber, vPosition, hCacheUnit, flRadius, iTeamFilter, iTypeFilter, iFlagFilter, iOrder, bCanGrowCache )
;Example
-- Find all Dire units
direUnits = FindUnitsInRadius(DOTA_TEAM_BADGUYS,
 Vector(0, 0, 0),
 nil,
 FIND_UNITS_EVERYWHERE,
 DOTA_UNIT_TARGET_TEAM_FRIENDLY,
 DOTA_UNIT_TARGET_ALL,
 DOTA_UNIT_TARGET_FLAG_NONE,
 FIND_ANY_ORDER,
 false)
-- Make the found units move to (0, 0, 0)
for _,unit in pairs(direUnits) do
 unit:MoveToPosition(Vector(0, 0, 0))
end
== Parameters ==
Type 	Name 	Description
int 	teamNumber 	Your Unit's Team. Refer Here
Vector	position 	Point in dota 2 map about which you want to center your search. Use unit:GetAbsOrigin() to center it about a unit.
handle	cacheUnit 	No Description Set
float 	radius 	The search radius. (FIND_UNITS_EVERYWHERE means the radius will cover the whole map. Refer to more Here)
int 	teamFilter 	This will be with respect to team on the first parameter. Refer Here
int 	typeFilter 	Types of units you want to include/exclude in search. Refer Here
int 	flagFilter 	Include/Exclude units which if respectilely flagged. Refer Here
int 	order 	No Description Set
bool 	canGrowCache	No Description Set
== Returns ==
A table containing the found units. If no units are found, FindUnitsInRadius returns an empty table; it does not return nil.
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.FireEntityIOInputNameOnly

== Function Description ==
 void FireEntityIOInputNameOnly(ehandle ehandle_1, string string_2) 
Fire Entity's Action Input w/no data
== Parameters ==
Type 	Name 	Description
ehandle	ehandle_1	No Description Set
string 	string_2 	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.FireEntityIOInputString

== Function Description ==
 void FireEntityIOInputString(ehandle ehandle_1, string string_2, string string_3) 
Fire Entity's Action Input with passed String - you own the memory
== Parameters ==
Type 	Name 	Description
ehandle	ehandle_1	No Description Set
string 	string_2 	No Description Set
string 	string_3 	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.FireEntityIOInputVec

Category:Dota2Function
Category:Global
== Function Description ==
 void FireEntityIOInputVec(ehandle ehandle_1, string string_2, Vector Vector_3) 
Fire Entity's Action Input with passed Vector ( hEntity, szActionName, vector )
== Parameters ==
Type 	Name 	Description
ehandle	ehandle_1	No Description Set
string 	string_2 	No Description Set
Vector 	Vector_3 	No Description Set
Dota 2 Workshop Tools/Scripting/API/Global.FireGameEvent

== Function Description ==
 void FireGameEvent(string eventName, handle parameterTable) 
Fire a pre-defined event, which can be found either in custom_events.txt or in dota's resource/*.res
== Parameters ==
Type 	Name 	Description
string	eventName 	No Description Set
handle	parameterTable	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetEntityIndexForTreeId

== Function Description ==
 <unknown> 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.
;Example
function GetEntityIndexForTreeId( unsigned_1 ) end
== Parameters ==
Type 	Name 	Description
unsigned	unsigned_1	No Description Set
== Returns ==
<unknown> - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetFrostyBoostAmount

== Function Description ==
float GetFrostyBoostAmount(int int_1, int int_2) 
No Description Set
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
int 	int_2	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetFrostyPointsForRound

== Function Description ==
 int GetFrostyPointsForRound(int int_1, int int_2, int int_3) 
No Description Set
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
int 	int_2	No Description Set
int 	int_3	No Description Set
== Returns ==
int - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetGoldFrostyBoostAmount

== Function Description ==
 float GetGoldFrostyBoostAmount(int int_1, int int_2) 
No Description Set
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
int 	int_2	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetGoldFrostyPointsForRound

== Function Description ==
 int GetGoldFrostyPointsForRound(int int_1, int int_2, int int_3) 
No Description Set
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
int 	int_2	No Description Set
int 	int_3	No Description Set
== Returns ==
int - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetGroundHeight

== Function Description ==
 float GetGroundHeight(Vector Vector_1, handle handle_2) 
''''
;Example
function GetGroundHeight( Vector_1, handle_2 ) end
== Parameters ==
Type 	Name 	Description
Vector	Vector_1	No Description Set
handle	handle_2	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetGroundPosition

== Function Description ==
 Vector 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.
== Parameters ==
Type 	Name 	Description
Vector	Vector_1	No Description Set
handle	handle_2	No Description Set
== Returns ==
Vector - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetItemCost

== Function Description ==
 int GetItemCost(string string_1) 
Get the cost of an item by name.
;Example
function GetItemCost( string_1 ) end
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
== Returns ==
int - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetMaxOutputDelay

== Function Description ==
 float GetMaxOutputDelay(ehandle ehandle_1, string string_2) 
Get the longest delay for all events attached to an output
== Parameters ==
Type 	Name 	Description
ehandle	ehandle_1	No Description Set
string 	string_2 	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetPhysAngularVelocity

== Function Description ==
 Vector GetPhysAngularVelocity(handle handle_1) 
Get Angular Velocity for VPHYS or normal object
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
== Returns ==
Vector - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetPhysVelocity

== Function Description ==
 Vector GetPhysVelocity(handle handle_1) 
Get Velocity for VPHYS or normal object
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
== Returns ==
Vector - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetTeamHeroKills

== Function Description ==
 int GetTeamHeroKills(int int_1) 
( int teamID )
;Example
function GetTeamHeroKills( int_1 ) end
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
== Returns ==
int - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetTeamName

== Function Description ==
 string GetTeamName(int teamNumber) 
Returns the team name
Team names are taken from the localization files
For example:
"DOTA_Custom1" "Blue Team" 
"DOTA_GoodGuys" "Red Team" 
</code>''
;Example
<source lang="lua">
GetTeamName(2)
== Parameters ==
Type	Name 	Description
int 	teamNumber	
== Returns ==
string - Team Name
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.GetTreeIdForEntityIndex

== Function Description ==
 int GetTreeIdForEntityIndex(int int_1) 
Given and entity index of a tree, get the tree id for use for use with with unit orders.
;Example
function GetTreeIdForEntityIndex( int_1 ) end
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
== Returns ==
int - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.InitLogFile

== Function Description ==
 void InitLogFile(string string_1, string string_2) 
If the given file doesn't exist, creates it with the given contents; does nothing if it exists
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
string	string_2	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.IsMarkedForDeletion

== Function Description ==
 bool IsMarkedForDeletion(handle handle_1) 
Returns true if the entity is valid and marked for deletion.
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.LimitPathingSearchDepth

== Function Description ==
 void LimitPathingSearchDepth(float float_1) 
Set the limit on the pathfinding search space.
;Example
function LimitPathingSearchDepth( float_1 ) end
== Parameters ==
Type 	Name 	Description
float	float_1	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.ListenToGameEvent

Category:Dota2Function
Category:Global
== Function Description ==
 int ListenToGameEvent(string EventName, handle functionNameToCall, handle context) 
Register as a listener for a game event from script.
''
;Example
ListenToGameEvent('entity_killed', Dynamic_Wrap(MyCustomGameMode, 'OnEntityKilled'), self)
== Parameters ==
Type 	Name 	Description
string	EventName 	No Description Set
handle	functionNameToCall	No Description Set
handle	context 	No Description Set
== Returns ==
int - a handle for the event/function pair
Dota 2 Workshop Tools/Scripting/API/Global.MinimapEvent

== Function Description ==
 void 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).
;Example
function MinimapEvent( int_1, handle_2, int_3, int_4, int_5, int_6 ) end
== Parameters ==
Type 	Name 	Description
int 	int_1 	No Description Set
handle	handle_2	No Description Set
int 	int_3 	No Description Set
int 	int_4 	No Description Set
int 	int_5 	No Description Set
int 	int_6 	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheEntityFromTable

== Function Description ==
 void PrecacheEntityFromTable(string string_1, handle handle_2, handle handle_3) 
Precache an entity from KeyValues in table''''
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
handle	handle_2	No Description Set
handle	handle_3	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheEntityListFromTable

== Function Description ==
 void PrecacheEntityListFromTable(handle handle_1, handle handle_2) 
Precache a list of entity KeyValues table's
== Parameters ==
Type 	Name 	Description
handle	handle_1	No Description Set
handle	handle_2	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheItemByNameAsync

== Function Description ==
 void 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.
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
handle	handle_2	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheItemByNameSync

== Function Description ==
 void PrecacheItemByNameSync(string string_1, handle handle_2) 
Precaches a DOTA item by its dota_npc_items.txt name
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
handle	handle_2	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheModel

== Function Description ==
 void PrecacheModel(string string_1, handle handle_2) 
( modelName, context ) - Manually precache a single model
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
handle	handle_2	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheResource

== Function Description ==
 void PrecacheResource(string precacheMode, string resource, handle context) 
Manually precache a single resource
== Parameters ==
Type 	Name 	Description
string	precacheMode	Valid Modes: particle, particle_folder, model, model_folder, and soundfile
string	resource 	Path to the specific resource, or a folder with the resources if folder is specified
handle	context 	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheUnitByNameAsync

== Function Description ==
 void 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.
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
handle	handle_2	No Description Set
int 	int_3 	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrecacheUnitByNameSync

== Function Description ==
 void PrecacheUnitByNameSync(string string_1, handle handle_2, int int_3) 
Precaches a DOTA unit by its dota_npc_units.txt name
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
handle	handle_2	No Description Set
int 	int_3 	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.PrintLinkedConsoleMessage

== Function Description ==
 void PrintLinkedConsoleMessage(string string_1, string string_2) 
Print a console message with a linked console command
== Parameters ==
Type 	Name 	Description
string	string_1	No Description Set
string	string_2	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.RandomFloat

== Function Description ==
 float RandomFloat(float float_1, float float_2) 
Get a random float within a range
== Parameters ==
Type 	Name 	Description
float	float_1	No Description Set
float	float_2	No Description Set
== Returns ==
float - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.RandomInt

== Function Description ==
 int RandomInt(int int_1, int int_2) 
Get a random int within a range
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
int 	int_2	No Description Set
== Returns ==
int - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.ResolveNPCPositions

== Function Description ==
 void ResolveNPCPositions(Vector Vector_1, float float_2) 
Check and fix units that have been assigned a position inside collision radius of other NPCs.
;Example
function ResolveNPCPositions( Vector_1, float_2 ) end
== Parameters ==
Type 	Name 	Description
Vector	Vector_1	No Description Set
float 	float_2 	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.RollPercentage

== Function Description ==
 bool RollPercentage(int int_1) 
Rolls a number from 1 to 100 and returns true if the roll is less than or equal to the number specified
== Parameters ==
Type	Name 	Description
int 	int_1	No Description Set
== Returns ==
bool - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.RotateOrientation

== Function Description ==
 QAngle RotateOrientation(QAngle QAngle_1, QAngle QAngle_2) 
Rotate a QAngle by another QAngle.
== Parameters ==
Type 	Name 	Description
QAngle	QAngle_1	No Description Set
QAngle	QAngle_2	No Description Set
== Returns ==
QAngle - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.RotatePosition

== Function Description ==
 Vector RotatePosition(Vector origin, QAngle rotation, Vector inputVector) 
Rotates a Vector around an origin point.
;Example
-- Converts a vector local to an entity into a world space vector.
--
-- Example: Get a vector 32 units in front of a player.
-- GlobalVectorFromLocal(Vector(32, 0, 0), myPlayerEntity)
--
function GlobalVectorFromLocal(localVec, entity)
	
	-- Here RotatePosition() converts the local space vector into a world space offset from the entity
	-- by rotating it by the entity orentation.
	local offset = RotatePosition(Vector(0, 0, 0), entity:GetAngles(), localVec)
	
	return entity:GetOrigin() + offset
	
end
== Parameters ==
Type 	Name 	Description
Vector	origin 	The rotation origin
QAngle	rotation 	The angles to rotate by
Vector	inputVector	The vector to rotate
== Returns ==
Vector - The rotated vector
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.RotateQuaternionByAxisAngle

== Function Description ==
 Quaternion RotateQuaternionByAxisAngle(Quaternion Quaternion_1, Vector Vector_2, float float_3) 
Rotates a quaternion by the specified angle around the specified vector axis
== Parameters ==
Type 	Name 	Description
Quaternion	Quaternion_1	No Description Set
Vector 	Vector_2 	No Description Set
float 	float_3 	No Description Set
== Returns ==
Quaternion - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.RotationDelta

== Function Description ==
 QAngle RotationDelta(QAngle QAngle_1, QAngle QAngle_2) 
Find the delta between two QAngles.
== Parameters ==
Type 	Name 	Description
QAngle	QAngle_1	No Description Set
QAngle	QAngle_2	No Description Set
== Returns ==
QAngle - No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.Say

== Function Description ==
 void Say(handle entity, string message, bool teamOnly) 
Have Entity say string, and teamOnly or not
== Parameters ==
Type 	Name 	Description
handle	entity 	No Description Set
string	message 	No Description Set
bool 	teamOnly	No Description Set
Category:Dota2Function
Category:Global
Dota 2 Workshop Tools/Scripting/API/Global.ScreenShake

== Function Description ==
 void 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
== Parameters ==
Type 	Name 	Description
Vector	Vector_1	No Description Set
float 	float_2 	No Description Set
float 	float_3 	No Description Set
float 	float_4 	No Description Set
float 	float_5 	No Description Set
int 	int_6 	No Description Set
bool 	bool_7 	No Description Set
Category:Dota2Function
Category:Global