OnPedEnterVehicle: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
 
Line 4: Line 4:
|type = event
|type = event
|games = iii vc sa
|games = iii vc sa
|desc = a ped enters a vehicle.<br>If the ped is not near a qualifying position to start the vehicle entering animation, the event is triggered and the ped starts moving towards the vehicle, otherwise the event is triggered and the vehicle entering animation starts. Either way, this event is only triggered once for all individual stages of the ped entering the vehicle.
|desc = a ped enters a vehicle.<br>The event is invoked once per vehicle enter at the earliest stage of all stages involved for entering the vehicle. Stages may include: moving towards the vehicle, opening a vehicle door, the vehicle entering animation, alignment, etc.<br>If the vehicle enter occurrence is blocked, the event is still triggered. (For example, if the ped can't reach any doors of a car.)
|arg1 = Ped ped The ped that has started moving to enter a vehicle.
|arg1 = Ped ped The ped that has started moving to enter a vehicle.
|arg2 = Vehicle vehicle The vehicle that the ped is moving to.
|arg2 = Vehicle vehicle The vehicle that the ped is moving to.
6,834

edits

Navigation menu