Env particlescript: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(updates)
(-added class hierarchy, concise page)
Line 1: Line 1:
{{lang|Env particlescript}}
{{lang|Env particlescript}}
{{CD|CEnvParticleScript|file1=env_particlescript.cpp}}
{{base point|env_particlescript}} It has special animation events that can be fired by a model with an animation inside its .[[QC]] designed for use by this entity.
{{base point|env_particlescript}} It has special animation events that can be fired by a model with an animation inside its .[[QC]] designed for use by this entity.
{{code class|CEnvParticleScript|env_particlescript.cpp}}


==Keyvalues==
==Keyvalues==
{{KV BaseAnimating}}
{{KV Targetname}}
{{KV BaseEntity|css=1}}
{{KV|Script Model|intn=model|model|Model to use for animation sequences.}}


==Inputs==
==Inputs==
{{IO|SetSequence|Sets the script model's sequence.|param=string}}
{{IO|SetSequence|Sets the script model's sequence.|param=string}}
{{I BaseAnimating|portal2=1}}
{{I BaseEntity}}
==Outputs==
{{O BaseAnimating|portal2=1}}
{{O BaseEntity|l4d=1}}

Revision as of 00:30, 21 March 2023

English (en)Translate (Translate)
C++ Class hierarchy
CEnvParticleScript
CBaseAnimating
CBaseEntity
C++ env_particlescript.cpp

Template:Base point It has special animation events that can be fired by a model with an animation inside its .QC designed for use by this entity.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Script Model (model) <model path>
Model to use for animation sequences.

Inputs

SetSequence <stringRedirectInput/string>
Sets the script model's sequence.