CSmArenaRulesEvent

Trackmania Next API


CSmArenaRulesEvent

ID 0x2D01C000
Uninstantiable

Inherits from Script::CScriptBaseEvent → Script::CScriptBaseConstEvent → MwFoundations::CMwNod

Event recieved by ShootMania gamemodes.

Members

const CSmArenaRulesEvent::EType Type

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

const CSmScriptPlayer@ Player

int Damage

const uint VictimShield

const CGameScriptEntity@ VictimEntity

int ShooterPoints

const CGameScriptEntity@ ShooterEntity

const uint ShooterClan

const float Height

const uint UserData

const vec3 ItemPosition

const float MissDist

const uint WeaponNum

const bool ShooterUsedAction

const uint ShooterWeaponNum

const CSmArenaRulesEvent::EActionSlot ShooterActionSlot

EActionSlot::Slot_A
EActionSlot::Slot_B
EActionSlot::Slot_C
EActionSlot::Slot_D
EActionSlot::Slot_E
EActionSlot::Slot_F
EActionSlot::Slot_G
EActionSlot::Slot_H

const wstring ShooterActionId

const bool VictimUsedAction

const uint VictimWeaponNum

const CSmArenaRulesEvent::EActionSlot VictimActionSlot

EActionSlot::Slot_A
EActionSlot::Slot_B
EActionSlot::Slot_C
EActionSlot::Slot_D
EActionSlot::Slot_E
EActionSlot::Slot_F
EActionSlot::Slot_G
EActionSlot::Slot_H

const wstring VictimActionId

const CSmArenaRulesEvent::EActionSlot ActionSlot

EActionSlot::Slot_A
EActionSlot::Slot_B
EActionSlot::Slot_C
EActionSlot::Slot_D
EActionSlot::Slot_E
EActionSlot::Slot_F
EActionSlot::Slot_G
EActionSlot::Slot_H

const CSmArenaRulesEvent::EActionInput ActionInput

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

const wstring ActionId

const wstring Param1

const MwFastBuffer<wstring> Param2

const CSmObject@ Object

const uint WaypointTime

const uint WaypointLapTime

const bool IsFinish

const bool IsNewLap

const CSmScriptMapLandmark@ Landmark

const CGamePlayerInfo@ User

const bool PlayerWasSpawned

const bool PlayerWasDisconnected

const bool PlayerWasInLadderMatch

const vec3 PlayerLastPosition

const vec3 PlayerLastAimDirection

const bool GiveUp

const bool RegressRespawn

const string CommandName

const bool CommandValueBoolean

const int CommandValueInteger

const float CommandValueReal

const wstring CommandValueText

const vec2 CommandValueVec2

const vec3 CommandValueVec3

const int2 CommandValueInt2

const int3 CommandValueInt3

const int ActionChange

const NSceneVehiclePhy_SStuntFigure@ StuntFigure

Inherited members CScriptBaseEvent

const bool HasBeenPassed

const bool HasBeenDiscarded

Inherited members CMwNod

string IdName

const MwId Id

Enums

EType

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

EActionSlot

EActionSlot::Slot_A
EActionSlot::Slot_B
EActionSlot::Slot_C
EActionSlot::Slot_D
EActionSlot::Slot_E
EActionSlot::Slot_F
EActionSlot::Slot_G
EActionSlot::Slot_H

EActionInput

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

Documentation from build 2024-12-12 15:15:35
(Page rendering: 0.04 seconds, 14.68 MB)