{"slug":"tasks/TASK_ANIMAL_INTERACTION","category":"tasks","title":"TASK ANIMAL INTERACTION","kind":"markdown","intro":"","body":"## Animal Interaction Types\n\n## Example\n\n```lua\n\n\t-- TASK_ANIMAL_INTERACTION\n\t-- p0 - ped id\n\t-- p1 - target ped id\n\t-- p2 - interactionTypeHash\n\t-- p3 - object model to use for interaction (0 if use nothing)\n\t-- p4 -  1 = skip idle animation clip\n\n\t-- ped injected the horse with a syringe :\n\tCitizen.InvokeNative(0xCD181A959CFDD7F4, PlayerPedId(), horse_ped_id, GetHashKey(\"Interaction_Injection_Quick\"), GetHashKey(\"p_cs_syringe01x\"), 1)\n\n\t-- brush horse\n\tCitizen.InvokeNative(0xCD181A959CFDD7F4, PlayerPedId(), horse_ped_id, GetHashKey(\"Interaction_Brush\"), GetHashKey(\"p_brushHorse02x\"), 1)\n\n\t-- pat dog\n\tCitizen.InvokeNative(0xCD181A959CFDD7F4, PlayerPedId(), dog_ped_id, GetHashKey(\"Interaction_Dog_Patting\"), 0, 1)\n\n```\n\n<h2>Some known Animal Interaction Types.</h2>\n\n\tInteraction_Brush\n\tInteraction_Dog_Idle\n\tInteraction_Dog_Patting\n\tInteraction_DrawBowFromScabbard\n\tInteraction_DrawLeftPistol\n\tInteraction_DrawRifleFromScabbard\n\tInteraction_DrawRifleFromUnderSaddle\n\tInteraction_DrawRifleFromUnderSaddle_BothHands\n\tInteraction_DrawRightPistol\n\tInteraction_DrawRightPistol_BothHands\n\tInteraction_Food\n\tInteraction_HolsterBowOnScabbard\n\tInteraction_HolsterBowOnScabbard_DrawBowFromScabbard\n\tInteraction_HolsterBowOnScabbard_DrawRifleFromScabbard\n\tInteraction_HolsterBowOnScabbard_DrawRifleFromScabbard_BothHands\n\tInteraction_HolsterBowOnScabbard_DrawRifleFromUnderSaddle\n\tInteraction_HolsterBowOnScabbard_DrawRifleFromUnderSaddle_BothHands\n\tInteraction_HolsterLeftPistol\n\tInteraction_HolsterLeftPistol_DrawLeftPistol\n\tInteraction_HolsterRifleUnderSaddle\n\tInteraction_HolsterRifleUnderSaddle_BothHands\n\tInteraction_HolsterRifleUnderSaddle_DrawBowFromScabbard\n\tInteraction_HolsterRifleUnderSaddle_DrawBowFromScabbard_BothHands\n\tInteraction_HolsterRifleUnderSaddle_DrawRifleFromScabbard\n\tInteraction_HolsterRifleUnderSaddle_DrawRifleFromScabbard_BothHands\n\tInteraction_HolsterRifleUnderSaddle_DrawRifleFromUnderSaddle\n\tInteraction_HolsterRifleUnderSaddle_DrawRifleFromUnderSaddle_BothHands\n\tInteraction_HolsterRightPistol\n\tInteraction_HolsterRightPistol_BothHands\n\tInteraction_HolsterRightPistol_DrawRightPistol\n\tInteraction_HolsterRightPistol_DrawRightPistol_BothHands\n\tInteraction_Idle\n\tInteraction_Injection_Quick\n\tInteraction_LootSaddleBags\n\tInteraction_Ointment\n\tInteraction_PatDownEarlyCounterFailMelee\t\t(target ped is human)\n\tInteraction_PatDownEarlyCounterFailPistol\t\t(target ped is human)\n\tInteraction_PatDownEarlyCounterFailPush\t\t(target ped is human)\n\tInteraction_PatDownQuickKillGun1\t\t(target ped is human)\n\tInteraction_PatDownQuickKillGun2\t\t(target ped is human)\n\tInteraction_PatDownQuickKillGun3\t\t(target ped is human)\n\tInteraction_PatDownQuickKillGun4\t\t(target ped is human)\n\tInteraction_PatDownSuccess\t\t(target ped is human)\n\tInteraction_PatDownTarget\t\t(target ped is human)\n\tInteraction_PickupPlant\n\tInteraction_PositiveLong\n\tInteraction_PositiveLong1H\n\tInteraction_PositiveLongAgitated\n\tInteraction_PositiveShort\n\tInteraction_PositiveShort1H\n\tInteraction_PositiveShortAgitated\n\tInteraction_PositiveShortHorseBreaking\n\tInteraction_RemoveArmadillo\n\tInteraction_RemoveBadger\n\tInteraction_RemoveCaliforniaCondor\n\tInteraction_RemoveCat\n\tInteraction_RemoveChicken\n\tInteraction_RemoveCormorant\n\tInteraction_RemoveCraneWhooping\n\tInteraction_RemoveDuck\n\tInteraction_RemoveDuckMallard\n\tInteraction_RemoveEagle\n\tInteraction_RemoveEgret\n\tInteraction_RemoveFishBag\n\tInteraction_RemoveGilaMonster\n\tInteraction_RemoveGoose\n\tInteraction_RemoveHawk\n\tInteraction_RemoveHeron\n\tInteraction_RemoveIguana\n\tInteraction_RemoveLoon\n\tInteraction_RemoveMuskrat\n\tInteraction_RemoveOwl\n\tInteraction_RemoveParrot\n\tInteraction_RemovePelican\n\tInteraction_RemovePheasant\n\tInteraction_RemovePossum\n\tInteraction_RemovePrairieChicken\n\tInteraction_RemoveRabbit\n\tInteraction_RemoveRaccoon\n\tInteraction_RemoveRaven\n\tInteraction_RemoveRedFootedBooby\n\tInteraction_RemoveRooster\n\tInteraction_RemoveRoseateSpoonbill\n\tInteraction_RemoveSeagull\n\tInteraction_RemoveSkunk\n\tInteraction_RemoveSnake\n\tInteraction_RemoveTurkey\n\tInteraction_RemoveTurkey_02\n\tInteraction_RemoveTurkeyWild\n\tInteraction_RemoveVulture\n\tInteraction_StowArmadillo\n\tInteraction_StowBadger\n\tInteraction_StowCaliforniaCondor\n\tInteraction_StowCat\n\tInteraction_StowChicken\n\tInteraction_StowCormorant\n\tInteraction_StowCraneWhooping\n\tInteraction_StowDuck\n\tInteraction_StowDuckMallard\n\tInteraction_StowEagle\n\tInteraction_StowEgret\n\tInteraction_StowFishBag\n\tInteraction_StowGilaMonster\n\tInteraction_StowGoose\n\tInteraction_StowHawk\n\tInteraction_StowHeron\n\tInteraction_StowIguana\n\tInteraction_StowLoon\n\tInteraction_StowMediumPelt\n\tInteraction_StowMuskrat\n\tInteraction_StowOwl\n\tInteraction_StowParrot\n\tInteraction_StowPelican\n\tInteraction_StowPheasant\n\tInteraction_StowPossum\n\tInteraction_StowPrairieChicken\n\tInteraction_StowRabbit\n\tInteraction_StowRaccoon\n\tInteraction_StowRaven\n\tInteraction_StowRedFootedBooby\n\tInteraction_StowRooster\n\tInteraction_StowRoseateSpoonbill\n\tInteraction_StowSaddle\n\tInteraction_StowSeagull\n\tInteraction_StowSkunk\n\tInteraction_StowSnake\n\tInteraction_StowTurkey\n\tInteraction_StowTurkey_02\n\tInteraction_StowTurkeyWild\n\tInteraction_StowVulture\n\tInteraction_TuckMediumPelt","tables":[],"sourceUrl":"https://github.com/femga/rdr3_discoveries/tree/477aaaccadb7f0c042286611d9939009636cff12/tasks/TASK_ANIMAL_INTERACTION","rows":[]}