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

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

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

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 2023-11-15 11:56:02
(Page rendering: 0.06 seconds, 15.85 MB)