ManiaScript
Script language used in ManiaPlanet
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Types | Public Member Functions | Public Attributes | List of all members
CSmObject Struct Reference

#include <big.h>

Inheritance diagram for CSmObject:
CNod

Public Types

enum  EStatus { OnPlayer, OnAnchor, InWorld, Unspawned }

Public Member Functions

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

Public Attributes

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

Detailed Description

Supported declare modes : Local An instance of an object.

Member Enumeration Documentation

Enumerator:
OnPlayer 
OnAnchor 
InWorld 
Unspawned 

Member Function Documentation

Void CSmObject::SetAnchor ( CSmMapObjectAnchor  ObjectAnchor)
Void CSmObject::SetPlayer ( CSmPlayer  Player)
Void CSmObject::SetPosition ( Vec3  Position)
Void CSmObject::SetPositionAndVel ( Vec3  Position,
Vec3  Vel 
)
Void CSmObject::SetUnspawned ( )

Member Data Documentation

Integer CSmObject::MachineState
const CSmPlayer CSmObject::Player

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

const Vec3 CSmObject::Position
const EStatus CSmObject::Status
Boolean CSmObject::Throwable
const Vec3 CSmObject::Vel

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