Trackmania ManiaScript Reference 2026.2.2.1751
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CSmModeEvent Class Reference

Event recieved by ShootMania gamemodes. More...

#include <doc.h>

Inheritance diagram for CSmModeEvent:
[legend]

Public Types

enum  EType {
  Unknown , OnShoot , OnHit , OnNearMiss ,
  OnArmorEmpty , OnCapture , OnShotDeny , OnFallDamage ,
  OnCommand , OnPlayerAdded , OnPlayerRemoved , OnPlayerRequestRespawn ,
  OnActionCustomEvent , OnActionEvent , OnPlayerTouchesObject , OnPlayerThrowsObject ,
  OnPlayerTriggersSector , OnPlayerTriggersWaypoint , OnPlayerRequestActionChange , OnVehicleArmorEmpty ,
  OnVehicleCollision , OnVehicleVsVehicleCollision , OnPlayerRequestItemInteraction , OnStuntFigure
}
enum  EActionSlot {
  Slot_A , Slot_B , Slot_C , Slot_D ,
  Slot_E , Slot_F , Slot_G , Slot_H
}
enum  EActionInput {
  Weapon , Secondary , Movement , QuickAccess1 ,
  QuickAccess2 , QuickAccess3 , QuickAccess4 , QuickAccess5 ,
  QuickAccess6 , QuickAccess7 , QuickAccess8 , QuickAccess9 ,
  QuickAccess0 , Consumable1 , Consumable2 , None
}

Public Attributes

CSmModeEvent::EType const Type
CSmPlayer *const Player
Integer Damage
Integer const VictimShield
CEntity *const VictimEntity
Integer ShooterPoints
CEntity *const ShooterEntity
Integer const ShooterClan
Real const Height
Integer const UserData
Vec3 const ItemPosition
Real const MissDist
Integer const WeaponNum
Boolean const ShooterUsedAction
Integer const ShooterWeaponNum
CSmModeEvent::EActionSlot const ShooterActionSlot
Text const ShooterActionId
Boolean const VictimUsedAction
Integer const VictimWeaponNum
CSmModeEvent::EActionSlot const VictimActionSlot
Text const VictimActionId
CSmModeEvent::EActionSlot const ActionSlot
CSmModeEvent::EActionInput const ActionInput
Text const ActionId
Text const Param1
Array< TextParam2
CSmObject *const Object
Integer const WaypointTime
Integer const WaypointLapTime
Boolean const IsFinish
Boolean const IsNewLap
CSmMapLandmark *const Landmark
CUser *const User
Boolean const PlayerWasSpawned
Boolean const PlayerWasDisconnected
Boolean const PlayerWasInLadderMatch
Vec3 const PlayerLastPosition
Vec3 const PlayerLastAimDirection
Boolean const GiveUp
Boolean const RegressRespawn
Text const CommandName
Boolean const CommandValueBoolean
Integer const CommandValueInteger
Real const CommandValueReal
Text const CommandValueText
Vec2 const CommandValueVec2
Vec3 const CommandValueVec3
Int2 const CommandValueInt2
Int3 const CommandValueInt3
Integer const ActionChange
CStuntFigure *const StuntFigure
Public Attributes inherited from CBaseEvent
Boolean const HasBeenPassed
Boolean const HasBeenDiscarded
Public Attributes inherited from CBaseConstEvent
Boolean HasBeenProcessed
Public Attributes inherited from CNod
Ident const Id

Detailed Description

Event recieved by ShootMania gamemodes.

Supported declare modes :

  • Local

Member Enumeration Documentation

◆ EActionInput

Enumerator
Weapon 
Secondary 
Movement 
QuickAccess1 
QuickAccess2 
QuickAccess3 
QuickAccess4 
QuickAccess5 
QuickAccess6 
QuickAccess7 
QuickAccess8 
QuickAccess9 
QuickAccess0 
Consumable1 
Consumable2 
None 

◆ EActionSlot

Enumerator
Slot_A 
Slot_B 
Slot_C 
Slot_D 
Slot_E 
Slot_F 
Slot_G 
Slot_H 

◆ EType

Enumerator
Unknown 
OnShoot 
OnHit 
OnNearMiss 
OnArmorEmpty 
OnCapture 
OnShotDeny 
OnFallDamage 
OnCommand 
OnPlayerAdded 
OnPlayerRemoved 
OnPlayerRequestRespawn 
OnActionCustomEvent 
OnActionEvent 
OnPlayerTouchesObject 
OnPlayerThrowsObject 
OnPlayerTriggersSector 
OnPlayerTriggersWaypoint 
OnPlayerRequestActionChange 
OnVehicleArmorEmpty 
OnVehicleCollision 
OnVehicleVsVehicleCollision 
OnPlayerRequestItemInteraction 
OnStuntFigure 

Member Data Documentation

◆ ActionChange

Integer const CSmModeEvent::ActionChange

◆ ActionId

Text const CSmModeEvent::ActionId

◆ ActionInput

CSmModeEvent::EActionInput const CSmModeEvent::ActionInput

◆ ActionSlot

CSmModeEvent::EActionSlot const CSmModeEvent::ActionSlot

◆ CommandName

Text const CSmModeEvent::CommandName

◆ CommandValueBoolean

Boolean const CSmModeEvent::CommandValueBoolean

◆ CommandValueInt2

Int2 const CSmModeEvent::CommandValueInt2

◆ CommandValueInt3

Int3 const CSmModeEvent::CommandValueInt3

◆ CommandValueInteger

Integer const CSmModeEvent::CommandValueInteger

◆ CommandValueReal

Real const CSmModeEvent::CommandValueReal

◆ CommandValueText

Text const CSmModeEvent::CommandValueText

◆ CommandValueVec2

Vec2 const CSmModeEvent::CommandValueVec2

◆ CommandValueVec3

Vec3 const CSmModeEvent::CommandValueVec3

◆ Damage

Integer CSmModeEvent::Damage

◆ GiveUp

Boolean const CSmModeEvent::GiveUp

◆ Height

Real const CSmModeEvent::Height

◆ IsFinish

Boolean const CSmModeEvent::IsFinish

◆ IsNewLap

Boolean const CSmModeEvent::IsNewLap

◆ ItemPosition

Vec3 const CSmModeEvent::ItemPosition

◆ Landmark

CSmMapLandmark* const CSmModeEvent::Landmark

◆ MissDist

Real const CSmModeEvent::MissDist

◆ Object

CSmObject* const CSmModeEvent::Object

◆ Param1

Text const CSmModeEvent::Param1

◆ Param2

Array<Text> CSmModeEvent::Param2

◆ Player

CSmPlayer* const CSmModeEvent::Player

◆ PlayerLastAimDirection

Vec3 const CSmModeEvent::PlayerLastAimDirection

◆ PlayerLastPosition

Vec3 const CSmModeEvent::PlayerLastPosition

◆ PlayerWasDisconnected

Boolean const CSmModeEvent::PlayerWasDisconnected

◆ PlayerWasInLadderMatch

Boolean const CSmModeEvent::PlayerWasInLadderMatch

◆ PlayerWasSpawned

Boolean const CSmModeEvent::PlayerWasSpawned

◆ RegressRespawn

Boolean const CSmModeEvent::RegressRespawn

◆ ShooterActionId

Text const CSmModeEvent::ShooterActionId

◆ ShooterActionSlot

CSmModeEvent::EActionSlot const CSmModeEvent::ShooterActionSlot

◆ ShooterClan

Integer const CSmModeEvent::ShooterClan

◆ ShooterEntity

CEntity* const CSmModeEvent::ShooterEntity

◆ ShooterPoints

Integer CSmModeEvent::ShooterPoints

◆ ShooterUsedAction

Boolean const CSmModeEvent::ShooterUsedAction

◆ ShooterWeaponNum

Integer const CSmModeEvent::ShooterWeaponNum

◆ StuntFigure

CStuntFigure* const CSmModeEvent::StuntFigure

◆ Type

CSmModeEvent::EType const CSmModeEvent::Type

Event type

◆ User

CUser* const CSmModeEvent::User

◆ UserData

Integer const CSmModeEvent::UserData

◆ VictimActionId

Text const CSmModeEvent::VictimActionId

◆ VictimActionSlot

CSmModeEvent::EActionSlot const CSmModeEvent::VictimActionSlot

◆ VictimEntity

CEntity* const CSmModeEvent::VictimEntity

◆ VictimShield

Integer const CSmModeEvent::VictimShield

◆ VictimUsedAction

Boolean const CSmModeEvent::VictimUsedAction

◆ VictimWeaponNum

Integer const CSmModeEvent::VictimWeaponNum

◆ WaypointLapTime

Integer const CSmModeEvent::WaypointLapTime

◆ WaypointTime

Integer const CSmModeEvent::WaypointTime

◆ WeaponNum

Integer const CSmModeEvent::WeaponNum

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