SetPlrViewRange

Category: Player / View
Since engine version: 5.1 OC

Description

Sets the view distance of the object.

Syntax

void SetPlrViewRange(int range);

Parameter

range:
View distance in pixels.

Remark

Due to the fuzzyness of the fog of war this will only be an approximation.

Example

func ControlUse(object clonk)
{
	clonk->SetPlrViewRange(0);
	Sound("Scream");
	return true;
}
Confused the acid phile with the eye drops, did ya?
See also: SetFoW, SetPlrView
wipfmetz, 2002-08