ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
Loading...
Searching...
No Matches
CSmObject Struct Reference

#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

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

Detailed Description

Supported declare modes : Local An instance of an object.

Member Data Documentation

◆ Player

const CSmPlayer CSmObject::Player

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


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