6 Months Ago
Enable episodic behaviors for npc_citizen Improve autorefresh handling for lua_openscript scripts If the opened script is in one of the special folders such as autorun/, autorefresh those based on our pre-existing rules. Added ENTITY:TranslateActivity( act ) for `ai` type entities Do not handle spawnicons and posters during render.RenderView Added GM:PostEntityFireBullets( ent, info ) This hook is called for every "pellet" of a FireBullets call, contains the performed trace (i.e. which entity it hit, and precisely where), and can block the bullet from firing when returning false Some of the bullet structure data is not available due to it being deemed useless or "obsolete" when the hook is called. Altered how missing members of GM:EntityFireBullets return table work They used to default to weird static values, now will inherit the previous value that was passed to the hook, which seems more logical