ManiaScript  2019-10-10
The script language used in ManiaPlanet gaming system
Public Types | Public Attributes | List of all members
CSmActionEvent Struct Reference

#include <big.h>

Inheritance diagram for CSmActionEvent:
CBaseConstEvent CNod

Public Types

enum  EType {
  OnHitPlayer, OnProjectileEnd, OnProjectileDestroyed, OnActiveChange,
  OnHitObject, OnHitShield, OnHitVehicle, OnShieldEnd,
  OnHitTurret
}
 

Public Attributes

const EType Type
 
const Ident ProjectileModelId
 
const Integer Damage
 
const Integer ContextId
 
const Vec3 Position
 
const Vec3 Direction
 
const Vec3 Normal
 
const CEntity Victim
 
const Integer Shield
 
- Public Attributes inherited from CBaseConstEvent
Boolean HasBeenProcessed
 
- Public Attributes inherited from CNod
const Ident Id
 

Detailed Description

Supported declare modes : Local An action event

Member Enumeration Documentation

◆ EType

Enumerator
OnHitPlayer 
OnProjectileEnd 
OnProjectileDestroyed 
OnActiveChange 
OnHitObject 
OnHitShield 
OnHitVehicle 
OnShieldEnd 
OnHitTurret 

Member Data Documentation

◆ ContextId

const Integer CSmActionEvent::ContextId

◆ Damage

const Integer CSmActionEvent::Damage

◆ Direction

const Vec3 CSmActionEvent::Direction

◆ Normal

const Vec3 CSmActionEvent::Normal

◆ Position

const Vec3 CSmActionEvent::Position

◆ ProjectileModelId

const Ident CSmActionEvent::ProjectileModelId

◆ Shield

const Integer CSmActionEvent::Shield

◆ Type

const EType CSmActionEvent::Type

◆ Victim

const CEntity CSmActionEvent::Victim

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