cri
Wunder Wulfe
View profile on GTA5-Mods.com »
Posts made by Wunder Wulfe
-
Making AI dogs fetch balls
I have absolutely no idea how to go about making the AI fetch a ball... all i have them do at the moment is play sitting scenarios when up close, follow the owner, and ride in vehicles
-
Scenarios, playing and stopping
I managed to get both enter, idle, and exit animations working but when i try to make them exit the scenario they go right back into it. How do i make the NPC leave/exit the scenario i played?
-
Making AI drivers in C++ follow and pick up player
I am trying to make NPC drivers follow the player and also go to markers but when I tell them to do so they just turn their steering wheel toward me and do not drive forward.
static void DriveTo(Ped character, Vehicle car, float speed = 40.0f, int DriveMode = 786603) { Ped driver = DriverOf(car); AI::TASK_VEHICLE_TEMP_ACTION(driver, car, 9, 2000); WAIT(5); AI::_TASK_VEHICLE_FOLLOW(driver, car, character, DriveMode, speed, 10); }
used:
DriveTo(character, vehicle, 40.0f, AIDriveStyle);
and i still need help with allowing the driver to stay in the vehicle when the player enters so they can be driven to the marker and soon i need to add a waving animation