Prop phone
Jump to navigation
Jump to search
Template:Se1 point It is a telephone booth with a build-in VGUI screen where the player is capable of dialing phone numbers found throughout the world to hear funny, odd and crazy responses from the other end.
Keyvalues
- Name ([todo internal name (i)]) <string>
- The targetname that other entities refer to this entity by.
- FailSound ([todo internal name (i)]) <string>
- Sound played when bad phone number is entered. (recommended: common/warning.wav)
- PhoneBook ([todo internal name (i)]) <string>
- Key-Value file containing phone numbers and sounds. (default: scripts/phonebook.txt)
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- 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.
Inputs
- DialNumber
- Dial a phone number.
- Enable
- Enable the phone.
- Disable
- Disable the phone.

- AddOutput <string >
- Evaluates a keyvalue/output on this entity.
Format:<key> <value>
Format:<output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
- FireUser1 to FireUser4
- Fire the
OnUser
outputs; see User Inputs and Outputs.
- Kill
- Removes this entity and any entities parented to it from the world.
- KillHierarchy
- Functions the same as
Kill
, although this entity and any entities parented to it are killed on the same frame, being marginally faster thanKill
.
Outputs
- OnUse
- Fires when the
Use
input is given.