Source 2 Viewer
  • C_OP_ColorInterpolate
  • C_OP_ColorInterpolateRandom
  • C_OP_ConnectParentParticleToNearest
  • C_OP_ConstrainDistance
  • C_OP_ConstrainDistanceToPath
  • C_OP_ConstrainDistanceToUserSpecifiedPath
  • C_OP_ConstrainLineLength
  • C_OP_ContinuousEmitter
  • C_OP_ControlpointLight
  • C_OP_Cull
  • C_OP_CurlNoiseForce
  • C_OP_CycleScalar
  • C_OP_CylindricalDistanceToCP
  • C_OP_DampenToCP
  • C_OP_Decay
  • C_OP_DecayClampCount
  • C_OP_DecayMaintainCount
  • C_OP_DecayOffscreen
  • C_OP_DifferencePreviousParticle
  • C_OP_DistanceBetweenCPs
  • C_OP_DistanceBetweenCPsToCP
  • C_OP_DistanceCull
  • C_OP_DistanceToCP
  • C_OP_DriveCPFromGlobalSoundFloat
  • C_OP_EnableChildrenFromParentParticleCount
  • C_OP_EndCapDecay
  • C_OP_EndCapTimedDecay
  • C_OP_EndCapTimedFreeze
  • C_OP_ExternalGameImpulseForce
  • C_OP_ExternalGenericForce
  • C_OP_ExternalWindForce
  • C_OP_FadeAndKill
  • C_OP_FadeAndKillForTracers
  • C_OP_FadeIn
  • C_OP_FadeInSimple
  • C_OP_FadeOut
  • C_OP_FadeOutSimple
  • C_OP_ForceBasedOnDistanceToPlane
  • C_OP_ForceControlPointStub
  • C_OP_GlobalLight
  • C_OP_HSVShiftToCP
  • C_OP_InheritFromParentParticles
  • C_OP_InheritFromParentParticlesV2
  • C_OP_InheritFromPeerSystem
  • C_OP_InstantaneousEmitter
  • C_OP_InterpolateRadius
  • C_OP_LagCompensation
  • C_OP_LerpEndCapScalar
  • C_OP_LerpEndCapVector
  • C_OP_LerpScalar
  • C_OP_LerpToInitialPosition
  • C_OP_LerpToOtherAttribute
  • C_OP_LerpVector
  • C_OP_LocalAccelerationForce
  • C_OP_LockPoints
  • C_OP_LockToBone
  • C_OP_LockToPointList
  • C_OP_LockToSavedSequentialPath
  • C_OP_LockToSavedSequentialPathV2
  • C_OP_MaintainEmitter
  • C_OP_MaintainSequentialPath
  • C_OP_MaxVelocity
  • C_OP_ModelCull
  • C_OP_MoveToHitbox
  • C_OP_MovementLoopInsideSphere
  • C_OP_MovementMaintainOffset
  • C_OP_MovementMoveAlongSkinnedCPSnapshot
  • C_OP_MovementPlaceOnGround
  • C_OP_MovementRigidAttachToCP
  • C_OP_MovementRotateParticleAroundAxis
  • C_OP_MovementSkinnedPositionFromCPSnapshot
  • C_OP_Noise
  • C_OP_NoiseEmitter
  • C_OP_NormalLock
  • C_OP_NormalizeVector
  • C_OP_Orient2DRelToCP
  • C_OP_OrientTo2dDirection
  • C_OP_OscillateScalar
  • C_OP_OscillateScalarSimple
  • C_OP_OscillateVector
SchemasConVars & Commands
Type / to search
  1. Half-Life: Alyx
  2. particles
  3. CParticleFunctionOperator
  4. C_OP_DistanceBetweenCPs

C_OP_DistanceBetweenCPs

Inherits from (16 fields)
CParticleFunctionOperatorCParticleFunction
  • m_nFieldOutput: ParticleAttributeIndex_t
    MPropertyFriendlyName: "output field"
    MDefaultString: "3"
    MPropertyAttributeChoiceName: "particlefield_scalar"
  • m_nStartCP: int32
    MPropertyFriendlyName: "starting control point"
    MDefaultString: "0"
  • m_nEndCP: int32
    MPropertyFriendlyName: "ending control point"
    MDefaultString: "1"
  • m_flInputMin: CPerParticleFloatInput
    MPropertyFriendlyName: "distance minimum"
    MDefaultString: "0"
  • m_flInputMax: CPerParticleFloatInput
    MPropertyFriendlyName: "distance maximum"
    MDefaultString: "128"
  • m_flOutputMin: CPerParticleFloatInput
    MPropertyFriendlyName: "output minimum"
    MDefaultString: "0"
  • m_flOutputMax: CPerParticleFloatInput
    MPropertyFriendlyName: "output maximum"
    MDefaultString: "1"
  • m_flMaxTraceLength: float32
    MPropertyFriendlyName: "maximum trace length"
    MDefaultString: "-1"
  • m_flLOSScale: float32
    MPropertyFriendlyName: "LOS Failure Scalar"
    MDefaultString: "0"
  • m_CollisionGroupName: char[128]
    MPropertyFriendlyName: "LOS collision group"
    MDefaultString: "NONE"
  • m_bLOS: bool
    MPropertyFriendlyName: "ensure line of sight"
    MDefaultString: "0"
  • m_nSetMethod: ParticleSetMethod_t
    MPropertyFriendlyName: "set value method"
    MDefaultString: "PARTICLE_SET_REPLACE_VALUE"
Machine-readable data for scripts and AI agents: llms.txt.