Being as I am not actually a programmer, that didn't make one bit of sense to me.
-- Straight up documentation rarely does because I have No Frame of Reference for comprehending what I'm looking at.
Eventually, with the help of Camille's amazing tutorial which has a really cool, if somewhat complicated, way of doing one, I finally figured out a simple way of making a CTC blinkie icon.
All it takes is two separate bits of code and an Image.
An Arrow image like this is pretty common: But you can literally use any sort of PNG graphic at all, such as this one: However, I suggest saving the larger icons for Stationary CTCs, because the Text line will stretch to fit the icon's Height. If the icon is taller than the text, it will make a Gap between the last line of text and the one above it.
Next, you need an ATL transformation code to make it blink.
Text line icon.
-- Note: This code is meant for a 1024x768 game!
Code: Select all
init -2:
# ---------- CTC blinking arrow -------------------
image ctc_blink:
xpos 1020 ypos 763 # This actually doesn't matter, but it doesn't work right without it. Go figure...?
alpha 1.0 # visible
"arrow.png"
0.75
alpha 0.0 # invisible
0.75
repeat
-- Note: This code is meant for a 1024x768 game!
Code: Select all
init -2:
# ---------- CTC blinking arrow -------------------
image ctc_anchored:
xpos 0.93 # Across from right
ypos 0.87 # Up from bottom
xanchor 1.0 # On Right
yanchor 1.0 # On Bottom
alpha 1.0 # visible
"arrow.png"
0.75
alpha 0.0 # invisible
0.75
repeat
Okay! Next you need to make it appear in the textbox.
That takes the second bit of code which needs to be added to EACH of the characters' definitions.
-- The CTC arrow will NOT appear unless the character speaking has ctc="ctc_blink" added to their definition.
Code: Select all
define gi = Character('Giselle',
color="#6699cc",
show_two_window = True,
ctc="ctc_blink",)
It looks like this at the end of the text. Declaring a Stationary or Anchored CTC is a little different:
Code: Select all
define narrator = Character(None,
what_color= "#663300",
ctc="ctc_anchored",
ctc_position="fixed",)