ManiaScript Trackmania 2020  30/10/2024
CSmAction Class Reference

An action. More...

#include <2024_10_30.h>

Inheritance diagram for CSmAction:
CAction CNod

Public Member Functions

Void SendRulesEvent (Text Param1, Array< Text > Param2, CEntity Shooter, CEntity Victim)
 
Ident Anim_GetModelId (Text ModelName)
 
Ident Anim_PlayAtLocation (Ident AnimModelId, Vec3 Position, Vec3 Direction)
 
Ident Anim_PlayOnPlayer (Ident AnimModelId, CSmPlayer Player)
 
Void Anim_Stop (Ident AnimId)
 
Ident Projectile_GetModelId (Text ModelName)
 
Ident Projectile_CreateAtLocation (Ident ProjectileModelId, CSmPlayer PlayerToIgnore, Vec3 InitialPosition, Vec3 InitialDirection, Vec3 InitialVelocity)
 
Ident Projectile_CreateOnPlayer (Ident ProjectileModelId, CSmPlayer Shooter)
 
Boolean Cooldown_IsReady ()
 
Void Cooldown_Start ()
 
Ident Shield_CreateAtLocation (Vec3 Position, Vec3 Direction)
 
Ident Shield_CreateOnPlayer (CSmPlayer ShieldOwner)
 
Void Shield_Destroy (Ident ShieldId)
 
Boolean Shield_Exists (Ident ShieldId)
 
Integer Shield_GetArmor (Ident ShieldId)
 
Void Shield_SetArmor (Ident ShieldId, Integer ShieldArmor)
 
Boolean Shield_GetIsActive (Ident ShieldId)
 
Void Shield_SetIsActive (Ident ShieldId, Boolean ShieldIsActive)
 
Integer Shield_GetArmorMax (Ident ShieldId)
 
Integer Shield_GetTickReload (Ident ShieldId)
 
Integer Shield_GetCooldown (Ident ShieldId)
 
Void Vehicle_TriggerTurbo ()
 
Void Vehicle_TriggerTurboBrake ()
 
Boolean Focus_Request ()
 
Void Focus_Release ()
 

Public Attributes

Integer const Now
 
Integer const Variant1
 
Integer const Variant2
 
Integer const Variant3
 
Array< CSmPlayer *const > Players
 
CSmPlayer *const Owner
 
CModeVehicle *const OwnerVehicle
 
Boolean const IsActive
 
Boolean const IsBound
 
Boolean const IsInitialFrame
 
Integer Energy
 
Integer EnergyMax
 
Integer EnergyCost
 
Boolean EnergyReload
 
Real AmmoGain
 
Ident State_EntityId1
 
Integer State_Integer1
 
Integer State_Integer2
 
Boolean State_Boolean1
 
Array< CSmActionEvent *const > PendingEvents
 
Boolean IsJumping
 
Boolean IsGliding
 
Boolean IsAttractor
 
Boolean IsFlying
 
Boolean IsSliding
 
Boolean IsRunning
 
Boolean IsFrozen
 
Boolean IsSneaking
 
Boolean IsFreeLooking
 
Boolean HasNoPlayerCollision
 
Integer Cooldown
 
Boolean const Focus_Active
 
Boolean const Trigger0
 
Boolean const Trigger1
 
Boolean const Trigger2
 
Boolean const Trigger3
 
Boolean const Trigger4
 
Boolean const Trigger5
 
Boolean const Trigger6
 
Boolean const Trigger7
 
Boolean const Trigger8
 
Boolean const Trigger9
 
Boolean const Trigger10
 
Boolean const Trigger11
 
Boolean const Trigger12
 
Boolean const Trigger13
 
Integer Focused_Scroll
 
Integer Focused_Scroll_Max
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

An action.

Supported declare modes :

  • Local

Definition at line 2516 of file 2024_10_30.h.

Member Function Documentation

◆ Anim_GetModelId()

Ident CSmAction::Anim_GetModelId ( Text  ModelName)

◆ Anim_PlayAtLocation()

Ident CSmAction::Anim_PlayAtLocation ( Ident  AnimModelId,
Vec3  Position,
Vec3  Direction 
)

◆ Anim_PlayOnPlayer()

Ident CSmAction::Anim_PlayOnPlayer ( Ident  AnimModelId,
CSmPlayer  Player 
)

◆ Anim_Stop()

Void CSmAction::Anim_Stop ( Ident  AnimId)

◆ Cooldown_IsReady()

Boolean CSmAction::Cooldown_IsReady ( )

◆ Cooldown_Start()

Void CSmAction::Cooldown_Start ( )

◆ Focus_Release()

Void CSmAction::Focus_Release ( )

◆ Focus_Request()

Boolean CSmAction::Focus_Request ( )

◆ Projectile_CreateAtLocation()

Ident CSmAction::Projectile_CreateAtLocation ( Ident  ProjectileModelId,
CSmPlayer  PlayerToIgnore,
Vec3  InitialPosition,
Vec3  InitialDirection,
Vec3  InitialVelocity 
)

◆ Projectile_CreateOnPlayer()

Ident CSmAction::Projectile_CreateOnPlayer ( Ident  ProjectileModelId,
CSmPlayer  Shooter 
)

◆ Projectile_GetModelId()

Ident CSmAction::Projectile_GetModelId ( Text  ModelName)

◆ SendRulesEvent()

Void CSmAction::SendRulesEvent ( Text  Param1,
Array< Text Param2,
CEntity  Shooter,
CEntity  Victim 
)

◆ Shield_CreateAtLocation()

Ident CSmAction::Shield_CreateAtLocation ( Vec3  Position,
Vec3  Direction 
)

◆ Shield_CreateOnPlayer()

Ident CSmAction::Shield_CreateOnPlayer ( CSmPlayer  ShieldOwner)

◆ Shield_Destroy()

Void CSmAction::Shield_Destroy ( Ident  ShieldId)

◆ Shield_Exists()

Boolean CSmAction::Shield_Exists ( Ident  ShieldId)

◆ Shield_GetArmor()

Integer CSmAction::Shield_GetArmor ( Ident  ShieldId)

◆ Shield_GetArmorMax()

Integer CSmAction::Shield_GetArmorMax ( Ident  ShieldId)

◆ Shield_GetCooldown()

Integer CSmAction::Shield_GetCooldown ( Ident  ShieldId)

◆ Shield_GetIsActive()

Boolean CSmAction::Shield_GetIsActive ( Ident  ShieldId)

◆ Shield_GetTickReload()

Integer CSmAction::Shield_GetTickReload ( Ident  ShieldId)

◆ Shield_SetArmor()

Void CSmAction::Shield_SetArmor ( Ident  ShieldId,
Integer  ShieldArmor 
)

◆ Shield_SetIsActive()

Void CSmAction::Shield_SetIsActive ( Ident  ShieldId,
Boolean  ShieldIsActive 
)

◆ Vehicle_TriggerTurbo()

Void CSmAction::Vehicle_TriggerTurbo ( )

◆ Vehicle_TriggerTurboBrake()

Void CSmAction::Vehicle_TriggerTurboBrake ( )

Member Data Documentation

◆ AmmoGain

Real CSmAction::AmmoGain

Definition at line 2577 of file 2024_10_30.h.

◆ Cooldown

Integer CSmAction::Cooldown

Definition at line 2673 of file 2024_10_30.h.

◆ Energy

Integer CSmAction::Energy

Definition at line 2561 of file 2024_10_30.h.

◆ EnergyCost

Integer CSmAction::EnergyCost

Definition at line 2569 of file 2024_10_30.h.

◆ EnergyMax

Integer CSmAction::EnergyMax

Definition at line 2565 of file 2024_10_30.h.

◆ EnergyReload

Boolean CSmAction::EnergyReload

Definition at line 2573 of file 2024_10_30.h.

◆ Focus_Active

Boolean const CSmAction::Focus_Active

Definition at line 2745 of file 2024_10_30.h.

◆ Focused_Scroll

Integer CSmAction::Focused_Scroll

Definition at line 2805 of file 2024_10_30.h.

◆ Focused_Scroll_Max

Integer CSmAction::Focused_Scroll_Max

Definition at line 2809 of file 2024_10_30.h.

◆ HasNoPlayerCollision

Boolean CSmAction::HasNoPlayerCollision

Definition at line 2637 of file 2024_10_30.h.

◆ IsActive

Boolean const CSmAction::IsActive

Definition at line 2549 of file 2024_10_30.h.

◆ IsAttractor

Boolean CSmAction::IsAttractor

Definition at line 2609 of file 2024_10_30.h.

◆ IsBound

Boolean const CSmAction::IsBound

Definition at line 2553 of file 2024_10_30.h.

◆ IsFlying

Boolean CSmAction::IsFlying

Definition at line 2613 of file 2024_10_30.h.

◆ IsFreeLooking

Boolean CSmAction::IsFreeLooking

Definition at line 2633 of file 2024_10_30.h.

◆ IsFrozen

Boolean CSmAction::IsFrozen

Definition at line 2625 of file 2024_10_30.h.

◆ IsGliding

Boolean CSmAction::IsGliding

Definition at line 2605 of file 2024_10_30.h.

◆ IsInitialFrame

Boolean const CSmAction::IsInitialFrame

Is true only once during action init. Allow to init state variables

Definition at line 2557 of file 2024_10_30.h.

◆ IsJumping

Boolean CSmAction::IsJumping

Definition at line 2601 of file 2024_10_30.h.

◆ IsRunning

Boolean CSmAction::IsRunning

Definition at line 2621 of file 2024_10_30.h.

◆ IsSliding

Boolean CSmAction::IsSliding

Definition at line 2617 of file 2024_10_30.h.

◆ IsSneaking

Boolean CSmAction::IsSneaking

Definition at line 2629 of file 2024_10_30.h.

◆ Now

Integer const CSmAction::Now

Definition at line 2521 of file 2024_10_30.h.

◆ Owner

CSmPlayer* const CSmAction::Owner

Definition at line 2541 of file 2024_10_30.h.

◆ OwnerVehicle

CModeVehicle* const CSmAction::OwnerVehicle

Definition at line 2545 of file 2024_10_30.h.

◆ PendingEvents

Array<CSmActionEvent* const > CSmAction::PendingEvents

Definition at line 2597 of file 2024_10_30.h.

◆ Players

Array<CSmPlayer* const > CSmAction::Players

Definition at line 2537 of file 2024_10_30.h.

◆ State_Boolean1

Boolean CSmAction::State_Boolean1

Definition at line 2593 of file 2024_10_30.h.

◆ State_EntityId1

Ident CSmAction::State_EntityId1

Definition at line 2581 of file 2024_10_30.h.

◆ State_Integer1

Integer CSmAction::State_Integer1

Definition at line 2585 of file 2024_10_30.h.

◆ State_Integer2

Integer CSmAction::State_Integer2

Definition at line 2589 of file 2024_10_30.h.

◆ Trigger0

Boolean const CSmAction::Trigger0

Definition at line 2749 of file 2024_10_30.h.

◆ Trigger1

Boolean const CSmAction::Trigger1

Definition at line 2753 of file 2024_10_30.h.

◆ Trigger10

Boolean const CSmAction::Trigger10

Definition at line 2789 of file 2024_10_30.h.

◆ Trigger11

Boolean const CSmAction::Trigger11

Definition at line 2793 of file 2024_10_30.h.

◆ Trigger12

Boolean const CSmAction::Trigger12

Definition at line 2797 of file 2024_10_30.h.

◆ Trigger13

Boolean const CSmAction::Trigger13

Definition at line 2801 of file 2024_10_30.h.

◆ Trigger2

Boolean const CSmAction::Trigger2

Definition at line 2757 of file 2024_10_30.h.

◆ Trigger3

Boolean const CSmAction::Trigger3

Definition at line 2761 of file 2024_10_30.h.

◆ Trigger4

Boolean const CSmAction::Trigger4

Definition at line 2765 of file 2024_10_30.h.

◆ Trigger5

Boolean const CSmAction::Trigger5

Definition at line 2769 of file 2024_10_30.h.

◆ Trigger6

Boolean const CSmAction::Trigger6

Definition at line 2773 of file 2024_10_30.h.

◆ Trigger7

Boolean const CSmAction::Trigger7

Definition at line 2777 of file 2024_10_30.h.

◆ Trigger8

Boolean const CSmAction::Trigger8

Definition at line 2781 of file 2024_10_30.h.

◆ Trigger9

Boolean const CSmAction::Trigger9

Definition at line 2785 of file 2024_10_30.h.

◆ Variant1

Integer const CSmAction::Variant1

Definition at line 2525 of file 2024_10_30.h.

◆ Variant2

Integer const CSmAction::Variant2

Definition at line 2529 of file 2024_10_30.h.

◆ Variant3

Integer const CSmAction::Variant3

Definition at line 2533 of file 2024_10_30.h.


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