The Dink Network

Re: say_stop("Epiphany");

August 9th 2014, 09:44 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Has anyone else thought it is kind of odd that we have to set the text color every-single-time on every say or say_stop string? Wouldn't this make more sense:

sp_text_color(&current_sprite, 4);

say("I don't have to specify the color!", &current_sprite);
August 10th 2014, 12:44 AM
custom_coco.gif
CocoMonkey
Bard He/Him United States
Please Cindy, say the whole name each time. 
That would be nice, yes.
August 10th 2014, 02:17 AM
dinkdead.gif
Wow.

Shevek! Phoenix! You reading this?
August 10th 2014, 04:13 AM
knights.gif
DinkKiller
Peasant He/Him United States
The world could always use more heroes 
This would be so damn helpful. Maybe this is exactly what I would need to get working on my D-mod again!
August 10th 2014, 04:21 AM
goblins.gif
Oh yes, that would be awesome!
August 10th 2014, 04:21 AM
peasantmp.gif
Spinnerweb
Peasant She/Her Australia rumble
(?・ω・`) 
Now that's an epiphany
August 10th 2014, 04:31 AM
custom_marpro.png
Marpro
Peasant He/Him bloop
 
That would limit the risk of using different colors from the same sprite during a dialogue... Might not be a common problem- but still...
August 10th 2014, 06:35 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
It's one of the reasons I wrote the DinkC_Talk Python script.

You could fake it with:

void main( void )
{
  int &col = 5;
  // Set a property which we can use in other scripts.
  sp_custom("text_colour",&current_sprite,&col);
}

void talk( void )
{
  say("`&col Hello!");
}


Alas, this only works for colour values 0 to 9, because it only reads a single character after ` (but only *after* expanding variables).

And it's actually more of a hassle, but at least it avoids any "oops wrong text colour"-mistakes.

Long story short, that would make sense.
August 10th 2014, 08:47 PM
pq_knight.gif
ExDeathEvn
Peasant He/Him New Zealand rumble
"Skinny Legend" 
I can see such a simple change being quite helpful for some, but from a personal standpoint I've gotten so used to `#'ing most say_stop lines that I don't have much trouble with it at all, particularly since I keep backtracking to review whatever I script together like a perfectionist.

Seems like a good idea though; Is this epiphany being turned into reality as we speak?