{"action":"created","issue":{"url":"https://api.github.com/repos/Razish/japp/issues/119","labels_url":"https://api.github.com/repos/Razish/japp/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/Razish/japp/issues/119/comments","events_url":"https://api.github.com/repos/Razish/japp/issues/119/events","html_url":"https://github.com/Razish/japp/issues/119","id":28238761,"number":119,"title":"Entity API","user":{"login":"EpicLoyd","id":6436703,"avatar_url":"https://avatars.githubusercontent.com/u/6436703?v=3","gravatar_id":"","url":"https://api.github.com/users/EpicLoyd","html_url":"https://github.com/EpicLoyd","followers_url":"https://api.github.com/users/EpicLoyd/followers","following_url":"https://api.github.com/users/EpicLoyd/following{/other_user}","gists_url":"https://api.github.com/users/EpicLoyd/gists{/gist_id}","starred_url":"https://api.github.com/users/EpicLoyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EpicLoyd/subscriptions","organizations_url":"https://api.github.com/users/EpicLoyd/orgs","repos_url":"https://api.github.com/users/EpicLoyd/repos","events_url":"https://api.github.com/users/EpicLoyd/events{/privacy}","received_events_url":"https://api.github.com/users/EpicLoyd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Razish/japp/labels/enhancement","name":"enhancement","color":"FFFFFF"},{"url":"https://api.github.com/repos/Razish/japp/labels/JPLua","name":"JPLua","color":"fbca04"},{"url":"https://api.github.com/repos/Razish/japp/labels/server","name":"server","color":"2020FF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-02-25T11:03:03Z","updated_at":"2015-11-19T14:11:35Z","closed_at":null,"body":"what about entity api?here are some functions:\r\nGetEntity()\r\nent:GetType() (grenades, npc, etc...)\r\nent:SetHealth() (if npc / breakable object)\r\nent:GetHealth()\r\nent:Teleport()\r\nent:GetPosition\r\nent:SetSpeed() / GetSpeed\r\netc....\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Razish/japp/issues/comments/158068067","html_url":"https://github.com/Razish/japp/issues/119#issuecomment-158068067","issue_url":"https://api.github.com/repos/Razish/japp/issues/119","id":158068067,"user":{"login":"Morabis","id":4901169,"avatar_url":"https://avatars.githubusercontent.com/u/4901169?v=3","gravatar_id":"","url":"https://api.github.com/users/Morabis","html_url":"https://github.com/Morabis","followers_url":"https://api.github.com/users/Morabis/followers","following_url":"https://api.github.com/users/Morabis/following{/other_user}","gists_url":"https://api.github.com/users/Morabis/gists{/gist_id}","starred_url":"https://api.github.com/users/Morabis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Morabis/subscriptions","organizations_url":"https://api.github.com/users/Morabis/orgs","repos_url":"https://api.github.com/users/Morabis/repos","events_url":"https://api.github.com/users/Morabis/events{/privacy}","received_events_url":"https://api.github.com/users/Morabis/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:11:35Z","updated_at":"2015-11-19T14:11:35Z","body":"So the setusefunction is executed when the entity is being used. Is this function has parameters like self, other, activator?\r\nAnd Is there a command to get a list of entities on the server to find and id for an entity?"}}