ManiaScript  2019-10-10
The script language used in ManiaPlanet gaming system
Public Types | Public Member Functions | Public Attributes | List of all members
CSmObject Struct Reference

#include <big.h>

Inheritance diagram for CSmObject:
CEntity CNod

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 Enumeration Documentation

◆ EStatus

Enumerator
OnPlayer 
OnAnchor 
InWorld 
Unspawned 

Member Function Documentation

◆ SetAnchor()

Void CSmObject::SetAnchor ( CMapObjectAnchor  ObjectAnchor)

◆ SetPlayer()

Void CSmObject::SetPlayer ( CSmPlayer  Player)

◆ SetPosition()

Void CSmObject::SetPosition ( Vec3  Position)

◆ SetPositionAndVel()

Void CSmObject::SetPositionAndVel ( Vec3  Position,
Vec3  Vel 
)

◆ SetUnspawned()

Void CSmObject::SetUnspawned ( )

Member Data Documentation

◆ AnchorLandmark

const CSmMapLandmark CSmObject::AnchorLandmark

◆ MachineState

Integer CSmObject::MachineState

◆ ModelId

const Ident CSmObject::ModelId

◆ Player

const CSmPlayer CSmObject::Player

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

◆ Position

const Vec3 CSmObject::Position

◆ Status

const EStatus CSmObject::Status

◆ Throwable

Boolean CSmObject::Throwable

◆ ThrowLatestPlayerId

const Ident CSmObject::ThrowLatestPlayerId

◆ Vel

const Vec3 CSmObject::Vel

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