var entity = CBaseEntity.CreateByName("path_mover")!;
var ekv = new CEntityKeyValues();
entity.Spawn(ekv);| Declared by CPathMover · 4 | ||||
| ignore_parent_rotation | boolean SetBool | CPathMover::m_bIgnoreParentRotation | ||
| path_mover_router_name | string SetString | CPathMover::m_iszMoverRouterName | ||
| path_mover_spawner_name | string SetString | CPathMover::m_iszMoverSpawnerName | ||
| sample_spacing | float32 SetFloat | CPathMover::m_flSampleSpacing | ||
| Inherited from base classes and components · 46 | ||||
| angleprocedural | float32 SetFloat | CBaseEntity | ||
| anglesprocedural | qangle SetVector | CBaseEntity | ||
| avelocity | qangle SetVector | CBaseEntity::m_vecAngVelocity | ||
| casterprocedural | ehandle SetString | CBaseEntity | ||
| closed_loop | boolean SetBool | CPathSimple::m_bClosedLoop | ||
| damagefilter | string SetString | CBaseEntity::m_iszDamageFilterName | ||
| disablelowviolence | boolean SetBool | CBaseEntity::m_bDisableLowViolence | ||
| disablereceiveshadowsprocedural | int32 SetInt | CBaseEntity | ||
| disableshadowsprocedural | int32 SetInt | CBaseEntity | ||
| effects | uint32 SetInt | CBaseEntity::m_fEffects | ||
| friction | float32 SetFloat | CBaseEntity::m_flFriction | ||
| globalname | string SetString | CBaseEntity::m_iGlobalname | ||
| gravity | float32 SetFloat | CBaseEntity::m_flGravityScale | ||
| health | int32 SetInt | CBaseEntity::m_iHealth | ||
| LagCompensate | boolean SetBool | CBaseEntity::m_bLagCompensate | ||
| local.angles | qangle SetVector | CGameSceneNode::m_angRotation via m_CBodyComponent → m_pSceneNode | ||
| local.origin | network_origin_cell_quantized_vector SetVector | CGameSceneNode::m_vecOrigin via m_CBodyComponent → m_pSceneNode | ||
| local.scalesprocedural | vector SetVector | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| ltime | float32 SetFloat | CBaseEntity::m_flLocalTime | ||
| max_health | int32 SetInt | CBaseEntity::m_iMaxHealth | ||
| modelprocedural | hmodel SetString | CBaseEntity | ||
| ModelScaleprocedural | float32 SetFloat | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| MoveType | uint8 SetInt | CBaseEntity::m_MoveType | ||
| nextthink | tick SetInt | CBaseEntity::m_nNextThinkTick | ||
| nodamageforcesprocedural | int32 SetInt | CBaseEntity | ||
| originprocedural | vector SetVector | CBaseEntity | ||
| owner | ehandle SetString | CBaseEntity::m_hOwnerEntity | ||
| ownernameprocedural | utlstring SetString | CBaseEntity | ||
| parentAttachmentName | utlstringtoken SetStringToken | CGameSceneNode::m_hierarchyAttachName via m_CBodyComponent → m_pSceneNode | ||
| parentnameprocedural | ehandle SetString | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| platform_type | uint8 SetInt | CBaseEntity::m_nPlatformType | ||
| positionInLocalSpaceprocedural | boolean SetBool | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| preferred_direction | int32 SetInt | CPathWithDynamicNodes::m_eDesiredDirection | ||
| ResponseContext | string SetString | CBaseEntity::m_iszResponseContext | ||
| scaleprocedural | float32 SetFloat | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| scalesprocedural | vector SetVector | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| spawnflags | uint32 SetInt | CBaseEntity::m_spawnflags | ||
| subclass_id | utlstringtoken SetStringToken | CBaseEntity::m_nSubclassID | ||
| subclass_nameprocedural | string SetString | CBaseEntity | ||
| target | string SetString | CBaseEntity::m_target | ||
| TeamNum | int32 SetInt | CBaseEntity::m_iInitialTeamNum | ||
| teamnumber | uint8 SetInt | CBaseEntity::m_iTeamNum | ||
| useLocalOffsetprocedural | boolean SetBool | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| useParentRenderBoundsprocedural | boolean SetBool | CGameSceneNode via m_CBodyComponent → m_pSceneNode | ||
| velocity | network_quantized_vector SetVector | CBaseEntity::m_vecVelocity | ||
| vscripts | string SetString | CBaseEntity::m_iszPrivateVScripts | ||
| Declared by CPathMover · 3 | |||
| GetPathNodes Returns a vector of path nodes | no value → array<ehandle<path_node>> retval | CPathMover | |
| GetPathRelativeTransform Given a node gets its transform relative | ehandle<path_node_mover> hPathNode → transform_worldspace retval | CPathMover | |
| IsPathClosedLoop Whether the path joins back on itself. A path only counts as a closed loop if it is marked as one and has at least three nodes. | no value → bool retval | CPathMover | |
| Inherited from base classes and components · 91 | |||
| AddAttribute | string | CBaseEntity | |
| AddContext | string | CBaseEntity | |
| AddModifier | string | CBaseEntity | |
| AddOutput | string pParam | CBaseEntity | |
| ChangeSubclass | string | CBaseEntity | |
| ChangeTeam Set the entity team number | int iTeamNum | CBaseEntity | |
| ClassMatches Check the type of an entity. Includes base classes. | string entityType → bool retval | CBaseEntity | |
| ClassNameMatches Returns true if the entity's class matches the one given (no wildcard support) | string pClassName → bool retval | CBaseEntity | |
| ClearContext | no value | CBaseEntity | |
| ClearParent | no value | CBaseEntity | |
| DisableAutoSleeping | no value | CBaseEntity | |
| DisableDamageForces | no value | CBaseEntity | |
| DisablePlatform | no value | CBaseEntity | |
| DisableShadow | no value | CBaseEntity | |
| DispatchResponse | string | CBaseEntity | |
| EnableAutoSleeping | no value | CBaseEntity | |
| EnableDamageForces | no value | CBaseEntity | |
| EnablePlatform | no value | CBaseEntity | |
| EnableShadow | no value | CBaseEntity | |
| FindModelConfigEntity Returns the model config entity attached to this entity by the specified name | string pConfigEntityName → ehandle retval | CBaseEntity | |
| FireUser1 | no value | CBaseEntity | |
| FireUser2 | no value | CBaseEntity | |
| FireUser3 | no value | CBaseEntity | |
| FireUser4 | no value | CBaseEntity | |
| FollowEntity | string | CBaseEntity | |
| GetAbsAngles Get the world orientation of this entity. | no value → qangle retval | CBaseEntity | |
| GetAbsOrigin The entity origin (absolute). | no value → vec3_worldspace retval | CBaseEntity | |
| GetAbsScale Get the world scale of this entity. | no value → float retval | CBaseEntity | |
| GetAbsTransform The entity origin transform (absolute). | no value → transform_worldspace retval | CBaseEntity | |
| GetAllChildren Returns the children in hierarchy. | no value → array<ehandle> retval | CBaseEntity | |
| GetAttachmentAngle Return the Angle of the entity's attachment. | string pAttachment → qangle retval | CBaseEntity | |
| GetAttachmentForward Return the forward vector for the attachment | string pAttachment → vec3 retval | CBaseEntity | |
| GetAttachmentLeft Return the left vector for the attachment | string pAttachment → vec3 retval | CBaseEntity | |
| GetAttachmentOrigin Return the absolute position of the entity's attachment. | string pAttachment → vec3_worldspace retval | CBaseEntity | |
| GetAttachmentUp Return the up vector for the attachment | string pAttachment → vec3 retval | CBaseEntity | |
| GetClassName The entity class name | no value → string retval | CBaseEntity | |
| GetClosestDirToEntity Compute the closest direction along the path relative to the entity provided. (world space vector) | ehandle hEntity → vec3 retval | CPathSimple | |
| GetClosestPosToEntity Compute the closest position on the path relative to the entity provided. (world space vector) | ehandle hEntity → vec3 retval | CPathSimple | |
| GetClosestTValueToEntity Compute the closest T value on the path relative to the entity provided. (0.0 to 1.0 float value that defines the point along the spline) | ehandle hEntity → float retval | CPathSimple | |
| GetDebugString Get a debug string identifying the entity. Safe for null entities. This string cannot be used for looking up the entity. Should not be used for anything except logging. | no value → string retval | CBaseEntity | |
| GetDirAtTValue Compute the Direction along the spline at the provided T Value of the spline. (world space vector) | float flTValue → vec3 retval | CPathSimple | |
| GetDistanceBetweenEntitiesAlongPath Compute the distance along the path between provided Entity A and Entity B | ehandle hEntityA, ehandle hEntityB → float retval | CPathSimple | |
| GetEyePosition The entity eye position. | no value → vec3_worldspace retval | CBaseEntity | |
| GetForward The forward vector of the entity. | no value → vec3 retval | CBaseEntity | |
| GetGravityDirection The current gravity direction for the entity. | no value → vec3 retval | CBaseEntity | |
| GetLeft The left vector of the entity. | no value → vec3 retval | CBaseEntity | |
| GetLocalAngles Get the local orientation of this entity. | no value → qangle retval | CBaseEntity | |
| GetLocalOrigin The entity origin (local). Use when you have a parent. | no value → vec3 retval | CBaseEntity | |
| GetLocalScale Get the local scale of this entity. | no value → float retval | CBaseEntity | |
| GetLocalTransform The entity origin transform (local). Use when you have a parent. | no value → transform retval | CBaseEntity | |
| GetMoveParent Get the entity's move parent (may not be the top level movement entity). | no value → ehandle retval | CBaseEntity | |
| GetName Get the name of the entity. | no value → entity_name retval | CBaseEntity | |
| GetPosAtTValue Compute the position at the provided T Value of the spline. (world space vector) | float flTValue → vec3_worldspace retval | CPathSimple | |
| GetRootMoveParent Get the root move parent for the entity (traverses the hierarchy until it reaches the ancestor that controls the final transform). | no value → ehandle retval | CBaseEntity | |
| GetTeamNumber The entity team number | no value → int retval | CBaseEntity | |
| GetTValueAtDistanceOffset Given a starting T value on the spline and a distance traveled on the spline, return the resulting T value. | float flTValue, float flDistance → float retval | CPathSimple | |
| GetUp The up vector of the entity. | no value → vec3 retval | CBaseEntity | |
| GetVelocity The linear velocity for the entity. | no value → vec3 retval | CBaseEntity | |
| GetWorldSpaceCenter The entity worldspace center. | no value → vec3_worldspace retval | CBaseEntity | |
| IsModel Returns true if the entity is using the given model, false otherwise | string strModel → bool retval | CBaseEntity | |
| IsMotionEnabled Returns true if the entity is motion-enabled (i.e. its ideal motion type is dynamic). Note that the entity may still end up keyframed in some cases, e.g. if it's hierarchically attached to another keyframed entity. | no value → bool retval | CBaseEntity | |
| Kill | no value | CBaseEntity | |
| KillConstrained | no value | CBaseEntity | |
| KillHierarchy | no value | CBaseEntity | |
| NameMatches Returns true if the entity name matches the given string. Wildcards are accepted. | string pNameOrWildcard → bool retval | CBaseEntity | |
| PlatformFollowYaw | no value | CBaseEntity | |
| PlatformIgnoreYaw | no value | CBaseEntity | |
| RemoveAttribute | string | CBaseEntity | |
| RemoveContext | string | CBaseEntity | |
| RemoveModifier | string | CBaseEntity | |
| SetAbsAngles Set the world orientation of this entity. | qangle angles | CBaseEntity | |
| SetAbsOrigin Set the world origin of this entity. | vec3_worldspace vPos | CBaseEntity | |
| SetAbsScale Set the world scale of this entity. | float flScale | CBaseEntity | |
| SetDamageFilter | string | CBaseEntity | |
| SetEntityAtTValue Set entity to the position of the provided T value of the spline (world space vector) | ehandle hEntity, float flTValue | CPathSimple | |
| SetKinematic | bool bKinematic | CBaseEntity | |
| SetLocalAngles Set the local orientation of this entity. Use when you have a parent. | qangle angles | CBaseEntity | |
| SetLocalOrigin Set the local origin of this entity. Use when you have a parent. | vec3 vPos | CBaseEntity | |
| SetLocalScale Set the local scale of this entity. Use when you have a parent. | float flScale | CBaseEntity | |
| SetParent Set the parent of this entity. | ehandle pNewParent | CBaseEntity | |
| SetParentAttachment | string | CBaseEntity | |
| SetParentAttachmentMaintainOffset | string | CBaseEntity | |
| SetParentMaintainOffset Set the parent of this entity and maintain offsets. | ehandle pNewParent, string sAttachBoneName | CBaseEntity | |
| SetParentWithOffset Set the parent of this entity (with offset). | ehandle pNewParent, string sAttachBoneName, transform xAttachOffset | CBaseEntity | |
| SetScale | float flValue | CBaseEntity | |
| SetTeam | int | CBaseEntity | |
| TeamNum | int | CBaseEntity | |
| TeleportToPoint Teleport the given entity to the specified position and orientation | vec3_worldspace vPosition | CBaseEntity | |
| TeleportToTransform Teleport the given entity to the specified transform | transform_worldspace xTransform | CBaseEntity | |
| Use | int | CBaseEntity | |
| WasThrownByPlayer Returns true if the entity was recently thrown by the player | no value → bool retval | CBaseEntity | |
| Declared by CPathMover · 0 | |||
| None. | |||
| Inherited from base classes and components · 5 | |||
| OnKilled | CBaseEntity | ||
| OnUser1 | CBaseEntity | ||
| OnUser2 | CBaseEntity | ||
| OnUser3 | CBaseEntity | ||
| OnUser4 | CBaseEntity | ||
path_mover_router_name (m_iszMoverRouterName)sample_spacing (m_flSampleSpacing)ignore_parent_rotation (m_bIgnoreParentRotation)m_hMoverSpawnerm_vecMoverspath_mover_spawner_name (m_iszMoverSpawnerName): flags ["save","key"] → ["key"], offset 1552 → 1600preferred_direction (m_eDesiredDirection)m_vecPathNodesm_xInitialPathWorldToLocalm_pathStringm_CPathQueryComponentclosed_loop (m_bClosedLoop): flags ["save","key"] → ["key"], offset 1448 → 1464m_sUniqueHammerIDm_pModifierPropspeed (m_flSpeed)m_flAnimTimem_flSimulationTimem_flCreateTimem_nLastThinkTickm_bDisabledContextThinksm_CScriptComponentm_aThinkFunctionsm_ResponseContextsm_pSubclassVDatam_flAbsScalem_flScalem_flClientLocalScalem_vRenderOriginm_nodeToWorldm_pOwnerm_pParentm_pChildm_pNextSiblingm_nParentAttachmentOrBonem_bDirtyHierarchym_bDirtyBoneMergeInfoGetTValueAtDistanceOffset float flTValue, float flDistanceGetClosestDirToEntity: friendly_name "Get Closest Dir To Entity (path_simple)" → "Get Closest Dir To Entity"GetClosestPosToEntity: returns vec3_worldspace retval → vec3 retval, friendly_name "Get Closest Pos To Entity (path_simple)" → "Get Closest Pos To Entity"GetClosestTValueToEntity: friendly_name "Get Closest T Value To Entity (path_simple)" → "Get Closest T Value To Entity"GetDirAtTValue: friendly_name "Get Dir At T Value (path_simple)" → "Get Dir At T Value"GetDistanceBetweenEntitiesAlongPath: friendly_name "Get Distance Between Entities Along Path (path_simple)" → "Get Distance Between Entities Along Path"GetPosAtTValue: friendly_name "Get Pos At T Value (path_simple)" → "Get Pos At T Value"SetEntityAtTValue: friendly_name "Set Entity At T Value (path_simple)" → "Set Entity At T Value"AddAttribute stringAddContext stringAddModifier stringAddOutput string pParamChangeSubclass stringClassMatches string entityTypeClearContextClearParentDisableAutoSleepingDisableDamageForcesDisablePlatformDisableShadow