Post a custom message to the Action Log with optional actor context and metadata.
Convenience wrapper around addActionLogEntry() that derives actor/target names
from Actor Documents and builds the partial entry object.
Spec fields:
type string — entry type; one of "damage", "restore", "check", "rest",
"chat", "cardDraw", "shuffle", or "negate" (default: "chat")
actor BodyMindSoulActor | null — optional Actor Document; if provided
and actorName is not explicitly given, derives actorName from
.name
targetActor BodyMindSoulActor | null — optional target Actor Document; if
provided and targetName is not explicitly given, derives
targetName from .name
actorName string | null — optional explicit override for actor name; takes
precedence over actor.name when both are given
targetName string | null — optional explicit override for target name; takes
precedence over targetActor.name when both are given
visibility string — "public" (all users), "gm" (GM only), or "self"
(GM + ownerId user) (default: "public")
ownerId string | null — ID of the user who can see "self" visibility
entries (default: null)
rollTotal number | null — optional total roll value to record (default: null)
Post a custom message to the Action Log with optional actor context and metadata. Convenience wrapper around
addActionLogEntry()that derives actor/target names from Actor Documents and builds the partial entry object.Spec fields: type string — entry type; one of "damage", "restore", "check", "rest", "chat", "cardDraw", "shuffle", or "negate" (default: "chat") actor BodyMindSoulActor | null — optional Actor Document; if provided and
actorNameis not explicitly given, derivesactorNamefrom.nametargetActor BodyMindSoulActor | null — optional target Actor Document; if provided andtargetNameis not explicitly given, derivestargetNamefrom.nameactorName string | null — optional explicit override for actor name; takes precedence overactor.namewhen both are given targetName string | null — optional explicit override for target name; takes precedence overtargetActor.namewhen both are given visibility string — "public" (all users), "gm" (GM only), or "self" (GM + ownerId user) (default: "public") ownerId string | null — ID of the user who can see "self" visibility entries (default: null) rollTotal number | null — optional total roll value to record (default: null)