The Dink Network

twitchie's Profile

Love to play Dink. Love football, hunting, fishing, computers . . . and Dink, of course!

E-Mail mr.snider@gmail.com
Private Message

2002-11-01 14:34:16
pq_skard.gif
: : : : I know this is really, really basic, but I am having trouble getting a sprite to talk.  I am using WinDinkEdit.  The sprite is a tree.  It has no brain.  I am using CEdit to write scripts.  Here is what I wrote:

: : : : say("I am glad you are here, Dink", 1);

: : : : I also tried:

: : : : void say("I am glad you are here, Dink", 1);

: : : : Using WDE, I attached this script (called test.c) to the tree.  However, it doesn't make the tree speak.  I know this is basic, but I need some help.  Also, how do I add graphics?  I want to add like a hole in the mountain side for Dink to crawl thru.  The hole is not inthe sprite inventory of WDE.  How do I get WDE to recognize the hole so I can add it?  Thanx!

: : : why dont you write:

: : : void talk(void)

: : : {

: : : say("I am glad you are here, Dink", 1);

: : : }

: : Wow, I guess 2 years out of college and away from C++ has really degraded my knowledge.  I wasn't even calling the prodedure ot using the brackets.  Wow.  It worked, but Dink said it when talking to the tree.  I assigned it to the tree.  How can I get the tree to say it and not Dink?  Dink says it and it stays with him as he walks away from the tree.

: Ok, this is coming from someone who's still fumbling through her first real dmod, so don't trust it...

: But I think what you want to do is attatch something like this to the tree:

: void talk(void)

: {

: say("I am glad you are here, Dink.", &current_sprite);

: }

: So the tree should say it, not Dink. I hope.

You git it. That did the trick. Thanx!!

twitchie has written 4 reviews

TitleFileTypeScoreDate
I Am One of the People This Type of File is Designed For Rudiments of Scripting (The)NormalExceptional 9.0November 6th, 2002
Pop has the Makings of a Great Quest Or Epic if the Builder Wants To Build on it Pirates of PortownNormalGood 8.6October 24th, 2002
This is the Best Dmod I've Played Dinky Dimensions 1: FIATNormalExceptional 9.5February 28th, 2002
Overall Secret of ParizayaNormalFair 6.7December 7th, 2001