Skip to main content

info_hostage_spawn

Point Entity

Hostage. A hostage NPC will spawn at this point.

There are usually four hostages placed in each hostage rescue map. The model for each Hostage is randomly chosen.

Keyvalues

  • Pitch Yaw Roll (Y Z X) (angles) <Angle>
    This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

  • Entity Scripts (vscripts) <ScriptList>
    Name(s) of script files that are executed after all entities have spawned.

  • Name (targetname) <TargetSource>
    The name that other entities refer to this entity by.

  • Hostage Model (int) (HostageType) <Choices>
    Not used. Hostage models are chosen randomly by the game.

    • A
    • B
    • C
    • D
  • Hostage Spawn Random Factor (int) (HostageSpawnRandomFactor) <Integer>
    Allows to increase probability of this hostage being picked during random spawn selection process, essentially considering this spawn point specified number of times.

  • Hostage Spawn Exclusion Group 1 (HostageSpawnExclusionGroup1) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 2 (HostageSpawnExclusionGroup2) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 3 (HostageSpawnExclusionGroup3) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 4 (HostageSpawnExclusionGroup4) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 5 (HostageSpawnExclusionGroup5) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 6 (HostageSpawnExclusionGroup6) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 7 (HostageSpawnExclusionGroup7) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 8 (HostageSpawnExclusionGroup8) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 9 (HostageSpawnExclusionGroup9) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 10 (HostageSpawnExclusionGroup10) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 11 (HostageSpawnExclusionGroup11) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 12 (HostageSpawnExclusionGroup12) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 13 (HostageSpawnExclusionGroup13) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 14 (HostageSpawnExclusionGroup14) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 15 (HostageSpawnExclusionGroup15) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 16 (HostageSpawnExclusionGroup16) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 17 (HostageSpawnExclusionGroup17) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 18 (HostageSpawnExclusionGroup18) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 19 (HostageSpawnExclusionGroup19) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 20 (HostageSpawnExclusionGroup20) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 21 (HostageSpawnExclusionGroup21) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 22 (HostageSpawnExclusionGroup22) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 23 (HostageSpawnExclusionGroup23) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 24 (HostageSpawnExclusionGroup24) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 25 (HostageSpawnExclusionGroup25) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 26 (HostageSpawnExclusionGroup26) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 27 (HostageSpawnExclusionGroup27) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 28 (HostageSpawnExclusionGroup28) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 29 (HostageSpawnExclusionGroup29) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together
  • Hostage Spawn Exclusion Group 30 (HostageSpawnExclusionGroup30) <Choices>
    Hostages sharing same spawn exclusion group will never spawn together.

    • n/a
    • Do not spawn together

Inputs

  • RunScriptFile <String>
    Load and execute a script file

  • RunScriptCode <String>
    Execute a fragment of script code

  • CallScriptFunction <String>
    Call a script function

  • CallPrivateScriptFunction <String>
    Calls a script function from this entity's private script scope.

  • CallGlobalScriptFunction <String>
    Calls a script function in the global script scope.

  • Kill <Void>
    Removes this entity from the world.

  • KillHierarchy <Void>
    Removes this entity and all its children from the world.

  • KillConstrained <Void>
    Removes this entity, all its children, and anything constrained to it, from the world.

  • AddOutput <String>
    Adds an entity I/O connection to this entity. Parameter format: outputname>targetname>inputname>parameter>delay>max times to fire (-1 == infinite). Very dangerous, use with care.

  • FireUser1 <Void>
    Causes this entity's OnUser1 output to be fired.

  • FireUser2 <Void>
    Causes this entity's OnUser2 output to be fired.

  • FireUser3 <Void>
    Causes this entity's OnUser3 output to be fired.

  • FireUser4 <Void>
    Causes this entity's OnUser4 output to be fired.

Outputs

  • OnUser1 <Void>
    Fired in response to FireUser1 input.

  • OnUser2 <Void>
    Fired in response to FireUser2 input.

  • OnUser3 <Void>
    Fired in response to FireUser3 input.

  • OnUser4 <Void>
    Fired in response to FireUser4 input.

  • OnKilled <Void>
    Fired when the entity is killed and removed from the game. Parameter is the inflictor.

  • OnHostageBeginGrab <Void>
    Fires when a player starts to use a hostage

  • OnFirstPickedUp <Void>
    Fires when the hostage is first picked up

  • OnDroppedNotRescued <Void>
    Fires when the hostage is dropped, but not rescued

  • OnRescued <Void>
    Fires when the hostage is rescued