var entity = CBaseEntity.CreateByName("scripted_sequence")!;
var ekv = new CEntityKeyValues();
entity.Spawn(ekv);| Declared by CScriptedSequence · 47 | ||||
| can_override_npc_state | boolean SetBool | CScriptedSequence::m_bCanOverrideNPCState | ||
| conflict_response | int32 SetInt | CScriptedSequence::m_ConflictResponse | ||
| continue_on_death | boolean SetBool | CScriptedSequence::m_bContinueOnDeath | ||
| disable_aim_while_moving | boolean SetBool | CScriptedSequence::m_bDisableAimingWhileMoving | ||
| dont_rotate_other | boolean SetBool | CScriptedSequence::m_bDontRotateOther | ||
| ensure_on_navmesh_on_finish | boolean SetBool | CScriptedSequence::m_bEnsureOnNavmeshOnFinish | ||
| forced_crouch_state | int32 SetInt | CScriptedSequence::m_nForcedCrouchState | ||
| held_weapon_behavior | int32 SetInt | CScriptedSequence::m_nHeldWeaponBehavior | ||
| hide_debug_complaints | boolean SetBool | CScriptedSequence::m_bHideDebugComplaints | ||
| high_priority | boolean SetBool | CScriptedSequence::m_bHighPriority | ||
| ignore_rotation | boolean SetBool | CScriptedSequence::m_bIgnoreRotation | ||
| m_bAllowCustomInterruptConditions | boolean SetBool | CScriptedSequence::m_bAllowCustomInterruptConditions | ||
| m_bDisableNPCCollisions | boolean SetBool | CScriptedSequence::m_bDisableNPCCollisions | ||
| m_bDontAddModifiers | boolean SetBool | CScriptedSequence::m_bDontAddModifiers | ||
| m_bIgnoreGravity | boolean SetBool | CScriptedSequence::m_bIgnoreGravity | ||
| m_bIgnoreLookAt | boolean SetBool | CScriptedSequence::m_bIgnoreLookAt | ||
| m_bKeepAnimgraphLockedPost | boolean SetBool | CScriptedSequence::m_bKeepAnimgraphLockedPost | ||
| m_bLoopActionSequence | boolean SetBool | CScriptedSequence::m_bLoopActionSequence | ||
| m_bLoopPostIdleSequence | boolean SetBool | CScriptedSequence::m_bLoopPostIdleSequence | ||
| m_bLoopPreIdleSequence | boolean SetBool | CScriptedSequence::m_bLoopPreIdleSequence | ||
| m_bPositionRelativeToOtherEntity | boolean SetBool | CScriptedSequence::m_bPositionRelativeToOtherEntity | ||
| m_bSynchPostIdles | boolean SetBool | CScriptedSequence::m_bSynchPostIdles | ||
| m_bWaitUntilMoveCompletesToStartAnimation | boolean SetBool | CScriptedSequence::m_bWaitUntilMoveCompletesToStartAnimation | ||
| m_flAngRate | float32 SetFloat | CScriptedSequence::m_flAngRate | ||
| m_flMoveInterpTime | float32 SetFloat | CScriptedSequence::m_flMoveInterpTime | ||
| m_flMoveSpeed | float32 SetFloat | CScriptedSequence::m_flMoveSpeed | ||
| m_flPlayAnimFadeInTime | float32 SetFloat | CScriptedSequence::m_flPlayAnimFadeInTime | ||
| m_flRadius | float32 SetFloat | CScriptedSequence::m_flRadius | ||
| m_flRepeat | float32 SetFloat | CScriptedSequence::m_flRepeat | ||
| m_fMoveTo | int32 SetInt | CScriptedSequence::m_nMoveTo | ||
| m_iszEntity | string SetString | CScriptedSequence::m_iszEntity | ||
| m_iszEntry | string SetString | CScriptedSequence::m_iszEntry | ||
| m_iszIdle | string SetString | CScriptedSequence::m_iszPreIdle | ||
| m_iszModifierToAddOnPlay | string SetString | CScriptedSequence::m_iszModifierToAddOnPlay | ||
| m_iszNextScript | string SetString | CScriptedSequence::m_iszNextScript | ||
| m_iszPlay | string SetString | CScriptedSequence::m_iszPlay | ||
| m_iszPostIdle | string SetString | CScriptedSequence::m_iszPostIdle | ||
| move_to_gait | character SetInt | CScriptedSequence::m_nMoveToGait | ||
| no_interrupts | boolean SetBool | CScriptedSequence::m_bDisallowInterrupts | ||
| no_teleport_at_end | boolean SetBool | CScriptedSequence::m_bDontTeleportAtEnd | ||
| onnpcdeath | int32 SetInt | CScriptedSequence::m_onDeathBehavior | ||
| onplayerdeath | int32 SetInt | CScriptedSequence::m_iPlayerDeathBehavior | ||
| prevent_update_yaw_on_finish | boolean SetBool | CScriptedSequence::m_bPreventUpdateYawOnFinish | ||
| repeatable | boolean SetBool | CScriptedSequence::m_bIsRepeatable | ||
| should_leave_corpse | boolean SetBool | CScriptedSequence::m_bShouldLeaveCorpse | ||
| start_on_spawn | boolean SetBool | CScriptedSequence::m_bStartOnSpawn | ||
| sync_group | string SetString | CScriptedSequence::m_iszSyncGroup | ||
| 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 CScriptedSequence · 6 | |||
| BeginSequence | no value | CScriptedSequence | |
| CancelSequence | no value | CScriptedSequence | |
| ForceTarget | string | CScriptedSequence | |
| MoveToPosition | no value | CScriptedSequence | |
| ScriptPlayerDeath | no value | CScriptedSequence | |
| SetActionSequence | string | CScriptedSequence | |
| Inherited from base classes and components · 83 | |||
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 | |
| 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 CScriptedSequence · 14 | |||
| OnActionStartOrLoop | CScriptedSequence | ||
| OnBeginSequence | CScriptedSequence | ||
| OnCancelFailedSequence | CScriptedSequence | ||
| OnCancelSequence | CScriptedSequence | ||
| OnEndSequence | CScriptedSequence | ||
| OnPostIdleEndSequence | CScriptedSequence | ||
| OnScriptEvent01 | CScriptedSequence | ||
| OnScriptEvent02 | CScriptedSequence | ||
| OnScriptEvent03 | CScriptedSequence | ||
| OnScriptEvent04 | CScriptedSequence | ||
| OnScriptEvent05 | CScriptedSequence | ||
| OnScriptEvent06 | CScriptedSequence | ||
| OnScriptEvent07 | CScriptedSequence | ||
| OnScriptEvent08 | CScriptedSequence | ||
| Inherited from base classes and components · 5 | |||
| OnKilled | CBaseEntity | ||
| OnUser1 | CBaseEntity | ||
| OnUser2 | CBaseEntity | ||
| OnUser3 | CBaseEntity | ||
| OnUser4 | CBaseEntity | ||
m_bIsPlayingEntrym_bIsPlayingPreIdlem_bIsPlayingActionm_bIsPlayingPostIdlem_nNotReadySequenceCountm_startTimem_bWaitForBeginSequencem_saved_effectsm_savedFlagsm_savedCollisionGroupm_bInterruptablem_sequenceStartedm_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_bDirtyBoneMergeInfoAddAttribute stringAddContext stringAddModifier stringAddOutput string pParamChangeSubclass stringClassMatches string entityTypeClearContextClearParentDisableAutoSleepingDisableDamageForcesDisablePlatformDisableShadow