# CDOTATutorial
全局访问变量:Tutorial
Function | Description | Client |
---|---|---|
bool AddBot(string_1, string_2, string_3, bool_4) | Add a computer controlled bot. | ❌ |
void AddQuest(string_1, int_2, string_3, string_4) | Add a quest to the quest log | ❌ |
void AddShopWhitelistItem(string_1) | Add an item to the shop whitelist. | ❌ |
void CompleteQuest(string_1) | Complete a quest, | ❌ |
void CreateLocationTask(Vector_1) | Add a task to move to a specific location | ❌ |
void EnableCreepAggroViz(bool_1) | Alert the player when a creep becomes agro to their hero. | ❌ |
void EnablePlayerOffscreenTip(bool_1) | Enable the tip to alert players how to find their hero. | ❌ |
void EnableTowerAggroViz(bool_1) | Alert the player when a tower becomes agro to their hero. | ❌ |
void FinishTutorial() | End the tutorial. | ❌ |
void ForceGameStart() | Force the start of the game. | ❌ |
bool GetTimeFrozen() | Is our time frozen? | ❌ |
bool IsItemInWhiteList(string_1) | Is this item currently in the white list. | ❌ |
void RemoveShopWhitelistItem(string_1) | Remove an item from the shop whitelist. | ❌ |
void SelectHero(string_1) | Select a hero for the local player | ❌ |
void SelectPlayerTeam(string_1) | Select the team for the local player | ❌ |
void SetItemGuide(string_1) | Set the current item guide. | ❌ |
void SetOrModifyPlayerGold(int_1, bool_2) | Set gold amount for the tutorial player. (int) GoldAmount, (bool) true=Set, false=Modify | ❌ |
void SetQuickBuy(string_1) | Set players quick buy item. | ❌ |
void SetShopOpen(bool_1) | Set the shop open or closed. | ❌ |
void SetTimeFrozen(bool_1) | Set if we should freeze time or not. | ❌ |
void SetTutorialConvar(string_1, string_2) | Set a tutorial convar | ❌ |
void SetTutorialUI(int_1) | Set the UI to use a reduced version to focus attention to specific elements. | ❌ |
void SetWhiteListEnabled(bool_1) | Set if we should whitelist shop items. | ❌ |
void StartTutorialMode() | Initialize Tutorial Mode | ❌ |
void UpgradePlayerAbility(string_1) | Upgrade a specific ability for the local hero | ❌ |