Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| guide:communication [2025/04/24 09:18] – [OnCommunicate] Fix wiki formatting ulde3 | guide:communication [2025/11/05 16:45] (current) – [Sending and receiving external SHIORI Events] Fix broken syntax ulde3 | ||
|---|---|---|---|
| Line 58: | Line 58: | ||
| === Target === | === Target === | ||
| - | raiseother and notifyother tags can either send their events to specific targets, or they may use '' | + | raiseother and notifyother tags can either send their events to specific targets, or they may use '' |
| - | For example, if your ghost has a music player function and you want other ghosts to be able to tell what song is playing, it's probably best to send that information to every open ghost at once with '' | + | For example, if your ghost has a music player function and you want other ghosts to be able to tell what song is playing, it's probably best to send that information to every open ghost at once with '' |
| On the other hand, for a function like [[ghost: | On the other hand, for a function like [[ghost: | ||
| Line 179: | Line 179: | ||
| How OnCommunicate is initiated depends on the SHIORI. | How OnCommunicate is initiated depends on the SHIORI. | ||
| - | * In AYA and YAYA, communication can sent by specifying the sakura name of the target ghost in the variable '' | + | === AYA / YAYA === |
| - | * In Satori, communication can be sent by specifying the sakura name of the target ghost with Value0. Example: '' | + | In AYA and YAYA, communication can sent by specifying the sakura name of the target ghost in the variable '' |
| - | * More information about how to initiate communication in Kawari can be found [[https:// | + | |
| - | * In Aosora, it is not currently possible to send scripts to other ghosts via OnCommunicate. | + | |
| + | res_reference0 = " | ||
| + | |||
| + | === Satori === | ||
| + | In Satori, communication can be sent by specifying the sakura name of the target ghost with Value0. | ||
| + | |||
| + | $Value0【タブ】Someone | ||
| + | |||
| + | === Kawari === | ||
| + | More information about how to initiate communication in Kawari can be found [[https:// | ||
| + | |||
| + | === Aosora === | ||
| + | In Aosora, communication can be sent by specifying the sakura name of the target ghost in Shiori.ResponseReference. | ||
| + | |||
| + | Shiori.ResponseReference.Add(" | ||
| + | |||
| + | === Misaka === | ||
| + | In Misaka, communication can be sent by specifying the sakura name of the target ghost in the variable '' | ||
| + | |||
| + | {$to=Someone} | ||
| + | |||
| + | Note that Misaka has special setup for ghost communication. Communication from other ghosts is received with the event '' | ||
| + | |||
| + | === Usage example === | ||
| A back and forth conversation between two ghosts using the OnCommunicate method could look like this. This example assumes both ghosts are written in YAYA: | A back and forth conversation between two ghosts using the OnCommunicate method could look like this. This example assumes both ghosts are written in YAYA: | ||