A
Used to create Colors for draws.
Color
FillRect(0, 0, 500, 500, ARGB(255, 255, 255, 255)) -- will draw a white square
Attacks an Object.
local target = GetGameTarget() -- left upper corner target
if target ~= nil then -- check if target does exist
AttackUnit(target) -- send actual attack
end
- BlockCast()
- BlockInput(boolean)
- BlockOrder()
- BuyItem(id)
B
Can only be called in SpellCast callback, prevents the spell from being cast.
Toggles all user input.
Can only be called in IssueOrder callback, prevents the order from being executed.
Buys an item if player has enough gold.
- CanUseSpell(unit,iSpell)
- CastEmote(iEmote)
- CastSkillShot(iSpell,x,y,z)
- CastSkillShot(iSpell, Vector3D)
- CastSkillShot2(iSpell,x,y,z)
- CastSkillShot2(iSpell,Vector3D)
- CastSkillShot3(iSpell,Vector3D,Vector3D)
- CastSpell(iSpell)
- CastTargetSpell(target, iSpell)
- CreateSpriteFromFile(path)
C
returns a Spell State ID.
Number
Casts an Emote
Casts a skillshot.
Casts a skillshot.
Releases a charged type spell.
Releases a charged type spell.
Casts a drag-type spell.
Casts a selfcast-type spell.
Casts a target type spell.
Creates a sprite from a file and returns it's id. It'll return 0 if the file does not exist or could not be loaded.
Number
- DrawCircle(x,y,z,radius,width,quality,color)
- DrawCircle(Vector3D,radius,width,quality,color)
- DrawCircleMinimap(x,y,z,radius,width,quality,color)
- DrawCircleMinimap(Vector3D,radius,width,quality,color)
- DrawDmgOverHpBar(unit,health,ADDmg,APDmg,Color)
- DrawLine(x1,y1,x2,y2,width,color)
- DrawSprite(spriteID,screenX,screenY,fileX,fileY,width,height,color)
- DrawText(string,size,x,y,Color)
- DrawTextSmall(string,x,y,Color)
D
Draws a 3 dimensional circle.
Draws a 3 dimensional circle.
Draws a 2 dimensional circle on the minimap.
Draws a 2 dimensional circle on the minimap.
Draws a damage line onto the hp bar.
Draws a 2 dimensional line.
Draws a Sprite, by ID.
Draws a Text.
Draws a small Text.
- FillRect(x,y,width,height,Color)
F
Draws a 2 dimensional rectangle.
- GetArmor(Object)
- GetArmorPenFlat(Object)
- GetArmorPenPercent(Object)
- GetAttackSpeed(Object)
- GetBaseArmor(Object)
- GetBaseAttackSpeed(Object)
- GetBaseDamage(Object)
- GetBonusAP(Object)
- GetBonusArmorPenPercent(Object)
- GetBonusDmg(Object)
- GetBuffCount(Object,index)
- GetBuffData(Object,buffname)
- GetBuffExpireTime(Object,index)
- GetBuffName(Object,index)
- GetBuffStacks(Object,index)
- GetBuffStartTime(Object,index)
- GetBuffType(Object,index)
- GetBuffTypeList()
- GetBuffTypeToString(buffType)
- GetCastCooldown(Object,iSpell,level)
- GetCastLevel(Object,iSpell)
- GetCastMana(Object,iSpell,level)
- GetCastName(Object,iSpell)
- GetCastRange(Object,iSpell)
- GetCDR(Object)
- GetCritChance(Object)
- GetCurrentGold(Object)
- GetCurrentHP(Object)
- GetCurrentMana(Object)
- GetCurrentTarget()
- GetCursorPos()
- GetDamagePrediction(Object,timeDelta)
- GetDmgShield(Object)
- GetExperience(Object)
- GetGameTarget()
- GetGameTimer()
- GetHitBox(Object)
- GetHPBarPos(Object)
- GetHPRegen(Object)
- GetItemAmmo(Object,iSpell)
- GetItemID(Object,iSpell)
- GetItemSlot(Object,itemID)
- GetItemStack(Object,iSpell)
- GetLatency()
- GetLevel(Object)
- GetLevelPoints(Object)
- GetLifeSteal(Object)
- GetMagicPenFlat(Object)
- GetMagicPenPercent(Object)
- GetMagicResist(Object)
- GetMagicShield(Object)
- GetMapID()
- GetMaxHP(Object)
- GetMaxMana(Object)
- GetMousePos()
- GetMoveSpeed(Object)
- GetMPRegen(Object)
- GetMyHero()
- GetNetworkID(Object)
- GetObjByNetID(nID)
- GetObjectBaseName(Object)
- GetObjectModelName(Object)
- GetObjectName(Object)
- GetObjectOwner(Object)
- GetObjectSpellEndPos(Object)
- GetObjectSpellName(Object)
- GetObjectSpellOwner(Object)
- GetObjectSpellPlacementPos(Object)
- GetObjectSpellStartPos(Object)
- GetObjectSpellTarget(Object)
- GetObjectType(Object)
- GetOrigin(Object)
- GetPredictionForPlayer(Vector3D,Object,moveSpeed,speed,delay,range,mColl,addHitBox)
- GetRange(Object)
- GetResolution()
- GetSpellVamp(Object)
- GetTeam(Object)
- GetTickCount()
- GetTotalEarnedGold(Object)
- GotBuff(Object,buffname)
G
buffType
String
returns myHero pointer.
Object
Object
Object
Object
Object
- HeroSkinChanger(Object, skinID)
- HoldPosition()
H
- IsCampusUp(Object)
- IsChatOpened()
- IsDead(Object)
- IsGameOnTop()
- IsGoSHumanizerActive()
- IsImmune(Object,Object)
- IsObjectAlive(Object)
- IsRecalling(Object)
- IsTargetable(Object)
- IsVisible(Object)
I
Enumerations for emotes.
Number
EMOTE_DANCE = 0
EMOTE_TAUNT = 1
EMOTE_LAUGH = 2
EMOTE_JOKE = 3
EMOTE_TOGGLE = 4
Boolean
Boolean
Enumerations for spell&item slots.
Number
_Q = 0
_W = 1
_E = 2
_R = 3
SUMMONER_1 = 4
SUMMONER_2 = 5
ITEM_1 = 6
ITEM_2 = 7
ITEM_3 = 8
ITEM_4 = 9
ITEM_5 = 10
ITEM_6 = 11
ITEM_7 = 12
RECALL = 13
- KeyIsDown(keyCode)
K
- LevelSpell(iSpell)
L
- MessageBox(typeID, message)
- ModelChanger(Object, skinID, modelName)
- MoveToXYZ(x,y,z)
- MoveToXYZ(Vector3D)
M
Enumeration for the IDs returned by GetMapID
Number
CRYSTAL_SCAR = 8
TWISTED_TREELINE = 10
SUMMONERS_RIFT = 11
HOWLING_ABYSS = 12
- PrintChat(string)
P
- ReleaseSprite(spriteID)
R
S
The states returned by CanUseSpell
Number
READY = 0
NOTAVAILABLE = 4
READYNONCAST = 8
NOTLEARNED = 12
ONCOOLDOWN = 32
NOMANA= 64
- WorldToMinimap(Vector3D)
- WorldToScreen(flag,Vector3D)
W