Class "EntityLaser"

Functions

CalculateEndPoint () {: aria-label='Functions' }

{: .static .tooltip .badge } {: .abp .tooltip .badge }

static Vector CalculateEndPoint ( Vector Start, Vector Dir, Vector PositionOffset, Entity Parent, float Margin ) {: .copyable aria-label='Functions' }

GetEndPoint () {: aria-label='Functions' }

{: .abp .tooltip .badge }

Vector GetEndPoint ( ) {: .copyable aria-label='Functions' }

GetNonOptimizedSamples () {: aria-label='Functions' }

{: .abp .tooltip .badge }

HomingLaser::SampleList GetNonOptimizedSamples ( ) {: .copyable aria-label='Functions' }

GetRenderZ () {: aria-label='Functions' }

{: .abp .tooltip .badge }

int GetRenderZ ( ) {: .copyable aria-label='Functions' }

GetSamples () {: aria-label='Functions' }

{: .abp .tooltip .badge }

HomingLaser::SampleList GetSamples ( ) {: .copyable aria-label='Functions' }

IsCircleLaser () {: aria-label='Functions' }

{: .abp .tooltip .badge }

boolean IsCircleLaser ( ) {: .copyable aria-label='Functions' }

IsSampleLaser () {: aria-label='Functions' }

{: .abp .tooltip .badge }

boolean IsSampleLaser ( ) {: .copyable aria-label='Functions' }

SetActiveRotation () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void SetActiveRotation ( int Delay, float AngleDegrees, float RotationSpd, boolean TimeoutComplete ) {: .copyable aria-label='Functions' }

SetBlackHpDropChance () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void SetBlackHpDropChance ( float Chance ) {: .copyable aria-label='Functions' }

SetHomingType () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void SetHomingType ( LaserHomingType Type ) {: .copyable aria-label='Functions' }

SetMaxDistance () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void SetMaxDistance ( float Distance ) {: .copyable aria-label='Functions' }

SetMultidimensionalTouched () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void SetMultidimensionalTouched ( boolean Value ) {: .copyable aria-label='Functions' }

SetOneHit () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void SetOneHit ( boolean Value ) {: .copyable aria-label='Functions' }

SetTimeout () {: aria-label='Functions' }

{: .abp .tooltip .badge }

void SetTimeout ( int Value ) {: .copyable aria-label='Functions' }

ShootAngle () {: aria-label='Functions' }

{: .static .tooltip .badge } {: .abp .tooltip .badge }

static EntityLaser ShootAngle ( int Variant, Vector SourcePos, float AngleDegrees, int Timeout, Vector PosOffset, Entity Source ) {: .copyable aria-label='Functions' }

static helper to simplify spawning lasers

Variables

Angle {: aria-label='Variables' }

{: .abp .tooltip .badge }

float Angle {: .copyable aria-label='Variables' }

AngleDegrees {: aria-label='Variables' }

{: .abp .tooltip .badge }

float AngleDegrees {: .copyable aria-label='Variables' }

BlackHpDropChance {: aria-label='Variables' }

{: .abp .tooltip .badge }

float BlackHpDropChance {: .copyable aria-label='Variables' }

For maw of void.

BounceLaser {: aria-label='Variables' }

{: .abp .tooltip .badge }

Entity BounceLaser {: .copyable aria-label='Variables' }

CurveStrength {: aria-label='Variables' }

{: .abp .tooltip .badge }

float CurveStrength {: .copyable aria-label='Variables' }

My Reflection.

DisableFollowParent {: aria-label='Variables' }

{: .abp .tooltip .badge }

boolean DisableFollowParent {: .copyable aria-label='Variables' }

Set on children of other lasers, for instance Rubber Cement reflections. Disables m_ParentOffset.

EndPoint {: aria-label='Variables' }

{: .abp .tooltip .badge }

Vector EndPoint {: .copyable aria-label='Variables' }

Will hold the endpoint so it will not need to be recalculated when accessed from extern.

FirstUpdate {: aria-label='Variables' }

{: .abp .tooltip .badge }

boolean FirstUpdate {: .copyable aria-label='Variables' }

GridHit {: aria-label='Variables' }

{: .abp .tooltip .badge }

boolean GridHit {: .copyable aria-label='Variables' }

true if laser can be clipped by grid entities and it was clipped at that frame.

HomingLaser {: aria-label='Variables' }

{: .abp .tooltip .badge }

HomingLaser HomingLaser {: .copyable aria-label='Variables' }

HomingType {: aria-label='Variables' }

{: .abp .tooltip .badge }

LaserHomingType HomingType {: .copyable aria-label='Variables' }

IsActiveRotating {: aria-label='Variables' }

{: .abp .tooltip .badge }

boolean IsActiveRotating {: .copyable aria-label='Variables' }

LaserLength {: aria-label='Variables' }

{: .abp .tooltip .badge }

float LaserLength {: .copyable aria-label='Variables' }

LastAngleDegrees {: aria-label='Variables' }

{: .abp .tooltip .badge }

float LastAngleDegrees {: .copyable aria-label='Variables' }

MaxDistance {: aria-label='Variables' }

{: .abp .tooltip .badge }

float MaxDistance {: .copyable aria-label='Variables' }

Used to trim brimstone for Azazel (0 - off)

OneHit {: aria-label='Variables' }

{: .abp .tooltip .badge }

boolean OneHit {: .copyable aria-label='Variables' }

Laser hits only once.

ParentOffset {: aria-label='Variables' }

{: .abp .tooltip .badge }

Vector ParentOffset {: .copyable aria-label='Variables' }

Radius {: aria-label='Variables' }

{: .abp .tooltip .badge }

float Radius {: .copyable aria-label='Variables' }

RotationDegrees {: aria-label='Variables' }

{: .abp .tooltip .badge }

float RotationDegrees {: .copyable aria-label='Variables' }

RotationDelay {: aria-label='Variables' }

{: .abp .tooltip .badge }

int RotationDelay {: .copyable aria-label='Variables' }

RotationSpd {: aria-label='Variables' }

{: .abp .tooltip .badge }

float RotationSpd {: .copyable aria-label='Variables' }

SampleLaser {: aria-label='Variables' }

{: .abp .tooltip .badge }

boolean SampleLaser {: .copyable aria-label='Variables' }

Shrink {: aria-label='Variables' }

{: .abp .tooltip .badge }

boolean Shrink {: .copyable aria-label='Variables' }

StartAngleDegrees {: aria-label='Variables' }

{: .abp .tooltip .badge }

float StartAngleDegrees {: .copyable aria-label='Variables' }

Some lasers have a bit of random variation in rotation so they need to remember their starting point.

TearFlags {: aria-label='Variables' }

{: .abp .tooltip .badge }

int TearFlags {: .copyable aria-label='Variables' }

float m_DepthOffset; float GetDepthOffset(void) const { return m_DepthOffset; } void SetDepthOffset(float Value) { m_DepthOffset = Value; }

Timeout {: aria-label='Variables' }

{: .abp .tooltip .badge }

int Timeout {: .copyable aria-label='Variables' }

Last updated