The GetEventDescription method is in use for receiving the object description on free language.

Syntax of method invocation:

function  GetEventDescription (obj_type : String, event : String)

Method arguments:

  1. obj_type – required argument. Specifies type of system object description of which is required to get.
  2. event – required argument. Specifies the name of object description of which is required to get.

Example. Display messages about receiving of events for camera 1 on the free language in the Debug window.

if (Event.SourceType == "CAM"&& Event.SourceId == "1")
{
	var str = GetEventDescription("CAM", Event.Action);
	DebugLogString(str);
}