Need help with plugins or servers? Join our Discord

Modding Database

Up to date with Steam · checked 4s ago· Viewing build 6723 (Sep 30 2026), not the latest

scripted_sequence

entityclass: CScriptedSequence →

47 keyvalues +44 inherited · 6 inputs +83 inherited · 14 outputs +5 inherited

Spawn it (tick keyvalues below to add them)
var entity = CBaseEntity.CreateByName("scripted_sequence")!;
var ekv = new CEntityKeyValues();
entity.Spawn(ekv);

Keyvalues

Declared by CScriptedSequence · 47
can_override_npc_stateboolean SetBoolCScriptedSequence::m_bCanOverrideNPCState
conflict_responseint32 SetIntCScriptedSequence::m_ConflictResponse
continue_on_deathboolean SetBoolCScriptedSequence::m_bContinueOnDeath
disable_aim_while_movingboolean SetBoolCScriptedSequence::m_bDisableAimingWhileMoving
dont_rotate_otherboolean SetBoolCScriptedSequence::m_bDontRotateOther
ensure_on_navmesh_on_finishboolean SetBoolCScriptedSequence::m_bEnsureOnNavmeshOnFinish
forced_crouch_stateint32 SetIntCScriptedSequence::m_nForcedCrouchState
held_weapon_behaviorint32 SetIntCScriptedSequence::m_nHeldWeaponBehavior
hide_debug_complaintsboolean SetBoolCScriptedSequence::m_bHideDebugComplaints
high_priorityboolean SetBoolCScriptedSequence::m_bHighPriority
ignore_rotationboolean SetBoolCScriptedSequence::m_bIgnoreRotation
m_bAllowCustomInterruptConditionsboolean SetBoolCScriptedSequence::m_bAllowCustomInterruptConditions
m_bDisableNPCCollisionsboolean SetBoolCScriptedSequence::m_bDisableNPCCollisions
m_bDontAddModifiersboolean SetBoolCScriptedSequence::m_bDontAddModifiers
m_bIgnoreGravityboolean SetBoolCScriptedSequence::m_bIgnoreGravity
m_bIgnoreLookAtboolean SetBoolCScriptedSequence::m_bIgnoreLookAt
m_bKeepAnimgraphLockedPostboolean SetBoolCScriptedSequence::m_bKeepAnimgraphLockedPost
m_bLoopActionSequenceboolean SetBoolCScriptedSequence::m_bLoopActionSequence
m_bLoopPostIdleSequenceboolean SetBoolCScriptedSequence::m_bLoopPostIdleSequence
m_bLoopPreIdleSequenceboolean SetBoolCScriptedSequence::m_bLoopPreIdleSequence
m_bPositionRelativeToOtherEntityboolean SetBoolCScriptedSequence::m_bPositionRelativeToOtherEntity
m_bSynchPostIdlesboolean SetBoolCScriptedSequence::m_bSynchPostIdles
m_bWaitUntilMoveCompletesToStartAnimationboolean SetBoolCScriptedSequence::m_bWaitUntilMoveCompletesToStartAnimation
m_flAngRatefloat32 SetFloatCScriptedSequence::m_flAngRate
m_flMoveInterpTimefloat32 SetFloatCScriptedSequence::m_flMoveInterpTime
m_flMoveSpeedfloat32 SetFloatCScriptedSequence::m_flMoveSpeed
m_flPlayAnimFadeInTimefloat32 SetFloatCScriptedSequence::m_flPlayAnimFadeInTime
m_flRadiusfloat32 SetFloatCScriptedSequence::m_flRadius
m_flRepeatfloat32 SetFloatCScriptedSequence::m_flRepeat
m_fMoveToint32 SetIntCScriptedSequence::m_nMoveTo
m_iszEntitystring SetStringCScriptedSequence::m_iszEntity
m_iszEntrystring SetStringCScriptedSequence::m_iszEntry
m_iszIdlestring SetStringCScriptedSequence::m_iszPreIdle
m_iszModifierToAddOnPlaystring SetStringCScriptedSequence::m_iszModifierToAddOnPlay
m_iszNextScriptstring SetStringCScriptedSequence::m_iszNextScript
m_iszPlaystring SetStringCScriptedSequence::m_iszPlay
m_iszPostIdlestring SetStringCScriptedSequence::m_iszPostIdle
move_to_gaitcharacter SetIntCScriptedSequence::m_nMoveToGait
no_interruptsboolean SetBoolCScriptedSequence::m_bDisallowInterrupts
no_teleport_at_endboolean SetBoolCScriptedSequence::m_bDontTeleportAtEnd
onnpcdeathint32 SetIntCScriptedSequence::m_onDeathBehavior
onplayerdeathint32 SetIntCScriptedSequence::m_iPlayerDeathBehavior
prevent_update_yaw_on_finishboolean SetBoolCScriptedSequence::m_bPreventUpdateYawOnFinish
repeatableboolean SetBoolCScriptedSequence::m_bIsRepeatable
should_leave_corpseboolean SetBoolCScriptedSequence::m_bShouldLeaveCorpse
start_on_spawnboolean SetBoolCScriptedSequence::m_bStartOnSpawn
sync_groupstring SetStringCScriptedSequence::m_iszSyncGroup
Inherited from base classes and components · 44
angleproceduralfloat32 SetFloatCBaseEntity
anglesproceduralqangle SetVectorCBaseEntity
avelocityqangle SetVectorCBaseEntity::m_vecAngVelocity
casterproceduralehandle SetStringCBaseEntity
damagefilterstring SetStringCBaseEntity::m_iszDamageFilterName
disablelowviolenceboolean SetBoolCBaseEntity::m_bDisableLowViolence
disablereceiveshadowsproceduralint32 SetIntCBaseEntity
disableshadowsproceduralint32 SetIntCBaseEntity
effectsuint32 SetIntCBaseEntity::m_fEffects
frictionfloat32 SetFloatCBaseEntity::m_flFriction
globalnamestring SetStringCBaseEntity::m_iGlobalname
gravityfloat32 SetFloatCBaseEntity::m_flGravityScale
healthint32 SetIntCBaseEntity::m_iHealth
LagCompensateboolean SetBoolCBaseEntity::m_bLagCompensate
local.anglesqangle SetVectorCGameSceneNode::m_angRotation via m_CBodyComponent → m_pSceneNode
local.originnetwork_origin_cell_quantized_vector SetVectorCGameSceneNode::m_vecOrigin via m_CBodyComponent → m_pSceneNode
local.scalesproceduralvector SetVectorCGameSceneNode via m_CBodyComponent → m_pSceneNode
ltimefloat32 SetFloatCBaseEntity::m_flLocalTime
max_healthint32 SetIntCBaseEntity::m_iMaxHealth
modelproceduralhmodel SetStringCBaseEntity
ModelScaleproceduralfloat32 SetFloatCGameSceneNode via m_CBodyComponent → m_pSceneNode
MoveTypeuint8 SetIntCBaseEntity::m_MoveType
nextthinktick SetIntCBaseEntity::m_nNextThinkTick
nodamageforcesproceduralint32 SetIntCBaseEntity
originproceduralvector SetVectorCBaseEntity
ownerehandle SetStringCBaseEntity::m_hOwnerEntity
ownernameproceduralutlstring SetStringCBaseEntity
parentAttachmentNameutlstringtoken SetStringTokenCGameSceneNode::m_hierarchyAttachName via m_CBodyComponent → m_pSceneNode
parentnameproceduralehandle SetStringCGameSceneNode via m_CBodyComponent → m_pSceneNode
platform_typeuint8 SetIntCBaseEntity::m_nPlatformType
positionInLocalSpaceproceduralboolean SetBoolCGameSceneNode via m_CBodyComponent → m_pSceneNode
ResponseContextstring SetStringCBaseEntity::m_iszResponseContext
scaleproceduralfloat32 SetFloatCGameSceneNode via m_CBodyComponent → m_pSceneNode
scalesproceduralvector SetVectorCGameSceneNode via m_CBodyComponent → m_pSceneNode
spawnflagsuint32 SetIntCBaseEntity::m_spawnflags
subclass_idutlstringtoken SetStringTokenCBaseEntity::m_nSubclassID
subclass_nameproceduralstring SetStringCBaseEntity
targetstring SetStringCBaseEntity::m_target
TeamNumint32 SetIntCBaseEntity::m_iInitialTeamNum
teamnumberuint8 SetIntCBaseEntity::m_iTeamNum
useLocalOffsetproceduralboolean SetBoolCGameSceneNode via m_CBodyComponent → m_pSceneNode
useParentRenderBoundsproceduralboolean SetBoolCGameSceneNode via m_CBodyComponent → m_pSceneNode
velocitynetwork_quantized_vector SetVectorCBaseEntity::m_vecVelocity
vscriptsstring SetStringCBaseEntity::m_iszPrivateVScripts

Inputs

Declared by CScriptedSequence · 6
BeginSequenceno valueCScriptedSequence
CancelSequenceno valueCScriptedSequence
ForceTargetstringCScriptedSequence
MoveToPositionno valueCScriptedSequence
ScriptPlayerDeathno valueCScriptedSequence
SetActionSequencestringCScriptedSequence
Inherited from base classes and components · 83
AddAttributestringCBaseEntity
AddContextstringCBaseEntity
AddModifierstringCBaseEntity
AddOutputstring pParamCBaseEntity
ChangeSubclassstringCBaseEntity
ChangeTeam
Set the entity team number
int iTeamNumCBaseEntity
ClassMatches
Check the type of an entity. Includes base classes.
string entityType → bool retvalCBaseEntity
ClassNameMatches
Returns true if the entity's class matches the one given (no wildcard support)
string pClassName → bool retvalCBaseEntity
ClearContextno valueCBaseEntity
ClearParentno valueCBaseEntity
DisableAutoSleepingno valueCBaseEntity
DisableDamageForcesno valueCBaseEntity
DisablePlatformno valueCBaseEntity
DisableShadowno valueCBaseEntity
DispatchResponsestringCBaseEntity
EnableAutoSleepingno valueCBaseEntity
EnableDamageForcesno valueCBaseEntity
EnablePlatformno valueCBaseEntity
EnableShadowno valueCBaseEntity
FindModelConfigEntity
Returns the model config entity attached to this entity by the specified name
string pConfigEntityName → ehandle retvalCBaseEntity
FireUser1no valueCBaseEntity
FireUser2no valueCBaseEntity
FireUser3no valueCBaseEntity
FireUser4no valueCBaseEntity
FollowEntitystringCBaseEntity
GetAbsAngles
Get the world orientation of this entity.
no value → qangle retvalCBaseEntity
GetAbsOrigin
The entity origin (absolute).
no value → vec3_worldspace retvalCBaseEntity
GetAbsScale
Get the world scale of this entity.
no value → float retvalCBaseEntity
GetAbsTransform
The entity origin transform (absolute).
no value → transform_worldspace retvalCBaseEntity
GetAllChildren
Returns the children in hierarchy.
no value → array<ehandle> retvalCBaseEntity
GetAttachmentAngle
Return the Angle of the entity's attachment.
string pAttachment → qangle retvalCBaseEntity
GetAttachmentForward
Return the forward vector for the attachment
string pAttachment → vec3 retvalCBaseEntity
GetAttachmentLeft
Return the left vector for the attachment
string pAttachment → vec3 retvalCBaseEntity
GetAttachmentOrigin
Return the absolute position of the entity's attachment.
string pAttachment → vec3_worldspace retvalCBaseEntity
GetAttachmentUp
Return the up vector for the attachment
string pAttachment → vec3 retvalCBaseEntity
GetClassName
The entity class name
no value → string retvalCBaseEntity
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 retvalCBaseEntity
GetEyePosition
The entity eye position.
no value → vec3_worldspace retvalCBaseEntity
GetForward
The forward vector of the entity.
no value → vec3 retvalCBaseEntity
GetGravityDirection
The current gravity direction for the entity.
no value → vec3 retvalCBaseEntity
GetLeft
The left vector of the entity.
no value → vec3 retvalCBaseEntity
GetLocalAngles
Get the local orientation of this entity.
no value → qangle retvalCBaseEntity
GetLocalOrigin
The entity origin (local). Use when you have a parent.
no value → vec3 retvalCBaseEntity
GetLocalScale
Get the local scale of this entity.
no value → float retvalCBaseEntity
GetLocalTransform
The entity origin transform (local). Use when you have a parent.
no value → transform retvalCBaseEntity
GetMoveParent
Get the entity's move parent (may not be the top level movement entity).
no value → ehandle retvalCBaseEntity
GetName
Get the name of the entity.
no value → entity_name retvalCBaseEntity
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 retvalCBaseEntity
GetTeamNumber
The entity team number
no value → int retvalCBaseEntity
GetUp
The up vector of the entity.
no value → vec3 retvalCBaseEntity
GetVelocity
The linear velocity for the entity.
no value → vec3 retvalCBaseEntity
GetWorldSpaceCenter
The entity worldspace center.
no value → vec3_worldspace retvalCBaseEntity
IsModel
Returns true if the entity is using the given model, false otherwise
string strModel → bool retvalCBaseEntity
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 retvalCBaseEntity
Killno valueCBaseEntity
KillConstrainedno valueCBaseEntity
KillHierarchyno valueCBaseEntity
NameMatches
Returns true if the entity name matches the given string. Wildcards are accepted.
string pNameOrWildcard → bool retvalCBaseEntity
PlatformFollowYawno valueCBaseEntity
PlatformIgnoreYawno valueCBaseEntity
RemoveAttributestringCBaseEntity
RemoveContextstringCBaseEntity
RemoveModifierstringCBaseEntity
SetAbsAngles
Set the world orientation of this entity.
qangle anglesCBaseEntity
SetAbsOrigin
Set the world origin of this entity.
vec3_worldspace vPosCBaseEntity
SetAbsScale
Set the world scale of this entity.
float flScaleCBaseEntity
SetDamageFilterstringCBaseEntity
SetKinematicbool bKinematicCBaseEntity
SetLocalAngles
Set the local orientation of this entity. Use when you have a parent.
qangle anglesCBaseEntity
SetLocalOrigin
Set the local origin of this entity. Use when you have a parent.
vec3 vPosCBaseEntity
SetLocalScale
Set the local scale of this entity. Use when you have a parent.
float flScaleCBaseEntity
SetParent
Set the parent of this entity.
ehandle pNewParentCBaseEntity
SetParentAttachmentstringCBaseEntity
SetParentAttachmentMaintainOffsetstringCBaseEntity
SetParentMaintainOffset
Set the parent of this entity and maintain offsets.
ehandle pNewParent, string sAttachBoneNameCBaseEntity
SetParentWithOffset
Set the parent of this entity (with offset).
ehandle pNewParent, string sAttachBoneName, transform xAttachOffsetCBaseEntity
SetScalefloat flValueCBaseEntity
SetTeamintCBaseEntity
TeamNumintCBaseEntity
TeleportToPoint
Teleport the given entity to the specified position and orientation
vec3_worldspace vPositionCBaseEntity
TeleportToTransform
Teleport the given entity to the specified transform
transform_worldspace xTransformCBaseEntity
UseintCBaseEntity
WasThrownByPlayer
Returns true if the entity was recently thrown by the player
no value → bool retvalCBaseEntity

Outputs

Declared by CScriptedSequence · 14
OnActionStartOrLoopCScriptedSequence
OnBeginSequenceCScriptedSequence
OnCancelFailedSequenceCScriptedSequence
OnCancelSequenceCScriptedSequence
OnEndSequenceCScriptedSequence
OnPostIdleEndSequenceCScriptedSequence
OnScriptEvent01CScriptedSequence
OnScriptEvent02CScriptedSequence
OnScriptEvent03CScriptedSequence
OnScriptEvent04CScriptedSequence
OnScriptEvent05CScriptedSequence
OnScriptEvent06CScriptedSequence
OnScriptEvent07CScriptedSequence
OnScriptEvent08CScriptedSequence
Inherited from base classes and components · 5
OnKilledCBaseEntity
OnUser1CBaseEntity
OnUser2CBaseEntity
OnUser3CBaseEntity
OnUser4CBaseEntity

History

  1. 6722
    changed CScriptedSequence datamap
    • − m_bIsPlayingEntry
    • − m_bIsPlayingPreIdle
    • − m_bIsPlayingAction
    • − m_bIsPlayingPostIdle
    • − m_nNotReadySequenceCount
    • − m_startTime
    • − m_bWaitForBeginSequence
    • − m_saved_effects
    • − m_savedFlags
    • − m_savedCollisionGroup
    • − m_bInterruptable
    • − m_sequenceStarted
    changed CBaseEntity datamap
    • − m_sUniqueHammerID
    • − m_pModifierProp
    • − key speed (m_flSpeed)
    • − m_flAnimTime
    • − m_flSimulationTime
    • − m_flCreateTime
    • − m_nLastThinkTick
    • − m_bDisabledContextThinks
    • − m_CScriptComponent
    • − m_aThinkFunctions
    • − m_ResponseContexts
    • − m_pSubclassVData
    added CBodyComponent datamap
    changed CGameSceneNode datamap
    • − m_flAbsScale
    • − m_flScale
    • − m_flClientLocalScale
    • − m_vRenderOrigin
    • − m_nodeToWorld
    • − m_pOwner
    • − m_pParent
    • − m_pChild
    • − m_pNextSibling
    • − m_nParentAttachmentOrBone
    • − m_bDirtyHierarchy
    • − m_bDirtyBoneMergeInfo
    added CScriptedSequence inputs and outputs
    changed CBaseEntity inputs and outputs
    • + input AddAttribute string
    • + input AddContext string
    • + input AddModifier string
    • + input AddOutput string pParam
    • + input ChangeSubclass string
    • + input ClassMatches string entityType
    • + input ClearContext
    • + input ClearParent
    • + input DisableAutoSleeping
    • + input DisableDamageForces
    • + input DisablePlatform
    • + input DisableShadow