Raised This Month: $ Target: $400
 0% 

[DOTA] Auto pick


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Maxpain177
Junior Member
Join Date: Jul 2014
Old 07-23-2014 , 13:49   [DOTA] Auto pick
Reply With Quote #1

How i can set player hero when he joined to game? Which command does it? I think about jointeam, etc, but i dont known how auto pick hero..

Last edited by Maxpain177; 07-23-2014 at 13:50.
Maxpain177 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 07-23-2014 , 17:38   Re: [DOTA] Auto pick
Reply With Quote #2

dota_select_hero <hero entity classname> reserve
psychonic is offline
Maxpain177
Junior Member
Join Date: Jul 2014
Old 07-24-2014 , 00:49   Re: [DOTA] Auto pick
Reply With Quote #3

Quote:
Originally Posted by psychonic View Post
dota_select_hero <hero entity classname> reserve
Thanks, it works great!
But i can prevent (deny) repick hero?
Maxpain177 is offline
psychonic

BAFFLED
Join Date: May 2008
Old 07-24-2014 , 06:48   Re: [DOTA] Auto pick
Reply With Quote #4

Use AddCommandListener to catch the dota_select_hero command, and block it if the first arg is "repick".
psychonic is offline
Maxpain177
Junior Member
Join Date: Jul 2014
Old 07-24-2014 , 09:59   Re: [DOTA] Auto pick
Reply With Quote #5

Quote:
Originally Posted by psychonic View Post
Use AddCommandListener to catch the dota_select_hero command, and block it if the first arg is "repick".
Thank you!!!!!!
Maxpain177 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode