ManiaPlanet ManiaScript Reference 2019.11.19.1850
A ManiaScript Reference of the ManiaPlanet game.
Loading...
Searching...
No Matches
CSmAction Struct Reference

#include <doc.h>

Inheritance diagram for CSmAction:
[legend]

Public Member Functions

Void SendRulesEvent (Text Param1, 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)
 
Integer GetPlayerAmmo (CSmPlayer Player)
 
Integer GetPlayerAmmoMax (CSmPlayer Player)
 
Void Vehicle_TriggerTurbo ()
 
Void Vehicle_TriggerTurboBrake ()
 

Public Attributes

const Integer Now
 
const Integer Variant
 
const CSmPlayer[] Players
 
const CSmPlayer Owner
 
const CModeVehicle OwnerVehicle
 
const Boolean IsActive
 
const Boolean IsBound
 
Integer Energy
 
Integer EnergyMax
 
Integer EnergyCost
 
Boolean EnergyReload
 
Real AmmoGain
 
Ident State_EntityId1
 
Integer State_Integer1
 
Integer State_Integer2
 
Boolean State_Boolean1
 
const CSmActionEvent[] PendingEvents
 
Boolean IsJumping
 
Boolean IsGliding
 
Boolean IsAttractor
 
Boolean IsFlying
 
Boolean IsSliding
 
Boolean IsRunning
 
Boolean IsFrozen
 
Boolean IsSneaking
 
Boolean IsFreeLooking
 
Boolean HasNoPlayerCollision
 
Integer Cooldown
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local An action


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