Class "EntityLaser"
Functions
CalculateEndPoint () {: aria-label='Functions' }
{: .static .tooltip .badge } {: .abp .tooltip .badge }
GetEndPoint () {: aria-label='Functions' }
Vector GetEndPoint ( ) {: .copyable aria-label='Functions' }
GetNonOptimizedSamples () {: aria-label='Functions' }
HomingLaser::SampleList GetNonOptimizedSamples ( ) {: .copyable aria-label='Functions' }
GetRenderZ () {: aria-label='Functions' }
int GetRenderZ ( ) {: .copyable aria-label='Functions' }
GetSamples () {: aria-label='Functions' }
HomingLaser::SampleList GetSamples ( ) {: .copyable aria-label='Functions' }
IsCircleLaser () {: aria-label='Functions' }
boolean IsCircleLaser ( ) {: .copyable aria-label='Functions' }
IsSampleLaser () {: aria-label='Functions' }
boolean IsSampleLaser ( ) {: .copyable aria-label='Functions' }
SetActiveRotation () {: aria-label='Functions' }
void SetActiveRotation ( int Delay, float AngleDegrees, float RotationSpd, boolean TimeoutComplete ) {: .copyable aria-label='Functions' }
SetBlackHpDropChance () {: aria-label='Functions' }
void SetBlackHpDropChance ( float Chance ) {: .copyable aria-label='Functions' }
SetHomingType () {: aria-label='Functions' }
void SetHomingType ( LaserHomingType Type ) {: .copyable aria-label='Functions' }
SetMaxDistance () {: aria-label='Functions' }
void SetMaxDistance ( float Distance ) {: .copyable aria-label='Functions' }
SetMultidimensionalTouched () {: aria-label='Functions' }
void SetMultidimensionalTouched ( boolean Value ) {: .copyable aria-label='Functions' }
SetOneHit () {: aria-label='Functions' }
void SetOneHit ( boolean Value ) {: .copyable aria-label='Functions' }
SetTimeout () {: aria-label='Functions' }
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' }
float Angle {: .copyable aria-label='Variables' }
AngleDegrees {: aria-label='Variables' }
float AngleDegrees {: .copyable aria-label='Variables' }
BlackHpDropChance {: aria-label='Variables' }
float BlackHpDropChance {: .copyable aria-label='Variables' }
For maw of void.
BounceLaser {: aria-label='Variables' }
Entity BounceLaser {: .copyable aria-label='Variables' }
CurveStrength {: aria-label='Variables' }
float CurveStrength {: .copyable aria-label='Variables' }
My Reflection.
DisableFollowParent {: aria-label='Variables' }
boolean DisableFollowParent {: .copyable aria-label='Variables' }
Set on children of other lasers, for instance Rubber Cement reflections. Disables m_ParentOffset.
EndPoint {: aria-label='Variables' }
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' }
boolean FirstUpdate {: .copyable aria-label='Variables' }
GridHit {: aria-label='Variables' }
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' }
HomingLaser HomingLaser {: .copyable aria-label='Variables' }
HomingType {: aria-label='Variables' }
LaserHomingType HomingType {: .copyable aria-label='Variables' }
IsActiveRotating {: aria-label='Variables' }
boolean IsActiveRotating {: .copyable aria-label='Variables' }
LaserLength {: aria-label='Variables' }
float LaserLength {: .copyable aria-label='Variables' }
LastAngleDegrees {: aria-label='Variables' }
float LastAngleDegrees {: .copyable aria-label='Variables' }
MaxDistance {: aria-label='Variables' }
float MaxDistance {: .copyable aria-label='Variables' }
Used to trim brimstone for Azazel (0 - off)
OneHit {: aria-label='Variables' }
boolean OneHit {: .copyable aria-label='Variables' }
Laser hits only once.
ParentOffset {: aria-label='Variables' }
Vector ParentOffset {: .copyable aria-label='Variables' }
Radius {: aria-label='Variables' }
float Radius {: .copyable aria-label='Variables' }
RotationDegrees {: aria-label='Variables' }
float RotationDegrees {: .copyable aria-label='Variables' }
RotationDelay {: aria-label='Variables' }
int RotationDelay {: .copyable aria-label='Variables' }
RotationSpd {: aria-label='Variables' }
float RotationSpd {: .copyable aria-label='Variables' }
SampleLaser {: aria-label='Variables' }
boolean SampleLaser {: .copyable aria-label='Variables' }
Shrink {: aria-label='Variables' }
boolean Shrink {: .copyable aria-label='Variables' }
StartAngleDegrees {: aria-label='Variables' }
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' }
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' }
int Timeout {: .copyable aria-label='Variables' }
Last updated