Dota 2
Not enough ratings
Dota 2 But Sudo
   
Award
Favorite
Favorited
Unfavorite
Custom Games and Bot Scripts: Custom Game
File Size
Posted
Updated
1.188 MB
3 Oct, 2024 @ 12:53pm
3 Oct, 2024 @ 1:17pm
1 Change Note ( view )

Subscribe to download
Dota 2 But Sudo

Description
Warning! this is a mode you should only play with people you trust, like and can work with.
This is sandbox, all players have have practically infinite power in terms of what they can do here. DO NOT PLAY THIS MODE UNLESS YOU KNOW WHO YOU ARE PLAYING WITH.

how it works:
when player types in all chat: `sudo ` followed Lua script, it is executed.

Here are some examples to get you started.
to spawn roshan at middle of the map:
sudo CreateUnitByName("npc_dota_roshan",Vector(0,0,0),true,nil,nil,DOTA_TEAM_NEUTRALS)

to force creeps to spawn:
sudo GameRules:SpawnAndReleaseCreeps()

to spawn bots:
sudo GameRules:BotPopulate()

to make bots think:
sudo GameRules:GetGameModeEntity():SetBotThinkingEnabled(true)