swiftlys2/docs/api/releases/features/ai/

Entity Data

versions
Counter-Strike 2›CInstancedSceneEntity
designer name: instanced_scripted_scene
Members (3)
scene_owner:custom
remove_on_completion:boolean
target:custom
Inputs (8)
EstimateLength() -> float
raw: EstimateLength
Returns length of this scene in seconds.
IsPlayingBack() -> boolean
raw: IsPlayingBack
If this scene is currently playing.
IsPaused() -> boolean
raw: IsPaused
If this scene is currently paused.
Start(hscript) -> void
raw: ScriptStartPlayback
Start scene playback, takes activatorEntity as param
Cancel() -> void
raw: ScriptCancelPlayback
Cancel scene playback
AddBroadcastTeamTarget(int) -> void
raw: AddBroadcastTeamTarget
Adds a team (by index) to the broadcast list
RemoveBroadcastTeamTarget(int) -> void
raw: RemoveBroadcastTeamTarget
Removes a team (by index) from the broadcast list
FindNamedEntity(cstring) -> hscript
raw: ScriptFindNamedEntity
given an entity reference, such as !target, get actual entity from scene object