Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
MovePlayer
Syntax
C++
int MovePlayer(IFunctionHandler * pH, ScriptHandle playerId, Vec3 pos, Vec3 angles);
Parameters 
Description 
ScriptHandle playerId 
Player identifier. 
Vec3 pos 
Position to be reached. 
Vec3 angles 

Syntax: GameRules.MovePlayer( ScriptHandle playerId, Vec3 pos, Vec3 angles ) 

Moves the player. 

 

Copyright (c) 2012. All rights reserved.