Scripting: Difference between revisions

1,088 bytes added ,  15 May 2023
m
Added information about how to make characters talk and chat messages appear.
(For loops/Delay)
m (Added information about how to make characters talk and chat messages appear.)
Line 37: Line 37:


= Script commands =
= Script commands =
== Communication ==
There is some ways to have your SPC talk, those interacting with you talk, display grey chat, and display big title messages.
{{HeaderNoTOC|SPC Talking}}
<code>-</code> followed by something you want your scripted character to say will make it talk.
<code>- Hello there!</code> will make your SPC say "Hello There!" in chat.
{{HeaderNoTOC|Interactor Talking}}
<code>+</code> followed by something you want someone interacting with you to say.
<code>+ Hi there!</code> will make someone interacting with your SPC say "Hi there!"
{{HeaderNoTOC|Grey Text}}
<code>_</code> followed by something you want in chat to appear in grey color.(People see this if they are interacting with you)
<code>_ Something spooky happens.</code> will make "Something spooky happens." appear and be grey in chat.
{{HeaderNoTOC|Big Title Text}}
<code>^</code> followed by something you want to see in big title letters.(People see this if they are interacting with you)
<code>^ Super Epic Title</code> will make "Super Epic Title" appear in giant title text in the center of the screen.


== Movement ==
== Movement ==
62

edits