Prop phone

From Valve Developer Community
Jump to: navigation, search
List of SE1 entities
Prop phone.png

This is a point entity available in SiN Episodes SiN Episodes. It is a telephone booth with a built-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 (targetname) <string>
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

Disabled ([todo internal name (i)]) <integer>
Should the phone be disabled?
FailSound ([todo internal name (i)]) <string>
Sound played when bad phone number is entered. (recommended: common/warning.wav)
KeypadName ([todo internal name (i)]) <string>
VGUI interface name. (default: prop_keypad)
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) <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.

Inputs

DialNumber
Dial a phone number.
Enable
Enable the phone.
Disable
Disable the phone.
Note.pngNote: Disabling or killing the entity does not stop the sound of a dialed phonenumber currently playing.

Outputs

OnUse
Fires when the Use input is given.