Two characters in one?

Started by Dr Lecter, Tue 29/08/2006 00:22:34

Previous topic - Next topic

Dr Lecter

I was watching South Park eariler, and I was thinking, what if you wanted to create a character that was basically a composite character, such as Mr. Garrison and Mr Hat. I've been trying to think of a way to impliment such a character, but short of changing their talking views before every line they say, or having one character also follow the other gets abit messy, is there any other way to do it?

Khris

There's no other way, I'm afraid.
To keep the code clean, use a function like this:
function MrHatSay(String text) {
Ã,  cGarrison.SpeechView=x;
Ã,  cGarrison.Say(text);
Ã,  cGarrison.SpeechView=y;
}
Then you can at least use
cGarrison.Say("bla");
MrHatSay("bla");
...


Unfortunately, there's no similiar shortcut for dialog scripts, you'd have to use run-script, although you could use a second character if Garrison isn't going to move during the dialog.

fovmester

Interesting concept. Two characters in one. It kinda feels familiar, though. Wasn't there siamese twins in some old adventure game?

strazer

In Sam & Max at the carnival.

Gilbert

Or the 3-headed monkey buddy player character near the end of DOTT.

fovmester

Gee, I really need to play those games again. I've started to forget their greatness!

Time to dig up those old game boxes!

SMF spam blocked by CleanTalk