{"slug":"objects/entity_extensions/entity_extensions___expressions___entity_DOF_names","category":"objects","title":"Entity extensions · expressions · entity DOF names","kind":"table","intro":" ===========================================\n ===========================================\n ===========================================\n EXAMPLE OF USING:\n\n\n -- CREATE OBJECT WITH MODEL p_chips01x10_rho\n local expression_type = 2\t-- check table below\n local DOF_name = \"Chip10_Ctrl\" \t-- check table below\n\n -- Removes top chip (chip10) from stack (1.0 - remove, 0.0 - add):\n Citizen.InvokeNative(0x669655FFB29EF1A9, p_chips01x10_rho___object_id, expression_type, DOF_name, 1.0)\n\n\n--------------------------------------------\n--------------------------------------------\n\n -- CREATE OBJECT WITH MODEL p_bacon_cabbage01x\n local expression_type = 0\t-- check table below\n local DOF_name = \"stew_fill\" \t-- check table below\n\n -- Add 40% of stew to the plate (amount from 0.0 till 1.0) :\n Citizen.InvokeNative(0x669655FFB29EF1A9, p_bacon_cabbage01x___object_id, expression_type, DOF_name, 0.4)\n\n\n--------------------------------------------\n--------------------------------------------\n\n -- CREATE OBJECT WITH MODEL mp006_s_mnshn_product01x_full\n local expression_type = 2\t-- check table below\n local DOF_name = \"full_jug06_Ctrl\" \t-- check table below\n\n -- decrease size of 6th jug (amount from 0.0 till 1.0) :\n Citizen.InvokeNative(0x669655FFB29EF1A9, mp006_s_mnshn_product01x_full___object_id, expression_type, DOF_name, 0.4)\n\n ===========================================\n ===========================================\n ===========================================","tables":[{"id":45,"name":"entity_DOF_names","columns":["key2","value","c1","c2","c3","c4","item"],"rows":668}],"sourceUrl":"https://github.com/femga/rdr3_discoveries/blob/477aaaccadb7f0c042286611d9939009636cff12/objects/entity_extensions/entity_extensions___expressions___entity_DOF_names.lua","rows":[{"row":0,"cells":{"key2":"DOF_name","value":"bucket_Fill"},"note":null},{"row":1,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":2,"cells":{"key2":"entity_models","c1":"p_bucketpigfeed03x","c2":"p_bucket02x","c3":"p_bucket03x","c4":"s_bucketmilk01x"},"note":null},{"row":3,"cells":{"key2":"DOF_name","value":"tumbler_fill"},"note":null},{"row":4,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":5,"cells":{"key2":"entity_models","item":"mp006_p_mp_basket04x"},"note":null},{"row":6,"cells":{"key2":"entity_models","item":"mp006_s_glass_moonshine01x"},"note":null},{"row":7,"cells":{"key2":"entity_models","item":"mp006_s_tinmug_moonshine01x"},"note":null},{"row":8,"cells":{"key2":"entity_models","item":"p_glass01x"},"note":null},{"row":9,"cells":{"key2":"entity_models","item":"s_tumbler01x_brown"},"note":null},{"row":10,"cells":{"key2":"entity_models","item":"s_tumbler01x_clear"},"note":null},{"row":11,"cells":{"key2":"entity_models","item":"s_tumbler02x_brown"},"note":null},{"row":12,"cells":{"key2":"DOF_name","value":"Meat_Filet_Bite"},"note":null},{"row":13,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":14,"cells":{"key2":"entity_models","item":"p_redbirdbreast01xb"},"note":null},{"row":15,"cells":{"key2":"entity_models","item":"p_redefleshymeat01xb"},"note":null},{"row":16,"cells":{"key2":"entity_models","item":"p_redfishfilet01xb"},"note":null},{"row":17,"cells":{"key2":"entity_models","item":"p_whitefishfilet01xb"},"note":null},{"row":18,"cells":{"key2":"entity_models","item":"p_whitefleshymeat01xb"},"note":null},{"row":19,"cells":{"key2":"entity_models","item":"s_bit_apple01x"},"note":null},{"row":20,"cells":{"key2":"entity_models","item":"s_bit_bread06"},"note":null},{"row":21,"cells":{"key2":"entity_models","item":"s_bit_carrot01x"},"note":null},{"row":22,"cells":{"key2":"entity_models","item":"s_bit_celery01x"},"note":null},{"row":23,"cells":{"key2":"entity_models","item":"s_bit_cheesewedge1x"},"note":null},{"row":24,"cells":{"key2":"entity_models","item":"s_bit_peach01x"},"note":null},{"row":25,"cells":{"key2":"entity_models","item":"s_bit_pear_02x"},"note":null},{"row":26,"cells":{"key2":"DOF_name","value":"Canvas"},"note":null},{"row":27,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":28,"cells":{"key2":"entity_models","c1":"mp005_p_bla_photo01x_bla","c2":"mp005_p_bla_photo01x_std","c3":"p_bla_photo01x","c4":"p_bla_photo02x"},"note":null},{"row":29,"cells":{"key2":"DOF_name","value":"meatBowl_fill"},"note":null},{"row":30,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":31,"cells":{"key2":"entity_models","c1":"p_cs_meatbowl01x","c2":"p_cs_rabbitmeatbowl01x"},"note":null},{"row":32,"cells":{"key2":"DOF_name","value":"Nut_fill"},"note":null},{"row":33,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":34,"cells":{"key2":"entity_models","c1":"p_nutbowl01x"},"note":null},{"row":35,"cells":{"key2":"DOF_name","value":"stew_fill"},"note":null},{"row":36,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":37,"cells":{"key2":"entity_models","item":"p_bacon_cabbage01x"},"note":null},{"row":38,"cells":{"key2":"entity_models","item":"p_beefstew01x"},"note":null},{"row":39,"cells":{"key2":"entity_models","item":"p_bowl04x_stew"},"note":null},{"row":40,"cells":{"key2":"entity_models","item":"p_chillicurry01x"},"note":null},{"row":41,"cells":{"key2":"entity_models","item":"p_fishstew01x"},"note":null},{"row":42,"cells":{"key2":"entity_models","item":"p_lobster_bisque01x"},"note":null},{"row":43,"cells":{"key2":"entity_models","item":"p_oatmeal01x"},"note":null},{"row":44,"cells":{"key2":"entity_models","item":"p_peach_cobbler01x"},"note":null},{"row":45,"cells":{"key2":"entity_models","item":"p_wheat_milk01x"},"note":null},{"row":46,"cells":{"key2":"DOF_name","value":"CTRL_CottonScale"},"note":null},{"row":47,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":48,"cells":{"key2":"entity_models","c1":"s_cottonraw01x"},"note":null},{"row":49,"cells":{"key2":"DOF_name","value":"corkonoff"},"note":null},{"row":50,"cells":{"key2":"expression_type","value":"2"},"note":null},{"row":51,"cells":{"key2":"entity_models","item":"s_agedpiraterum01x"},"note":null},{"row":52,"cells":{"key2":"entity_models","item":"s_beardtonic01x"},"note":null},{"row":53,"cells":{"key2":"entity_models","item":"s_brandy01x"},"note":null},{"row":54,"cells":{"key2":"entity_models","item":"s_brandy_used01x"},"note":null},{"row":55,"cells":{"key2":"entity_models","item":"s_craftedmedicine_02x"},"note":null},{"row":56,"cells":{"key2":"entity_models","item":"s_craftedsnakeoil_02x"},"note":null},{"row":57,"cells":{"key2":"entity_models","item":"s_craftedtonic_02x"},"note":null},{"row":58,"cells":{"key2":"entity_models","item":"s_ginsengelixir01x"},"note":null},{"row":59,"cells":{"key2":"entity_models","item":"s_inv_flask01x"},"note":null},{"row":60,"cells":{"key2":"entity_models","item":"s_inv_gin01x"},"note":null},{"row":61,"cells":{"key2":"entity_models","item":"s_inv_gin_used01x"},"note":null},{"row":62,"cells":{"key2":"entity_models","item":"s_inv_medicine01x"},"note":null},{"row":63,"cells":{"key2":"entity_models","item":"s_inv_medicine_fty"},"note":null},{"row":64,"cells":{"key2":"entity_models","item":"s_inv_medicinehalf01x"},"note":null},{"row":65,"cells":{"key2":"entity_models","item":"s_inv_rum01x"},"note":null},{"row":66,"cells":{"key2":"entity_models","item":"s_inv_snakeoil01x"},"note":null},{"row":67,"cells":{"key2":"entity_models","item":"s_inv_snakeoil_fty"},"note":null},{"row":68,"cells":{"key2":"entity_models","item":"s_inv_snakeoilhalf01x"},"note":null},{"row":69,"cells":{"key2":"entity_models","item":"s_inv_supertonic01x"},"note":null},{"row":70,"cells":{"key2":"entity_models","item":"s_inv_tonic01x"},"note":null},{"row":71,"cells":{"key2":"entity_models","item":"s_inv_tonichalf01x"},"note":null},{"row":72,"cells":{"key2":"entity_models","item":"s_inv_usedrum01x"},"note":null},{"row":73,"cells":{"key2":"entity_models","item":"s_inv_whiskey01x"},"note":null},{"row":74,"cells":{"key2":"entity_models","item":"s_inv_whiskey02x"},"note":null},{"row":75,"cells":{"key2":"entity_models","item":"s_inv_whiskey_used01x"},"note":null},{"row":76,"cells":{"key2":"entity_models","item":"s_valerianroot01x"},"note":null},{"row":77,"cells":{"key2":"DOF_name","value":"CTRL_cupFill"},"note":null},{"row":78,"cells":{"key2":"expression_type","value":"0"},"note":null},{"row":79,"cells":{"key2":"entity_models","c1":"p_mugcoffee01x"},"note":null},{"row":80,"cells":{"key2":"DOF_name","value":"Chip01_Ctrl"},"note":null},{"row":81,"cells":{"key2":"expression_type","value":"2"},"note":null},{"row":82,"cells":{"key2":"entity_models","item":"p_chips01x10_rho"},"note":null},{"row":83,"cells":{"key2":"entity_models","item":"p_chips02x10_rho"},"note":null},{"row":84,"cells":{"key2":"entity_models","item":"p_chips03x10_rho"},"note":null},{"row":85,"cells":{"key2":"entity_models","item":"p_chips04x10_rho"},"note":null},{"row":86,"cells":{"key2":"entity_models","item":"p_chips05x10_rho"},"note":null},{"row":87,"cells":{"key2":"entity_models","item":"p_chips_bla01x"},"note":null},{"row":88,"cells":{"key2":"entity_models","item":"p_chips_bla02x"},"note":null},{"row":89,"cells":{"key2":"entity_models","item":"p_chips_bla03x"},"note":null},{"row":90,"cells":{"key2":"entity_models","item":"p_chips_bla04x"},"note":null},{"row":91,"cells":{"key2":"entity_models","item":"p_chips_bla05x"},"note":null},{"row":92,"cells":{"key2":"entity_models","item":"p_chips_camp01x"},"note":null},{"row":93,"cells":{"key2":"entity_models","item":"p_chips_camp02x"},"note":null},{"row":94,"cells":{"key2":"entity_models","item":"p_chips_camp03x"},"note":null},{"row":95,"cells":{"key2":"entity_models","item":"p_chips_camp04x"},"note":null},{"row":96,"cells":{"key2":"entity_models","item":"p_chips_camp05x"},"note":null},{"row":97,"cells":{"key2":"entity_models","item":"p_chips_fla01x"},"note":null},{"row":98,"cells":{"key2":"entity_models","item":"p_chips_fla02x"},"note":null},{"row":99,"cells":{"key2":"entity_models","item":"p_chips_fla03x"},"note":null}],"table":45}