- API更新
API更新
ItemDefOwnedCount(int1, int2) 功能未知,只在地形內(nèi)部的實(shí)體代碼中使用
LocalTime() 獲取本地時(shí)間
CBaseAnimating:SetProceduralIKTarget(pCHainName, pTargetName, vTargetPosition, qTargetRotation)
CBaseAnimating:SetProceduralIKTargetWeight(pCHainName, pTargetName, flWeight)
CBaseEntity:GetAbsScale() 獲取絕對(duì)尺寸大小
CBaseEntity:GetLocalScale() 獲取本地尺寸大小
CBaseEntity:SetAbsScale() 設(shè)置絕對(duì)尺寸大小
CBaseEntity:SetLocalScale() 設(shè)置本地尺寸大小
CDOTABaseAbility:IsRefreshable() 技能是否可刷新
CDOTABaseAbility:RefreshCharges() 刷新技能充能
CDOTABaseAbility:SetFrozenCOoldown(bFrozenCooldown) 鎖定技能冷卻時(shí)間
CDOTABaseGameMode:SetCameraSmoothCountOverride(nSmoothCount) 重寫鏡頭平滑數(shù)
CDOTABaseGameMode:SetCustomTerrainWeatherEffect(pszEffectName) 設(shè)置自定義地形特效
CDOTABaseGameMode:SetDeathOverlayDiabled(bDisabled) 禁用死亡畫面效果
CDOTABaseGameMode:SetHudCombatEventDisabled(bDisabled) 禁用UI戰(zhàn)斗事件顯示
CDOTABaseGameMode:SetSelectionGoldPenaltyEnabled(bEnabled)
GameRules:AddEventMetadataLeaderboardEntry(szNameSuffix, nStars, nMaxStars, nExtraData, unsigned6, unsigned7, unsigned8, unsigned9) 多了最后三個(gè)參數(shù)回梧,誰知道是什么呢
GameRules:SetEventSignoutCustomTable(hMetadataTable)
GameRules:GetGameFrameTime() 獲取服務(wù)器幀時(shí)間
GameRules:SetCustomGameAllowBattleMusic(bAllowed) 設(shè)置是否禁用戰(zhàn)斗音樂
GameRules:SetCustomGameAllowHeroPickMusic(bAllowed) 設(shè)置是否禁用英雄選擇音樂
GameRules:SetCustomGameAllowMusicAtGameStart(bAllowed) 設(shè)置是否禁用游戲開始音樂
CDOTA_Ability_Lua:OnProjectileHitHandle(hTarget, vLocation, nHandle)
CDOTA_Ability_Lua:OnProjectileHitHandle(nHandle)
CDOTA_BaseNPC:FindItemInInventory(pszName) 到背包中尋找物品
CDOTA_BaseNPC_Hero:IsStashEnabled()
CDOTA_BaseNPC_Hero:SetStashEnabled()
CDOTA_Buff:IsStunDebuff() 是否是眩暈效果
CDOTA_Buff:HasFunction(iFunction) 是否有某個(gè)函數(shù)
CDOTA_Item:SetCastOnPickUp(bCastOnPickup) 設(shè)置物品是否拾取使用
CDOTA_Item_Lua:IsMuted() 物品是否被禁用
Entities:GetLocalPlayer() 獲取本地玩家
ProjectileManager:GetLinearProjectileLocation(nProjectileID) 獲取彈道位置
ProjectileManager:GetLinearProjectileRadius(nProjectileID) 獲取彈道碰撞半徑
ProjectileManager:UpdateProjectileDirection(nProjectileID, vVelocity, flMaxDistance?) 更改彈道方向
最后編輯于 :
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者