CSmActionInstance

Trackmania Next API


CSmActionInstance

ID 0x2D006000
Uninstantiable

Inherits from Game::CGameAction → MwFoundations::CMwNod

An action

Methods

void SendRulesEvent(wstring Param1, MwFastBuffer<wstring>& Param2, CGameScriptEntity@ Shooter, CGameScriptEntity@ Victim)

MwId Anim_GetModelId(wstring ModelName)

MwId Anim_PlayAtLocation(MwId AnimModelId, vec3 Position, vec3 Direction)

MwId Anim_PlayOnPlayer(MwId AnimModelId, CSmScriptPlayer@ Player)

void Anim_Stop(MwId AnimId)

MwId Projectile_GetModelId(wstring ModelName)

MwId Projectile_CreateAtLocation(MwId ProjectileModelId, CSmScriptPlayer@ PlayerToIgnore, vec3 InitialPosition, vec3 InitialDirection, vec3 InitialVelocity)

MwId Projectile_CreateOnPlayer(MwId ProjectileModelId, CSmScriptPlayer@ Shooter)

bool Cooldown_IsReady()

void Cooldown_Start()

MwId Shield_CreateAtLocation(vec3 Position, vec3 Direction)

MwId Shield_CreateOnPlayer(CSmScriptPlayer@ ShieldOwner)

void Shield_Destroy(MwId ShieldId)

bool Shield_Exists(MwId ShieldId)

uint Shield_GetArmor(MwId ShieldId)

void Shield_SetArmor(MwId ShieldId, uint ShieldArmor)

bool Shield_GetIsActive(MwId ShieldId)

void Shield_SetIsActive(MwId ShieldId, bool ShieldIsActive)

uint Shield_GetArmorMax(MwId ShieldId)

uint Shield_GetTickReload(MwId ShieldId)

uint Shield_GetCooldown(MwId ShieldId)

void Vehicle_TriggerTurbo()

void Vehicle_TriggerTurboBrake()

bool Focus_Request()

void Focus_Release()

Members

const CGameActionModel@ Model

const uint Now

const uint Variant1

const uint Variant2

const uint Variant3

const MwSArray<CSmScriptPlayer@> Players

const CSmScriptPlayer@ Owner

const CGameScriptVehicle@ OwnerVehicle

const bool IsActive

const bool IsBound

const bool IsInitialFrame

uint Energy

uint EnergyMax

uint EnergyCost

bool EnergyReload

float AmmoGain

MwId State_EntityId1

int State_Integer1

int State_Integer2

bool State_Boolean1

const MwFastBuffer<CSmActionInstanceEvent@> PendingEvents

bool IsJumping

bool IsGliding

bool IsAttractor

bool IsFlying

bool IsSliding

bool IsRunning

bool IsFrozen

bool IsSneaking

bool IsFreeLooking

bool HasNoPlayerCollision

uint Cooldown

const bool Focus_Active

const bool Trigger0

const bool Trigger1

const bool Trigger2

const bool Trigger3

const bool Trigger4

const bool Trigger5

const bool Trigger6

const bool Trigger7

const bool Trigger8

const bool Trigger9

const bool Trigger10

const bool Trigger11

const bool Trigger12

const bool Trigger13

int Focused_Scroll

int Focused_Scroll_Max

Inherited members CMwNod

string IdName

const MwId Id


Documentation from build 2023-11-15 11:56:02
(Page rendering: 0.06 seconds, 15.83 MB)