SetTalkDistance

From Spheriki

Jump to: navigation, search

Set distance to check for talk script activation.

Usage

SetTalkDistance(pixels)
  • pixels Number. The number of pixels away from the Entity the Input can be to activate the Talk Script.

Examples

function Talk()
{
SetTalkDistance(10);
}

This sets the Talk Distance to 10 pixels.

See also

Personal tools