{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/3","id":39141494,"html_url":"https://github.com/sos-tactical-gaming/SpecialOperations2/pull/3","diff_url":"https://github.com/sos-tactical-gaming/SpecialOperations2/pull/3.diff","patch_url":"https://github.com/sos-tactical-gaming/SpecialOperations2/pull/3.patch","issue_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/issues/3","number":3,"state":"closed","locked":false,"title":"Added a no fire zone to the base","user":{"login":"EnquiringStone","id":5364816,"avatar_url":"https://avatars.githubusercontent.com/u/5364816?v=3","gravatar_id":"","url":"https://api.github.com/users/EnquiringStone","html_url":"https://github.com/EnquiringStone","followers_url":"https://api.github.com/users/EnquiringStone/followers","following_url":"https://api.github.com/users/EnquiringStone/following{/other_user}","gists_url":"https://api.github.com/users/EnquiringStone/gists{/gist_id}","starred_url":"https://api.github.com/users/EnquiringStone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnquiringStone/subscriptions","organizations_url":"https://api.github.com/users/EnquiringStone/orgs","repos_url":"https://api.github.com/users/EnquiringStone/repos","events_url":"https://api.github.com/users/EnquiringStone/events{/privacy}","received_events_url":"https://api.github.com/users/EnquiringStone/received_events","type":"User","site_admin":false},"body":"So I created a small script to prevent people firing from base. I'm new with SQF so just carefully check this out. If it's wrong in anyway, just let me know. I will only cry for a short while.\r\n\r\nWhat this code does, is to create a trigger (through code) that gives the player an event handler for \"Firing\" when the player is inside the trigger area. It will remove the handler when going out of the trigger range.\r\n\r\nI tried to copy the style of the code already written as much as possible. I've tested it locally and on the server, both seem to work. Need to test JIP but I don't foresee any trouble. \r\n\r\nI will try to expand on this with allowing no damage and have a way to conveniently change the width and length of the trigger. But this needs discussion on how. And make this no fire zone optional. Since it will be a bitch if we want to test things. I plan on being more involved in this process.","created_at":"2015-07-03T02:22:28Z","updated_at":"2015-07-03T20:02:50Z","closed_at":"2015-07-03T20:02:50Z","merged_at":"2015-07-03T20:02:50Z","merge_commit_sha":"28a64b8fd049f59f2514c2b6cd7c0076ac6fa234","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/3/commits","review_comments_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/3/comments","review_comment_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/issues/3/comments","statuses_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/statuses/53cf38bb9e4a4bcb35c006db2c9c72621b473a36","head":{"label":"EnquiringStone:master","ref":"master","sha":"53cf38bb9e4a4bcb35c006db2c9c72621b473a36","user":{"login":"EnquiringStone","id":5364816,"avatar_url":"https://avatars.githubusercontent.com/u/5364816?v=3","gravatar_id":"","url":"https://api.github.com/users/EnquiringStone","html_url":"https://github.com/EnquiringStone","followers_url":"https://api.github.com/users/EnquiringStone/followers","following_url":"https://api.github.com/users/EnquiringStone/following{/other_user}","gists_url":"https://api.github.com/users/EnquiringStone/gists{/gist_id}","starred_url":"https://api.github.com/users/EnquiringStone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnquiringStone/subscriptions","organizations_url":"https://api.github.com/users/EnquiringStone/orgs","repos_url":"https://api.github.com/users/EnquiringStone/repos","events_url":"https://api.github.com/users/EnquiringStone/events{/privacy}","received_events_url":"https://api.github.com/users/EnquiringStone/received_events","type":"User","site_admin":false},"repo":{"id":38457509,"name":"SpecialOperations2","full_name":"EnquiringStone/SpecialOperations2","owner":{"login":"EnquiringStone","id":5364816,"avatar_url":"https://avatars.githubusercontent.com/u/5364816?v=3","gravatar_id":"","url":"https://api.github.com/users/EnquiringStone","html_url":"https://github.com/EnquiringStone","followers_url":"https://api.github.com/users/EnquiringStone/followers","following_url":"https://api.github.com/users/EnquiringStone/following{/other_user}","gists_url":"https://api.github.com/users/EnquiringStone/gists{/gist_id}","starred_url":"https://api.github.com/users/EnquiringStone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EnquiringStone/subscriptions","organizations_url":"https://api.github.com/users/EnquiringStone/orgs","repos_url":"https://api.github.com/users/EnquiringStone/repos","events_url":"https://api.github.com/users/EnquiringStone/events{/privacy}","received_events_url":"https://api.github.com/users/EnquiringStone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/EnquiringStone/SpecialOperations2","description":"A remake of the original 'Special Operations' mission","fork":true,"url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2","forks_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/forks","keys_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/teams","hooks_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/hooks","issue_events_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/issues/events{/number}","events_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/events","assignees_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/assignees{/user}","branches_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/branches{/branch}","tags_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/tags","blobs_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/git/refs{/sha}","trees_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/statuses/{sha}","languages_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/languages","stargazers_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/stargazers","contributors_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/contributors","subscribers_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/subscribers","subscription_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/subscription","commits_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/commits{/sha}","git_commits_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/git/commits{/sha}","comments_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/comments{/number}","issue_comment_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/issues/comments{/number}","contents_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/contents/{+path}","compare_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/merges","archive_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/downloads","issues_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/issues{/number}","pulls_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/pulls{/number}","milestones_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/milestones{/number}","notifications_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/labels{/name}","releases_url":"https://api.github.com/repos/EnquiringStone/SpecialOperations2/releases{/id}","created_at":"2015-07-02T21:20:42Z","updated_at":"2015-07-02T21:20:42Z","pushed_at":"2015-07-03T19:56:21Z","git_url":"git://github.com/EnquiringStone/SpecialOperations2.git","ssh_url":"git@github.com:EnquiringStone/SpecialOperations2.git","clone_url":"https://github.com/EnquiringStone/SpecialOperations2.git","svn_url":"https://github.com/EnquiringStone/SpecialOperations2","homepage":"","size":183,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"sos-tactical-gaming:master","ref":"master","sha":"a09a12246c175d9125384c5c3334edc67713a14b","user":{"login":"sos-tactical-gaming","id":12958096,"avatar_url":"https://avatars.githubusercontent.com/u/12958096?v=3","gravatar_id":"","url":"https://api.github.com/users/sos-tactical-gaming","html_url":"https://github.com/sos-tactical-gaming","followers_url":"https://api.github.com/users/sos-tactical-gaming/followers","following_url":"https://api.github.com/users/sos-tactical-gaming/following{/other_user}","gists_url":"https://api.github.com/users/sos-tactical-gaming/gists{/gist_id}","starred_url":"https://api.github.com/users/sos-tactical-gaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sos-tactical-gaming/subscriptions","organizations_url":"https://api.github.com/users/sos-tactical-gaming/orgs","repos_url":"https://api.github.com/users/sos-tactical-gaming/repos","events_url":"https://api.github.com/users/sos-tactical-gaming/events{/privacy}","received_events_url":"https://api.github.com/users/sos-tactical-gaming/received_events","type":"Organization","site_admin":false},"repo":{"id":37688164,"name":"SpecialOperations2","full_name":"sos-tactical-gaming/SpecialOperations2","owner":{"login":"sos-tactical-gaming","id":12958096,"avatar_url":"https://avatars.githubusercontent.com/u/12958096?v=3","gravatar_id":"","url":"https://api.github.com/users/sos-tactical-gaming","html_url":"https://github.com/sos-tactical-gaming","followers_url":"https://api.github.com/users/sos-tactical-gaming/followers","following_url":"https://api.github.com/users/sos-tactical-gaming/following{/other_user}","gists_url":"https://api.github.com/users/sos-tactical-gaming/gists{/gist_id}","starred_url":"https://api.github.com/users/sos-tactical-gaming/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sos-tactical-gaming/subscriptions","organizations_url":"https://api.github.com/users/sos-tactical-gaming/orgs","repos_url":"https://api.github.com/users/sos-tactical-gaming/repos","events_url":"https://api.github.com/users/sos-tactical-gaming/events{/privacy}","received_events_url":"https://api.github.com/users/sos-tactical-gaming/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sos-tactical-gaming/SpecialOperations2","description":"A remake of the original 'Special Operations' mission","fork":false,"url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2","forks_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/forks","keys_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/teams","hooks_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/hooks","issue_events_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/issues/events{/number}","events_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/events","assignees_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/assignees{/user}","branches_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/branches{/branch}","tags_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/tags","blobs_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/git/refs{/sha}","trees_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/statuses/{sha}","languages_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/languages","stargazers_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/stargazers","contributors_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/contributors","subscribers_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/subscribers","subscription_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/subscription","commits_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/commits{/sha}","git_commits_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/git/commits{/sha}","comments_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/comments{/number}","issue_comment_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/issues/comments{/number}","contents_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/contents/{+path}","compare_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/merges","archive_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/downloads","issues_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/issues{/number}","pulls_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls{/number}","milestones_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/milestones{/number}","notifications_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/labels{/name}","releases_url":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/releases{/id}","created_at":"2015-06-18T22:12:59Z","updated_at":"2015-07-03T20:00:48Z","pushed_at":"2015-07-03T20:02:50Z","git_url":"git://github.com/sos-tactical-gaming/SpecialOperations2.git","ssh_url":"git@github.com:sos-tactical-gaming/SpecialOperations2.git","clone_url":"https://github.com/sos-tactical-gaming/SpecialOperations2.git","svn_url":"https://github.com/sos-tactical-gaming/SpecialOperations2","homepage":"","size":319,"stargazers_count":4,"watchers_count":4,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/3"},"html":{"href":"https://github.com/sos-tactical-gaming/SpecialOperations2/pull/3"},"issue":{"href":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/issues/3"},"comments":{"href":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/sos-tactical-gaming/SpecialOperations2/statuses/53cf38bb9e4a4bcb35c006db2c9c72621b473a36"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"legman","id":6452528,"avatar_url":"https://avatars.githubusercontent.com/u/6452528?v=3","gravatar_id":"","url":"https://api.github.com/users/legman","html_url":"https://github.com/legman","followers_url":"https://api.github.com/users/legman/followers","following_url":"https://api.github.com/users/legman/following{/other_user}","gists_url":"https://api.github.com/users/legman/gists{/gist_id}","starred_url":"https://api.github.com/users/legman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/legman/subscriptions","organizations_url":"https://api.github.com/users/legman/orgs","repos_url":"https://api.github.com/users/legman/repos","events_url":"https://api.github.com/users/legman/events{/privacy}","received_events_url":"https://api.github.com/users/legman/received_events","type":"User","site_admin":false},"comments":2,"review_comments":1,"commits":5,"additions":99,"deletions":3,"changed_files":6}}