Table of Contents

Cutscenes Reference : Player class

Player objects are used to manipulate the players in the world.

Player inherits from MovableObject

Creation Parameters

Member Functions

None yet

Inherited from MovableObject : MoveTo, BlendTo

Example

This simple cutscene moves the local player from his current position to one 'a little over there' over the course of 20 seconds. <codedoc> section(1) {

// Get the local player
localPlayer = Player()
      // Calculate the target position	
basepos = Vector()
basepos.SetToLocalPlayerPosition()
basepos.Add(1,0,0)
// Apply the positional blend to the player
localPlayer.BlendTo( 20, basepos, 0, 0 )

} </codedoc>