//TESH.scrollpos=0
//TESH.alwaysfold=0
function Sim_Error takes player ForPlayer, string msg returns nothing
local sound error = CreateSoundFromLabel("InterfaceError",false,false,false,10,10)
if (GetLocalPlayer() == ForPlayer) then
if (msg!="") and (msg!=null) then
call ClearTextMessages()
call DisplayTimedTextToPlayer(ForPlayer, 0.52, -1.00, 2.00, "|cffffcc00"+msg+"|r" )
endif
call StartSound( error )
endif
set error=null
endfunction
function PlaySoundAtPoint takes string f, real x, real y, real p, integer v returns nothing
local sound s = CreateSound( f, false, true, true, 10, 10, "" )
call SetSoundDuration( s, GetSoundFileDuration(f) )
call SetSoundChannel( s, 0 )
call SetSoundVolume( s, v )
call SetSoundPitch( s, p )
call SetSoundPosition(s, x, y, 0)
call StartSound(s)
call KillSoundWhenDone(s)
set s = null
endfunction
Name | Type | is_array | initial_value |
Archimonde | unit | No | |
AutoUpgradePreference | integer | Yes | |
BiomeRockType | destructablecode | Yes | |
BiomeTreeFakeTypes | destructablecode | Yes | |
BiomeTreeTypes | destructablecode | Yes | |
BiomeType | integer | No | |
BulletGroup | group | No | |
BulletPoint | location | Yes | |
BulletUnit | unit | No | |
BulletUnitGroup | group | No | |
CapturedEnts | force | No | |
CapturedInfernals | force | No | |
Cenarius | unit | No | |
ColorCodes | string | Yes | |
ColorString | string | Yes | |
CountdownArchimonde | timer | No | |
CountdownArchimonde_Window | timerdialog | No | |
CountdownCenarius | timer | No | |
CountdownCenarius_Window | timerdialog | No | |
CountdownInfernals | timer | No | |
CountdownInfernals_Window | timerdialog | No | |
DestructableType | destructablecode | No | |
Distance | real | No | |
Doodad_Type_Building_Water | destructablecode | Yes | |
Doodad_Type_Bush | destructablecode | Yes | |
Doodad_Type_Center | destructablecode | No | |
Doodad_Type_Large | destructablecode | Yes | |
Doodad_Type_RoadDestruct | destructablecode | Yes | |
Doodad_Type_Roadside | destructablecode | Yes | |
Doodad_Type_Roadside_Water | destructablecode | Yes | |
Doodad_Type_SmallStructures | destructablecode | Yes | |
FarmGoldGroup | group | No | |
FarmXPGroup | group | No | |
GameOver | boolean | No | |
GameSettings | unit | No | |
Generate_Angle | real | No | |
Generate_BaseTerrainZ | real | No | |
Generate_Boolean | boolean | No | |
Generate_Creep_Type | unitcode | Yes | |
Generate_Critter_Type | unitcode | Yes | |
Generate_Distance | real | No | |
Generate_DistanceAdd | real | No | |
Generate_Doodads_RealX | real | No | |
Generate_Doodads_RealY | real | No | |
Generate_Edges | integer | No | |
Generate_GetZ | real | No | |
Generate_Infernal | unitcode | Yes | |
Generate_Loop_Integer1 | integer | No | |
Generate_Loop_Integer2 | integer | No | |
Generate_Pathing_LoopX | integer | No | |
Generate_Pathing_LoopY | integer | No | |
Generate_Pathing_RealX | real | No | |
Generate_Pathing_RealY | real | No | |
Generate_Radius | real | No | |
Generate_Size | real | No | |
Generate_Sky | integer | No | |
Generate_TempGroup | group | No | |
Generate_Texture_Loop1 | integer | No | |
Generate_Texture_Loop2 | integer | No | |
Generate_Texture_RealX | real | No | |
Generate_Texture_RealY | real | No | |
Generate_Treant | unitcode | Yes | |
Generate_Tree_Integer | integer | No | |
Generate_Tree_RealX | real | No | |
Generate_Tree_RealY | real | No | |
Generate_Tree_Type | destructablecode | Yes | |
Generate_Tree_Type_Overgrowth | destructablecode | Yes | |
Generate_TreeID | destructable | Yes | |
Generate_TreeX | real | No | |
Generate_TreeY | real | No | |
Generate_Watercolor | integer | No | |
Generate_WaterDirt | real | No | |
Generate_Weather | integer | No | |
HookAbility | abilcode | No | |
HookAllowAllyMagicImmune | boolean | No | |
HookAllowEnemyMagicImmune | boolean | No | |
HookAttackType | attacktype | No | |
HookChainBreakDistance | real | No | |
HookDamage | real | Yes | |
HookDamageType | damagetype | No | |
HookDisableWhileInUse | boolean | No | |
HookDummy | unitcode | No | |
HookGrabRadius | real | No | |
HookLightningEffect | lightningtype | No | |
HookLightningEffectEx | string | No | |
HookSoundEffect | sound | No | |
HookSpecialEffect | string | No | |
HookTravelDistance | real | Yes | |
HookTravelDuration | real | No | |
HookTravelSpeed | real | No | |
HookUseLightningEx | boolean | No | |
HookUseSpeed | boolean | No | |
HornOfCenarius | unit | No | |
Host | player | No | |
Icon_Ent | string | Yes | |
Icon_Infernal | string | Yes | |
IconUnitTypeNumber | integer | Yes | |
IncomeGroup | force | No | |
Integer1 | integer | No | |
Integer2 | integer | No | |
Integer3 | integer | No | |
IntegerLoop | integer | No | |
IntegerWin | integer | No | |
KB_Angle | real | Yes | |
KB_Casters | unit | Yes | |
KB_CountBuffs | integer | No | |
KB_DestroyTrees | boolean | Yes | |
KB_EffectCounter | integer | Yes | |
KB_EffectCounter2 | integer | Yes | |
KB_Effects_1 | string | Yes | |
KB_Effects_2 | string | Yes | |
KB_GeneralIntegers | integervar | Yes | |
KB_KnockbackedUnits | group | No | |
KB_Levels | integer | Yes | |
KB_MaxDistance | real | Yes | |
KB_ReachedDistance | real | Yes | |
KB_ReducedReal | real | No | |
KB_ReduceSpeedReal | real | Yes | |
KB_SpecificSpeed | real | Yes | |
KB_StartPositions | location | Yes | |
KB_TempPoint | location | Yes | |
KB_TempReal | real | No | |
KB_TotalKnockUnits | integer | No | |
KB_Units | unit | Yes | |
KBA_Caster | unit | No | |
KBA_DestroyTrees | boolean | No | |
KBA_DistancePerLevel | real | No | |
KBA_Level | integer | No | |
KBA_SpecialEffects | string | Yes | |
KBA_Speed | real | No | |
KBA_StartingPosition | location | No | |
KBA_TargetUnit | unit | No | |
KillMessage | string | Yes | |
MapBounds | rect | No | |
MapSizeX | real | No | |
MapSizeY | real | No | |
MH_Angle | real | Yes | |
MH_ApplyDamage | boolean | Yes | |
MH_Dest | real | No | |
MH_DestPoint | location | No | |
MH_Detector | group | No | |
MH_Distance | real | Yes | |
MH_DistCounter | real | Yes | |
MH_EndPoint | location | No | |
MH_Hook | unit | Yes | |
MH_HookChain | lightning | Yes | |
MH_HookedUnit | unit | Yes | |
MH_Hooker | unit | Yes | |
MH_HookerPos | location | Yes | |
MH_HookOn | boolean | Yes | |
MH_HookPos | location | Yes | |
MH_Index1 | integer | No | |
MH_Index2 | integer | No | |
MH_Level | integer | Yes | |
MH_OffsetConstant | real | No | |
MH_StartPoint | location | No | |
Minigame_KillMsg | string | Yes | |
Minigame_Score | integer | Yes | |
Minigame_WinnerGroup | force | No | |
Multiboard | multiboard | No | |
NeutralBuilding_GoldMine | unit | No | |
NeutralBuilding_Sunwell | unit | No | |
PickingPhase | boolean | No | |
PigFarmNumber | integer | Yes | |
Player | player | No | |
PlayerColor | playercolor | Yes | |
Playercolorsstring | string | Yes | |
PlayerSlotEnts | integer | No | |
PlayerSlotInfernals | integer | No | |
PlayersPlaying | force | No | |
PlayersRemaining | force | No | |
PlayerUnit | unit | Yes | |
Real1 | real | No | |
Real2 | real | No | |
Real3 | real | No | |
RiflemanFireSound1 | sound | Yes | |
Sample_Group | group | No | |
Sample_Point | location | No | |
SettingsTournament | boolean | No | |
SoulFadeInGroup | group | No | |
Spell_GravityWell_Group | group | No | |
Spell_Lava_DamageGroup | group | No | |
Spell_Lava_Group | group | No | |
Spell_Lava_Target | unit | Yes | |
Spell_LightningStrike_Ball | unit | Yes | |
Spell_Lightningstrike_Group | group | No | |
Spell_NaturalForm_Destructable | destructable | Yes | |
Spell_NaturalForm_Group | group | No | |
Spell_NaturalForm_Index | integer | No | |
Spell_NaturalForm_Unit | unit | Yes | |
Spell_RootWall_Group | group | No | |
Spell_RootWall_HitGroup | group | Yes | |
Spell_SearingFlames_Group | group | No | |
Spell_Sonar_Group | group | No | |
Spell_ThornField_Group | group | No | |
Spell_ThornField_HitGroup | group | No | |
Spell_ThornField_SpawnGroup | group | No | |
Spell_Tornado_Angle | real | Yes | |
Spell_Tornado_Group | group | No | |
Spell_TreeBash_Angle | real | Yes | |
Spell_TreeBash_Group | group | No | |
Spell_TreeBash_HitGroup | group | Yes | |
Spell_TreeDrain_Loop | group | No | |
SquadGroup | force | Yes | |
SquadHowManySquads | integer | No | |
SquadModeOn | boolean | No | |
SquadPlayerID | integer | Yes | |
String | string | No | |
TeamEnt | force | No | |
TeamInfernal | force | No | |
Teamstringcolor | string | Yes | |
TempForce | force | No | |
TempGroup | group | No | |
TempGroup1 | group | No | |
TempGroupWin | group | No | |
TempPoint | location | No | |
TempPoint1 | location | No | |
TempPoint2 | location | No | |
TempPoint3 | location | No | |
TempPoint4 | location | No | |
TempPoint_Gen1 | location | No | |
TempPoint_Gen2 | location | No | |
TempPoint_Gen3 | location | No | |
TempPoint_Gen4 | location | No | |
TempUnit | unit | No | |
Unit | unit | No | |
UnitsInPlay | group | No | |
UnstuckLoop | integer | No | |
VisionModifier_Dead | fogmodifier | Yes | |
VisionUpdate | fogmodifier | Yes | |
VolunteeringInfernalGroup | force | No | |
WinningTeam | integer | No | |
WinningUnit | unit | No |