Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Vehicle::ChangeSeat Method
Syntax
C++
int ChangeSeat(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 changing the seat inside the vehicle.
 

!

Vehicle.ChangeSeat(actorHandle, seatId, isAnimationEnabled)

!  

!  

!

Copyright (c) 2012. All rights reserved.