Difference between revisions of "COMBAT CHANNEL"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "<onlyinclude>{{#vardefine:COMBAT_CHANNEL|{{LSL Const|COMBAT_CHANNEL|integer|hex=0x7FFFFFFE|ihex=2147483646|c=Chat channel reserved for combat logging events.}}}}</onlyinclude>...")
 
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
|hvalue=0x7FFFFFFE
|hvalue=0x7FFFFFFE
|value=2147483646
|value=2147483646
|desc=A channel reserved for combat related log events broadcast to the entire region.
|desc=A channel reserved for [[Combat Log|combat related log events]] broadcast to the entire region.
 
System generated messages to this channel will be from [[COMBAT_LOG_ID]].
 
If the region settings allow for it (see [[llGetEnv|"restrict_combat_log"]]), then scripts may write into this channel as well.
|examples
|examples
|comment={{#var:comment}}
|comment={{#var:comment}}
|constants=
|constants=
{{LSL ConstRow|COMBAT_LOG_ID}}
{{LSL ConstRow|PUBLIC_CHANNEL}}
{{LSL ConstRow|PUBLIC_CHANNEL}}
{{LSL ConstRow|DEBUG_CHANNEL}}
{{LSL ConstRow|DEBUG_CHANNEL}}
Line 15: Line 20:
{{LSL DefineRow||[[llShout]]|}}
{{LSL DefineRow||[[llShout]]|}}
{{LSL DefineRow||[[llRegionSay]]|}}
{{LSL DefineRow||[[llRegionSay]]|}}
{{LSL DefineRow||[[llRegionSayTo]]|}}
{{LSL DefineRow||[[llListen]]|}}
|events=
|events=
{{LSL DefineRow||[[listen]]|}}
{{LSL DefineRow||[[listen]]|}}
|articles=
{{LSL DefineRow||[[Combat Log]]|}}
{{LSL DefineRow||[[:Category:LSL_Combat2|Combat2]]|}}
|helpers=
|helpers=
|location
|location
|cat1=Chat
|cat1=Chat
|cat2=Combat2
|cat2=Combat2
|cat3
|cat4
}}
}}

Latest revision as of 02:00, 15 August 2024

Description

Constant: integer COMBAT_CHANNEL = 0x7FFFFFFE;

The integer constant COMBAT_CHANNEL has the value 0x7FFFFFFE

A channel reserved for combat related log events broadcast to the entire region.

System generated messages to this channel will be from COMBAT_LOG_ID.

If the region settings allow for it (see "restrict_combat_log"), then scripts may write into this channel as well.

Caveats


Related Articles

Constants

•  COMBAT_LOG_ID
•  PUBLIC_CHANNEL
•  DEBUG_CHANNEL

Functions

•  llWhisper
•  llSay
•  llShout
•  llRegionSay
•  llRegionSayTo
•  llListen

Events

•  listen

Articles

•  Combat Log
•  Combat2

Deep Notes

Search JIRA for related Issues

Signature

integer COMBAT_CHANNEL = 0x7FFFFFFE;//Chat channel reserved for combat logging events.