Trackmania ManiaScript Reference 2024.9.17.1117
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 Data Documentation

◆ Type

CSmModeEvent::EType const CSmModeEvent::Type

Event type


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