logic_script_preserved

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

logic_script_preserved is a logical entity available in No More Room in Hell No More Room in Hell.

Entity Description

The logic_script_preserved is a variant of the logic entity logic_script that preserves it's information across round restarts. Take care with what information you apply to this, else things may not work as expected.

KeyValues

Name (targetname) <string>
The name that other entities refer to this entity by.
Entity Scripts (vscripts) <string>
Name(s) of script files that are executed after all entities have spawned.
Script think function (thinkfunction) <string>
Name of a function in this entity's script scope which will be called automatically.
EntityGroup[0] to EntityGroup[15] (Group00 to Group15) <targetname>
Targetnames of entities to make them accessible in Squirrel code.

Flags

Inputs

Kill
Kills the entity.

Outputs

OnUser1 to OnUser4
Fired in response to the FireUser inputs.