Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page The GetUserId method  The GetObjectIdByParam method Next page


The GetEventDescription method is used to get a description of an event in natural language.

Syntax for method invocation:

function  GetEventDescription (obj_type : String, event : String)

Method arguments:

  1. obj_type is a required argument. It specifies the type of system object, the description of which you want to get.
  2. event is a required argument. It specifies the name of the event, the name of which you want to get.

Example. When receiving events from camera 1, display messages about them in natural language in the debug window.

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