Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ChangeSeat
Syntax
C++
int ChangeSeat(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.ChangeSeat(actorHandle, seatId, isAnimationEnabled) 

Makes the actor changing the seat inside the vehicle. 

 

Copyright (c) 2012. All rights reserved.