Results 1 to 4 of 4

Thread: Resetting game time and ResetToHeroSelection()

  1. #1

    Resetting game time and ResetToHeroSelection()

    Hi,
    I'm trying to reset the game to 0:00 so that dota_spawn_creeps always spawns the default number of creeps. I tried using GameRules:ResetToHeroSelection() but that command seems to be broken - after pick phase, no hero is spawned. Is there any other way of changing in-game timer? Or am I just using ResetToHeroSelection() incorrectly? Any help is appreciated.

  2. #2
    Basic Member
    Join Date
    Oct 2016
    Posts
    247
    ResetToHeroSelection() seems like a command from the modding side of things, we cant use those commands with bot scripting.

  3. #3
    Sorry I didn't make this clear early. I'm making a custom game (for simulation purposes) in which I'd like to reset game time, where I can reliably spawn the same 0:00 creeps repeatedly. So I am using the modding commands

  4. #4
    Basic Member
    Join Date
    Mar 2012
    Posts
    2,018
    This is a forum for bot scripting, not game types. Post your question here or here
    Explanations on the normal, high and very high brackets in replays: here, here & here
    Why maphacks won't work in D2: here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •