Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CSmObject Class Reference

An instance of an object. More...

#include <doc.h>

Inheritance diagram for CSmObject:
[legend]

Public Types

enum  EStatus { OnPlayer , OnAnchor , InWorld , Unspawned }
 

Public Member Functions

Void SetAnchor (CMapObjectAnchor ObjectAnchor)
 
Void SetPlayer (CSmPlayer Player)
 
Void SetPosition (Vec3 Position)
 
Void SetPositionAndVel (Vec3 Position, Vec3 Vel)
 
Void SetUnspawned ()
 

Public Attributes

CSmObject::EStatus const Status
 
Ident const ModelId
 
CSmPlayer *const Player
 
CSmMapLandmark *const AnchorLandmark
 
Vec3 const Position
 
Vec3 const Vel
 
Integer MachineState
 
Boolean Throwable
 
Ident const ThrowLatestPlayerId
 
- Public Attributes inherited from CEntity
Ident const MarkerId
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

An instance of an object.

Supported declare modes :

  • Local

Member Data Documentation

◆ Player

CSmPlayer* const CSmObject::Player

Player holding the object, or Null if the object isn't held by a player.


The documentation for this class was generated from the following file: