{"action":"created","issue":{"url":"https://api.github.com/repos/Marqt/ViZDoom/issues/90","repository_url":"https://api.github.com/repos/Marqt/ViZDoom","labels_url":"https://api.github.com/repos/Marqt/ViZDoom/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/Marqt/ViZDoom/issues/90/comments","events_url":"https://api.github.com/repos/Marqt/ViZDoom/issues/90/events","html_url":"https://github.com/Marqt/ViZDoom/issues/90","id":160635374,"number":90,"title":"Possible bug in game.set_button_max_value","user":{"login":"glebreutov","id":5592985,"avatar_url":"https://avatars.githubusercontent.com/u/5592985?v=3","gravatar_id":"","url":"https://api.github.com/users/glebreutov","html_url":"https://github.com/glebreutov","followers_url":"https://api.github.com/users/glebreutov/followers","following_url":"https://api.github.com/users/glebreutov/following{/other_user}","gists_url":"https://api.github.com/users/glebreutov/gists{/gist_id}","starred_url":"https://api.github.com/users/glebreutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glebreutov/subscriptions","organizations_url":"https://api.github.com/users/glebreutov/orgs","repos_url":"https://api.github.com/users/glebreutov/repos","events_url":"https://api.github.com/users/glebreutov/events{/privacy}","received_events_url":"https://api.github.com/users/glebreutov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-16T11:05:25Z","updated_at":"2016-06-16T12:17:18Z","closed_at":null,"body":"In my code I have a following button config:\r\n\r\n```\r\ngame.add_available_button(Button.TURN_LEFT_RIGHT_DELTA)\r\ngame.add_available_button(Button.ATTACK)\r\ngame.set_button_max_value(Button.TURN_LEFT_RIGHT_DELTA, rand.randrange(-100, 100))\r\ngame.make_action([True, False])\r\n\r\n```\r\n\r\nBut, player always turns right, no matter what value was supplied to set_button_max_value.\r\n"},"comment":{"url":"https://api.github.com/repos/Marqt/ViZDoom/issues/comments/226468346","html_url":"https://github.com/Marqt/ViZDoom/issues/90#issuecomment-226468346","issue_url":"https://api.github.com/repos/Marqt/ViZDoom/issues/90","id":226468346,"user":{"login":"glebreutov","id":5592985,"avatar_url":"https://avatars.githubusercontent.com/u/5592985?v=3","gravatar_id":"","url":"https://api.github.com/users/glebreutov","html_url":"https://github.com/glebreutov","followers_url":"https://api.github.com/users/glebreutov/followers","following_url":"https://api.github.com/users/glebreutov/following{/other_user}","gists_url":"https://api.github.com/users/glebreutov/gists{/gist_id}","starred_url":"https://api.github.com/users/glebreutov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glebreutov/subscriptions","organizations_url":"https://api.github.com/users/glebreutov/orgs","repos_url":"https://api.github.com/users/glebreutov/repos","events_url":"https://api.github.com/users/glebreutov/events{/privacy}","received_events_url":"https://api.github.com/users/glebreutov/received_events","type":"User","site_admin":false},"created_at":"2016-06-16T12:17:18Z","updated_at":"2016-06-16T12:17:18Z","body":"Thanks, this code works as expected:\r\n`    game.make_action([rand.randrange(-2, 2), 0])`\r\n\r\nBut, why do game need set_button_max_value then?"}}
{"actor":{"display_login":"glebreutov"}}