ManiaScript
Script language used in ManiaPlanet
 All Classes Namespaces Files Functions Variables Enumerations Enumerator
Public Member Functions | Public Attributes | List of all members
CSmAction Struct Reference

#include <big.h>

Inheritance diagram for CSmAction:
CNod

Public Member Functions

Void SendRulesEvent (Text Param1, Text[] Param2, CSmPlayer Shooter, CSmPlayer Victim)
 
Ident GetAnimModelId (Text ModelName)
 
Void PlayAnimOnPlayer (Ident AnimModelId, CSmPlayer Player)
 
Void PlayAnimAtPosition (Ident AnimModelId, Vec3 Position, Vec3 Direction)
 
Ident GetProjectileModelId (Text ModelName)
 
Void CreateProjectile (CSmPlayer PlayerToIgnore, Ident ProjectileModelId, Vec3 InitialPosition, Vec3 InitialDirection, Vec3 InitialVelocity)
 
Void CreateProjectile (CSmPlayer PlayerToIgnore, Ident ProjectileModelId, Vec3 InitialPosition, Vec3 InitialDirection, Vec3 InitialVelocity, Integer ContextId)
 
Void CreateShoot (CSmPlayer Shooter, Ident ProjectileModelId)
 
Void CreateShoot (CSmPlayer Shooter, Ident ProjectileModelId, Integer ContextId)
 
Boolean Cooldown_IsReady (Integer Now)
 
Void Cooldown_Start ()
 

Public Attributes

const Integer Now
 
const Integer Variant
 
CSmPlayer[] Players
 
CSmPlayer Owner
 
const Boolean IsActive
 
Integer Energy
 
Integer EnergyMax
 
Integer EnergyCost
 
Boolean EnergyReload
 
const CSmActionEvent[] PendingEvents
 
Integer Cooldown
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local

Member Function Documentation

Boolean CSmAction::Cooldown_IsReady ( Integer  Now)
Void CSmAction::Cooldown_Start ( )
Void CSmAction::CreateProjectile ( CSmPlayer  PlayerToIgnore,
Ident  ProjectileModelId,
Vec3  InitialPosition,
Vec3  InitialDirection,
Vec3  InitialVelocity 
)
Void CSmAction::CreateProjectile ( CSmPlayer  PlayerToIgnore,
Ident  ProjectileModelId,
Vec3  InitialPosition,
Vec3  InitialDirection,
Vec3  InitialVelocity,
Integer  ContextId 
)
Void CSmAction::CreateShoot ( CSmPlayer  Shooter,
Ident  ProjectileModelId 
)
Void CSmAction::CreateShoot ( CSmPlayer  Shooter,
Ident  ProjectileModelId,
Integer  ContextId 
)
Ident CSmAction::GetAnimModelId ( Text  ModelName)
Ident CSmAction::GetProjectileModelId ( Text  ModelName)
Void CSmAction::PlayAnimAtPosition ( Ident  AnimModelId,
Vec3  Position,
Vec3  Direction 
)
Void CSmAction::PlayAnimOnPlayer ( Ident  AnimModelId,
CSmPlayer  Player 
)
Void CSmAction::SendRulesEvent ( Text  Param1,
Text[]  Param2,
CSmPlayer  Shooter,
CSmPlayer  Victim 
)

Member Data Documentation

Integer CSmAction::Cooldown
Integer CSmAction::Energy
Integer CSmAction::EnergyCost
Integer CSmAction::EnergyMax
Boolean CSmAction::EnergyReload
const Boolean CSmAction::IsActive
const Integer CSmAction::Now
CSmPlayer CSmAction::Owner
const CSmActionEvent [] CSmAction::PendingEvents
CSmPlayer [] CSmAction::Players
const Integer CSmAction::Variant

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