ViewerEffect

From Second Life Wiki
Jump to navigation Jump to search

Message Layout

ViewerEffect Medium 17 NotTrusted Zerocoded
{
	AgentData		Single
	{	AgentID		LLUUID	}
	{	SessionID	LLUUID	}
}
{
	Effect Variable
	{	ID			LLUUID	} // unique UUID of the effect
	{	AgentID		LLUUID	} // yes, pack AgentID again (note this block is variable)
	{	Type		U8	} // Type of the effect
	{	Duration	F32	} // F32 time (seconds)
	{	Color		Fixed		4	} // Color4U
	{	TypeData	Variable	1	} // Type specific data
}

Usage and Notes

Viewer side effect that's sent from one viewer, and broadcast to other agents nearby (selection beams, PointAt, LookAt).

viewer-->sim (single effect created by viewer)

sim-->viewer (multiple effects that can be seen by viewer)

The AgentData block is used for authentication for viewer-->sim messages