Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Vehicle::EnterVehicle Method
Syntax
C++
int EnterVehicle(IFunctionHandler* pH, ScriptHandle actorHandle, int seatId, bool isAnimationEnabled);
Parameters 
Description 
ScriptHandle actorHandle 
Actor identifier. 
int seatId 
Seat identifier. 
isAnimationEnabled - True to enable the animation, false otherwise.</param 
! Makes the actor entering the vehicle.
 

!

Vehicle.EnterVehicle( actorHandle, seatId, isAnimationEnabled )

!  

!  

!

Copyright (c) 2012. All rights reserved.