Env credits: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(raw; needs cleanup)
 
(semi-automated cleanup)
Line 1: Line 1:
{{cleanup}}
{{wrongtitle|title=env_credits}}
env_credits


==Entity Description==
An entity to control the rolling credits.
An entity to control the rolling credits.


KEYS
==Availability==
{{in game|point}} {{game-base}}
{{in code|class=CCredits|file=EnvMessage.cpp}}


Name targetname <target_source> The name that other entities refer to this entity by.
==Keyvalues==
*{{kv Targetname}}


==Inputs==
*{{i Targetname}}
*'''RollCredits'''
:Start the intro credits rolling.
*'''RollOutroCredits'''
:Start the outro credits rolling.
*'''ShowLogo'''
:Show the HL2 logo.


INPUTS
==Outputs==
*{{o Targetname}}
*'''OnCreditsDone'''
:Fired when the credits having finished rolling.


Kill Removes this entity from the world.
[[Category:Entities]]
 
KillHierarchy Removes this entity and all its children from the world.
 
AddOutput <string> Adds an entity I/O connection to this entity. Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>. Very dangerous, use with care.
 
FireUser1 Causes this entity's OnUser1 output to be fired.
 
FireUser2 Causes this entity's OnUser2 output to be fired.
 
FireUser3 Causes this entity's OnUser3 output to be fired.
 
FireUser4 Causes this entity's OnUser4 output to be fired.
 
RollCredits Start the intro credits rolling.
 
RollOutroCredits Start the outro credits rolling.
 
ShowLogo Show the HL2 logo.
 
 
OUTPUTS
 
OnUser1 Fired in response to FireUser1 input.
 
OnUser2 Fired in response to FireUser2 input.
 
OnUser3 Fired in response to FireUser3 input.
 
OnUser4 Fired in response to FireUser4 input.
 
OnCreditsDone Fired when the credits having finished rolling.

Revision as of 20:17, 7 October 2005

Template:Wrongtitle

Entity Description

An entity to control the rolling credits.

Availability

Template:In game Template:Game-base Template:In code

Keyvalues

Inputs

  • RollCredits
Start the intro credits rolling.
  • RollOutroCredits
Start the outro credits rolling.
  • ShowLogo
Show the HL2 logo.

Outputs

  • OnCreditsDone
Fired when the credits having finished rolling.