Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
ChangeSeat
Syntax
C++
int ChangeSeat(IFunctionHandler* pH, ScriptHandle actorHandle, int seatId);
Parameters 
Description 
ScriptHandle actorHandle 
Actor identifier. 
int seatId 
Seat identifier. 

Syntax: Vehicle.ChangeSeat(ScriptHandle actorHandle, int seatId, bool isAnimationEnabled ) 

Makes the actor changing the seat inside the vehicle. 

 

Copyright (c) 2012. All rights reserved.