Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
EnterVehicle
Syntax
C++
int EnterVehicle(IFunctionHandler* pH, ScriptHandle actorHandle, int seatId, bool isAnimationEnabled);
Parameters 
Description 
ScriptHandle actorHandle 
Actor identifier. 
int seatId 
Seat identifier. 
bool isAnimationEnabled 
True to enable the animation, false otherwise. 

Syntax: Vehicle.EnterVehicle( actorHandle, seatId, isAnimationEnabled ) 

Makes the actor entering the vehicle. 

 

Copyright (c) 2012. All rights reserved.