-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
what the usage of actionDelay? #45
Comments
@TimZaman he introduced that to allow bots to do delayed actions (currently not enabled or used). The reason is that we communicate with the bots every X frames (depending on setting). So when we tell the bot to attack a unit he could do it immediately, or wait 1 frame and do it, or wait 2 frames and do it ... after 5 frames (if that is X) we send it a new action to do. The code supports this, we just don't currently use it. |
Seems super hard for the bot to learn to i didnt use it in my model
…On Mon, Jan 21, 2019, 08:30 Nostrademous ***@***.*** wrote:
@TimZaman <https://github.com/TimZaman> he introduced that to allow bots
to do delayed actions (currently not enabled or used). The reason is that
we communicate with the bots every X frames (depending on setting). So when
we tell the bot to attack a unit he could do it immediately, or wait 1
frame and do it, or wait 2 frames and do it ... after 5 frames (if that is
X) we send it a new action to do.
The code supports this, we just don't currently use it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#45 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AHXSRHisAkrhSZ_bJKRpQh4Jm9BnRqH5ks5vFes9gaJpZM4aKrRg>
.
|
ok. I got it, thanks! |
I'm curious about what type of action need some delay before executing this action?
dotaservice/dotaservice/lua/bot_generic.lua
Lines 70 to 78 in 6e91ff1
The text was updated successfully, but these errors were encountered: