Table of Contents

BroadcastAction

Run an registered action, either vanilla or mod provided, on another player.

This is a specialized version of Action meant for niche cases where a particular action only properly works on the host, or if the trinket should effect another player and not the main player.

Args

Property Type Default Notes
Condition string required A game state query, checked on the remote player actually running the action.
PlayerKey string required Players to target, accepts these values:
  • All: run action on all players
  • Host: run action on the host player

*and all arguments of Action

For SMAPI Mods

Unlike Action, BroadcastAction does not provide custom fields provided for modded actions to use.