var entity = CBaseEntity.CreateByName("func_precipitation_blocker")!;
var ekv = new CEntityKeyValues();
entity.Spawn(ekv);| Declared by CPrecipitationBlocker · 36 | ||||
| add_attributeprocedural | utlstring SetString | CBaseModelEntity | ||
| add_modifier | utlstring SetString | CBaseModelEntity::m_szAddModifier | ||
| bodygroupsprocedural | utlstring SetString | CBaseModelEntity | ||
| destructible_part_initial_state_destructed_1 | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed0 | ||
| destructible_part_initial_state_destructed_1_generate_breakpieces | boolean SetBool | CBaseModelEntity::m_bDestructiblePartInitialStateDestructed0_GenerateBreakpieces | ||
| destructible_part_initial_state_destructed_1_part_index | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed0_PartIndex | ||
| destructible_part_initial_state_destructed_2 | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed1 | ||
| destructible_part_initial_state_destructed_2_generate_breakpieces | boolean SetBool | CBaseModelEntity::m_bDestructiblePartInitialStateDestructed1_GenerateBreakpieces | ||
| destructible_part_initial_state_destructed_2_part_index | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed1_PartIndex | ||
| destructible_part_initial_state_destructed_3 | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed2 | ||
| destructible_part_initial_state_destructed_3_generate_breakpieces | boolean SetBool | CBaseModelEntity::m_bDestructiblePartInitialStateDestructed2_GenerateBreakpieces | ||
| destructible_part_initial_state_destructed_3_part_index | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed2_PartIndex | ||
| destructible_part_initial_state_destructed_4 | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed3 | ||
| destructible_part_initial_state_destructed_4_generate_breakpieces | boolean SetBool | CBaseModelEntity::m_bDestructiblePartInitialStateDestructed3_GenerateBreakpieces | ||
| destructible_part_initial_state_destructed_4_part_index | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed3_PartIndex | ||
| destructible_part_initial_state_destructed_5 | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed4 | ||
| destructible_part_initial_state_destructed_5_generate_breakpieces | boolean SetBool | CBaseModelEntity::m_bDestructiblePartInitialStateDestructed4_GenerateBreakpieces | ||
| destructible_part_initial_state_destructed_5_part_index | int32 SetInt | CBaseModelEntity::m_nDestructiblePartInitialStateDestructed4_PartIndex | ||
| expand_render_bounds_to_include_cloth | boolean SetBool | CBaseModelEntity::m_bExpandRenderBoundsToIncludeCloth | ||
| fademaxdist | float32 SetFloat | CBaseModelEntity::m_fadeMaxDist | ||
| fademindist | float32 SetFloat | CBaseModelEntity::m_fadeMinDist | ||
| fadescale | float32 SetFloat | CBaseModelEntity::m_flFadeScale | ||
| glowbackfacemult | float32 SetFloat | CBaseModelEntity::m_flGlowBackfaceMult | ||
| maxsprocedural | vector SetVector | CBaseModelEntity | ||
| minsprocedural | vector SetVector | CBaseModelEntity | ||
| NoInterpolate | boolean SetBool | CBaseModelEntity::m_bNoInterpolate | ||
| object_culling | uint8 SetInt | CBaseModelEntity::m_nObjectCulling | ||
| renderamtprocedural | int32 SetInt | CBaseModelEntity | ||
| rendercolor | color32 SetColor | CBaseModelEntity::m_clrRender | ||
| rendercolor32procedural | color32 SetColor | CBaseModelEntity | ||
| renderfx | uint8 SetInt | CBaseModelEntity::m_nRenderFX | ||
| rendermode | uint8 SetInt | CBaseModelEntity::m_nRenderMode | ||
| rendertocubemaps | boolean SetBool | CBaseModelEntity::m_bRenderToCubemaps | ||
| skinprocedural | utlstring SetString | CBaseModelEntity | ||
| solid | uint8 SetInt | CCollisionProperty::m_nSolidType via m_Collision | ||
| view_ofs | network_quantized_vector SetVector | CBaseModelEntity::m_vecViewOffset | ||
| Inherited from base classes and components · 44 | ||||
| angleprocedural | float32 SetFloat | CBaseEntity | ||
| anglesprocedural | qangle SetVector | CBaseEntity | ||
| avelocity | qangle SetVector | CBaseEntity::m_vecAngVelocity | ||
| casterprocedural | ehandle SetString | CBaseEntity | ||
| 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 | ||
| 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 CPrecipitationBlocker · 0 | |||
| None. | |||
| Inherited from base classes and components · 112 | |||
| AddAttribute | string | CBaseEntity | |
| AddContext | string | CBaseEntity | |
| AddModifier | string | CBaseEntity | |
| AddOutput | string pParam | CBaseEntity | |
| Alpha | int | CBaseModelEntity | |
| BreakJointByName Destroy this joint by Name | string pJointName | CBaseModelEntity | |
| 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 | |
| ClearRenderAttribute Clear the specified render attribute | string pAttributeName | CBaseModelEntity | |
| Color | color_rgb | CBaseModelEntity | |
| DestructibleHitGroupDestroy Destroy a destructible hit group. Damage level of -1 means all damage levels, otherwise specify the last one you want to blow up. | HitGroup_t nHitGroup, int nDamageLevel | CBaseModelEntity | |
| 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 | |
| Extinguish | no value | CBaseModelEntity | |
| fademaxdist | float | CBaseModelEntity | |
| fademindist | float | CBaseModelEntity | |
| 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 | |
| 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 | |
| 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 | |
| GetIntactDestructibleHitGroups Returns the destructible hitgroups that are still intact. | no value → array<HitGroup_t> retval | CBaseModelEntity | |
| GetJointLimitAngles Returns the joint limit angles. | string pJointName → bool retval, float MinAngle, float MaxAngle | CBaseModelEntity | |
| 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 | |
| GetRenderAlpha Get object render alpha (0-255) | no value → int retval | CBaseModelEntity | |
| GetRenderColor Get object render color (Alpha is ignored) | no value → color_rgb retval | CBaseModelEntity | |
| 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 | |
| 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 | |
| Ignite | no value | CBaseModelEntity | |
| IgniteHitboxFireScale | float | CBaseModelEntity | |
| IgniteLifetime | float | CBaseModelEntity | |
| IgniteNumHitboxFires | int | CBaseModelEntity | |
| IsDestructibleHitGroupIntact True/False if hitgroup is intact. If hitgroup is not a destructible hitgroup you'll get a warning and it'll return false. | HitGroup_t nHitGroup → bool retval | CBaseModelEntity | |
| 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 | |
| SetBodyGroupValue Change the active choice for the named bodygroup to the specified value | string pBodyGroupName, int iValue | CBaseModelEntity | |
| SetDamageFilter | string | CBaseEntity | |
| SetJointLimitAngles Sets the joint limit angles. Only valid for prismatic and revolute joints. | string pJointName, float flMinAngle, float flMaxAngle | CBaseModelEntity | |
| SetJointLimitEnabled Enables/disables the joint limit. Only valid for prismatic and revolute joints. | string pJointName, bool bEnabled | CBaseModelEntity | |
| 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 | |
| SetMaterialGroup Change the active materialgroup | string pName | CBaseModelEntity | |
| SetModel Change the current model | resource<vmdl> hModel | CBaseModelEntity | |
| 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 | |
| SetRenderAlpha Alpha 0-255 | int nAlpha | CBaseModelEntity | |
| SetRenderAttribute | string pValue | CBaseModelEntity | |
| SetRenderAttribute4Floats Set the specified render attribute value | string pAttributeName, float flX, float flY, float flZ, float flW | CBaseModelEntity | |
| SetRenderAttributeFloat Set the specified render attribute value | string pAttributeName, float flValue | CBaseModelEntity | |
| SetRenderAttributeVector Set the specified render attribute value | string pAttributeName, vec3 vValue | CBaseModelEntity | |
| SetRenderColor Set object render color (Alpha is ignored) | color_rgb cColor | CBaseModelEntity | |
| SetScale | float flValue | CBaseEntity | |
| SetTeam | int | CBaseEntity | |
| Skin | int | CBaseModelEntity | |
| 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 CPrecipitationBlocker · 0 | |||
| None. | |||
| Inherited from base classes and components · 7 | |||
| OnDestructibleHitGroupDamageLevelChanged Called when the damage level of destructible part for a particular hit group has been changed. | HitGroup_t nHitGroup, int nDamageLevel, int nDamageLevelsRemaining, int nPrevDamageLevel | CBaseModelEntity | |
| OnIgnite | CBaseModelEntity | ||
| OnKilled | CBaseEntity | ||
| OnUser1 | CBaseEntity | ||
| OnUser2 | CBaseEntity | ||
| OnUser3 | CBaseEntity | ||
| OnUser4 | CBaseEntity | ||
DestructibleHitGroupDestroy: params HitGroup_t nHitGroup, int nDamageLevel → enum<HitGroup_t> nHitGroup, int nDamageLevelGetIntactDestructibleHitGroups: returns array<HitGroup_t> retval → array<enum<HitGroup_t>> retvalIsDestructibleHitGroupIntact: params HitGroup_t nHitGroup → enum<HitGroup_t> nHitGroupOnDestructibleHitGroupDamageLevelChanged: params HitGroup_t nHitGroup, int nDamageLevel, int nDamageLevelsRemaining, int nPrevDamageLevel → enum<HitGroup_t> nHitGroup, int nDamageLevel, int nDamageLevelsRemaining, int nPrevDamageLevelexpand_render_bounds_to_include_cloth (m_bExpandRenderBoundsToIncludeCloth)destructible_part_initial_state_destructed_1_generate_breakpieces (m_bDestructiblePartInitialStateDestructed0_GenerateBreakpieces)destructible_part_initial_state_destructed_2_generate_breakpieces (m_bDestructiblePartInitialStateDestructed1_GenerateBreakpieces)destructible_part_initial_state_destructed_3_generate_breakpieces (m_bDestructiblePartInitialStateDestructed2_GenerateBreakpieces)destructible_part_initial_state_destructed_4_generate_breakpieces (m_bDestructiblePartInitialStateDestructed3_GenerateBreakpieces)destructible_part_initial_state_destructed_5_generate_breakpieces (m_bDestructiblePartInitialStateDestructed4_GenerateBreakpieces)m_pDestructiblePartsSystemComponentm_bvDisabledHitGroupsm_pChoreoComponentm_vecRenderAttributesm_Glowm_bodyGroupChoicesm_vecMinsm_vecMaxsm_usSolidFlagsm_nSurroundTypem_flBoundingRadiusm_triggerBloatm_CollisionGroupm_vecSpecifiedSurroundingMinsm_vecSpecifiedSurroundingMaxsm_vecSurroundingMinsm_vecSurroundingMaxsm_collisionAttributem_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_bDirtyBoneMergeInfoAlpha intBreakJointByName string pJointNameColor color_rgbExtinguishfademaxdist floatfademindist floatGetIntactDestructibleHitGroupsIgniteIgniteHitboxFireScale floatIgniteLifetime floatIgniteNumHitboxFires intIsDestructibleHitGroupIntact HitGroup_t nHitGroupAddAttribute stringAddContext stringAddModifier stringAddOutput string pParamChangeSubclass stringClassMatches string entityTypeClearContextClearParentDisableAutoSleepingDisableDamageForcesDisablePlatformDisableShadow