I can't figure out how to get a Ped to move from inside the Blaine County Savings Bank in Paleto to the car waiting outside. The Peds I have outside the bank move to the car just fine. But the guy in the bank just stays there. I decided maybe he can't open the door on his own (despite being a cold blooded killer), so I tried to open both doors, but that doesn't seem to work. The doors don't actually open. Can someone point out my glaring mistake so I can move on with my life?
Callout Initialization:
private Vector3 InsideMan3SpawnPoint = new Vector3(-109.9275f, 6464.298f, 31.62672f);
private Ped InsideMan3;
InsideMan3 = new Ped(InsideMan3SpawnPoint);
InsideMan3.Heading = 129f;
InsideMan3.IsPersistent = true;
InsideMan3.BlockPermanentEvents = true;
InsideMan3.Inventory.GiveNewWeapon("WEAPON_ASSAULTSHOTGUN", 120, true);
InsideMan3Blip = InsideMan1.AttachBlip();
InsideMan3Blip.IsFriendly = false;
public override void Process():
NativeFunction.CallByName<uint>("SET_STATE_OF_CLOSEST_DOOR_OF_TYPE", 0xa9f8b6b, -111.0f, 6464.0f, 32.0f, false, 1f, false);
NativeFunction.CallByName<uint>("SET_STATE_OF_CLOSEST_DOOR_OF_TYPE", 0x6e67d2fa, -110.0f, 6462.0f, 32.0f, false, 1f, false);
InsideMan3.Tasks.FollowNavigationMeshToPosition(GetawayCar.Position, 129f, 2.0f);
InsideMan3.Tasks.EnterVehicle(GetawayCar, 0);
Bonus question: All 3 murderous Peds use the same "FollowNavigationMeshToPostion" call, and the two that actually do it take their sweet time walking there. I thought the "2.0f" in the call was for "run". How do I get them to the car fast?