{"action":"reopened","number":1,"pull_request":{"url":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/1","id":99387156,"html_url":"https://github.com/drball/BotSumo-scripts/pull/1","diff_url":"https://github.com/drball/BotSumo-scripts/pull/1.diff","patch_url":"https://github.com/drball/BotSumo-scripts/pull/1.patch","issue_url":"https://api.github.com/repos/drball/BotSumo-scripts/issues/1","number":1,"state":"open","locked":false,"title":"I hope I did it correctly :)","user":{"login":"ggelardi","id":24634877,"avatar_url":"https://avatars.githubusercontent.com/u/24634877?v=3","gravatar_id":"","url":"https://api.github.com/users/ggelardi","html_url":"https://github.com/ggelardi","followers_url":"https://api.github.com/users/ggelardi/followers","following_url":"https://api.github.com/users/ggelardi/following{/other_user}","gists_url":"https://api.github.com/users/ggelardi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggelardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggelardi/subscriptions","organizations_url":"https://api.github.com/users/ggelardi/orgs","repos_url":"https://api.github.com/users/ggelardi/repos","events_url":"https://api.github.com/users/ggelardi/events{/privacy}","received_events_url":"https://api.github.com/users/ggelardi/received_events","type":"User","site_admin":false},"body":"So the way the process works is as follow:\r\n\r\nA new Empty GameObject needs to be created and put as child of the \"enemy bot\". This GameObject will be our raycaster, or in other words, it'll be the bot's eyes, so we need to place it about the \"eye\" position of the bot. Then attach the SeekPlayer.cs script to it. The Raycast.cs script is almost identical, it was the one I was using to do some tests.\r\nThe _RotateCustom script takes care of the movement of the enemy. So the bot will spin clockwise or anticlockwise and if it finds the player it'll just go straight. If however the bot \"stumbles\" and rotates its position, stopAll occurs, which stops the bot. At this point the bot will be regenerated at its initial position as in the original script.","created_at":"2016-12-26T19:23:45Z","updated_at":"2016-12-26T19:24:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"87eaa466c773f70df559397d0ecf87843422ddcd","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/1/commits","review_comments_url":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/1/comments","review_comment_url":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/drball/BotSumo-scripts/issues/1/comments","statuses_url":"https://api.github.com/repos/drball/BotSumo-scripts/statuses/0919f09606566fa47f88cc5a3330ec1f544ed7ca","head":{"label":"ggelardi:SinglePlayer","ref":"SinglePlayer","sha":"0919f09606566fa47f88cc5a3330ec1f544ed7ca","user":{"login":"ggelardi","id":24634877,"avatar_url":"https://avatars.githubusercontent.com/u/24634877?v=3","gravatar_id":"","url":"https://api.github.com/users/ggelardi","html_url":"https://github.com/ggelardi","followers_url":"https://api.github.com/users/ggelardi/followers","following_url":"https://api.github.com/users/ggelardi/following{/other_user}","gists_url":"https://api.github.com/users/ggelardi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggelardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggelardi/subscriptions","organizations_url":"https://api.github.com/users/ggelardi/orgs","repos_url":"https://api.github.com/users/ggelardi/repos","events_url":"https://api.github.com/users/ggelardi/events{/privacy}","received_events_url":"https://api.github.com/users/ggelardi/received_events","type":"User","site_admin":false},"repo":{"id":77401805,"name":"BotSumo-scripts","full_name":"ggelardi/BotSumo-scripts","owner":{"login":"ggelardi","id":24634877,"avatar_url":"https://avatars.githubusercontent.com/u/24634877?v=3","gravatar_id":"","url":"https://api.github.com/users/ggelardi","html_url":"https://github.com/ggelardi","followers_url":"https://api.github.com/users/ggelardi/followers","following_url":"https://api.github.com/users/ggelardi/following{/other_user}","gists_url":"https://api.github.com/users/ggelardi/gists{/gist_id}","starred_url":"https://api.github.com/users/ggelardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ggelardi/subscriptions","organizations_url":"https://api.github.com/users/ggelardi/orgs","repos_url":"https://api.github.com/users/ggelardi/repos","events_url":"https://api.github.com/users/ggelardi/events{/privacy}","received_events_url":"https://api.github.com/users/ggelardi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ggelardi/BotSumo-scripts","description":"Scripts directory for BotSumo game made in Unity3D","fork":true,"url":"https://api.github.com/repos/ggelardi/BotSumo-scripts","forks_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/forks","keys_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/teams","hooks_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/hooks","issue_events_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/events","assignees_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/tags","blobs_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/languages","stargazers_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/stargazers","contributors_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/contributors","subscribers_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/subscribers","subscription_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/subscription","commits_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/merges","archive_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/downloads","issues_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/labels{/name}","releases_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/ggelardi/BotSumo-scripts/deployments","created_at":"2016-12-26T19:03:06Z","updated_at":"2016-12-26T19:03:08Z","pushed_at":"2016-12-26T19:13:40Z","git_url":"git://github.com/ggelardi/BotSumo-scripts.git","ssh_url":"git@github.com:ggelardi/BotSumo-scripts.git","clone_url":"https://github.com/ggelardi/BotSumo-scripts.git","svn_url":"https://github.com/ggelardi/BotSumo-scripts","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"drball:master","ref":"master","sha":"ee69cde170e2554db71a33d244031e5b74f9cecf","user":{"login":"drball","id":5682340,"avatar_url":"https://avatars.githubusercontent.com/u/5682340?v=3","gravatar_id":"","url":"https://api.github.com/users/drball","html_url":"https://github.com/drball","followers_url":"https://api.github.com/users/drball/followers","following_url":"https://api.github.com/users/drball/following{/other_user}","gists_url":"https://api.github.com/users/drball/gists{/gist_id}","starred_url":"https://api.github.com/users/drball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drball/subscriptions","organizations_url":"https://api.github.com/users/drball/orgs","repos_url":"https://api.github.com/users/drball/repos","events_url":"https://api.github.com/users/drball/events{/privacy}","received_events_url":"https://api.github.com/users/drball/received_events","type":"User","site_admin":false},"repo":{"id":70287206,"name":"BotSumo-scripts","full_name":"drball/BotSumo-scripts","owner":{"login":"drball","id":5682340,"avatar_url":"https://avatars.githubusercontent.com/u/5682340?v=3","gravatar_id":"","url":"https://api.github.com/users/drball","html_url":"https://github.com/drball","followers_url":"https://api.github.com/users/drball/followers","following_url":"https://api.github.com/users/drball/following{/other_user}","gists_url":"https://api.github.com/users/drball/gists{/gist_id}","starred_url":"https://api.github.com/users/drball/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drball/subscriptions","organizations_url":"https://api.github.com/users/drball/orgs","repos_url":"https://api.github.com/users/drball/repos","events_url":"https://api.github.com/users/drball/events{/privacy}","received_events_url":"https://api.github.com/users/drball/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/drball/BotSumo-scripts","description":"Scripts directory for BotSumo game made in Unity3D","fork":false,"url":"https://api.github.com/repos/drball/BotSumo-scripts","forks_url":"https://api.github.com/repos/drball/BotSumo-scripts/forks","keys_url":"https://api.github.com/repos/drball/BotSumo-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/drball/BotSumo-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/drball/BotSumo-scripts/teams","hooks_url":"https://api.github.com/repos/drball/BotSumo-scripts/hooks","issue_events_url":"https://api.github.com/repos/drball/BotSumo-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/drball/BotSumo-scripts/events","assignees_url":"https://api.github.com/repos/drball/BotSumo-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/drball/BotSumo-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/drball/BotSumo-scripts/tags","blobs_url":"https://api.github.com/repos/drball/BotSumo-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/drball/BotSumo-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/drball/BotSumo-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/drball/BotSumo-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/drball/BotSumo-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/drball/BotSumo-scripts/languages","stargazers_url":"https://api.github.com/repos/drball/BotSumo-scripts/stargazers","contributors_url":"https://api.github.com/repos/drball/BotSumo-scripts/contributors","subscribers_url":"https://api.github.com/repos/drball/BotSumo-scripts/subscribers","subscription_url":"https://api.github.com/repos/drball/BotSumo-scripts/subscription","commits_url":"https://api.github.com/repos/drball/BotSumo-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/drball/BotSumo-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/drball/BotSumo-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/drball/BotSumo-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/drball/BotSumo-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/drball/BotSumo-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/drball/BotSumo-scripts/merges","archive_url":"https://api.github.com/repos/drball/BotSumo-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/drball/BotSumo-scripts/downloads","issues_url":"https://api.github.com/repos/drball/BotSumo-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/drball/BotSumo-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/drball/BotSumo-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/drball/BotSumo-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/drball/BotSumo-scripts/labels{/name}","releases_url":"https://api.github.com/repos/drball/BotSumo-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/drball/BotSumo-scripts/deployments","created_at":"2016-10-07T22:24:41Z","updated_at":"2016-10-08T11:20:55Z","pushed_at":"2016-12-26T19:23:45Z","git_url":"git://github.com/drball/BotSumo-scripts.git","ssh_url":"git@github.com:drball/BotSumo-scripts.git","clone_url":"https://github.com/drball/BotSumo-scripts.git","svn_url":"https://github.com/drball/BotSumo-scripts","homepage":null,"size":55,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/1"},"html":{"href":"https://github.com/drball/BotSumo-scripts/pull/1"},"issue":{"href":"https://api.github.com/repos/drball/BotSumo-scripts/issues/1"},"comments":{"href":"https://api.github.com/repos/drball/BotSumo-scripts/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/drball/BotSumo-scripts/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/drball/BotSumo-scripts/statuses/0919f09606566fa47f88cc5a3330ec1f544ed7ca"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":220,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"ggelardi"}}