Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CSmAction Class Reference

An action. More...

#include <doc.h>

Inheritance diagram for CSmAction:
[legend]

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

Member Data Documentation

◆ IsInitialFrame

Boolean const CSmAction::IsInitialFrame

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


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