The Dink Network

adding script to a screen

May 11th 2011, 03:27 PM
duckdie.gif
welovefudge
Peasant He/Him Russia
I hope life isn’t a joke, because I don’t get it. 
how do i do that?
May 11th 2011, 03:29 PM
dinkdead.gif
In WinDinkEdit, right-click the screen and go to Properties.
In DinkEdit, I've no idea
May 11th 2011, 03:32 PM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
In DinkEdit press shift and 5, I believe.
May 11th 2011, 03:34 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
That's for sprites. For the screen, press 'b'. Presumably, it means "base script", or something.
May 11th 2011, 03:35 PM
duckdie.gif
welovefudge
Peasant He/Him Russia
I hope life isn’t a joke, because I don’t get it. 
i did that and wrote the extension
but its not running
May 11th 2011, 03:36 PM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
Don't put the extension.
May 11th 2011, 03:37 PM
dinkdead.gif
Don't put the extension!

Make a simple test script just to see if you've attached it correctly maybe.

Example:
void main (void)
{
    say_stop("Hellooo Wooooorld!!", 1);
    say_stop("Yay it works!", 1);
}
May 11th 2011, 03:43 PM
duckdie.gif
welovefudge
Peasant He/Him Russia
I hope life isn’t a joke, because I don’t get it. 
ok i need the full procedure

what i do is that i right click and select properties and write the name of the c file

and its not working
May 11th 2011, 03:46 PM
spike.gif
Is the script named correctly? You could have named it as "thing.c.txt" by accident, or something.

Recap: The script should be called "thing.c", and the base script of the screen should be called "thing".
May 11th 2011, 03:49 PM
duckdie.gif
welovefudge
Peasant He/Him Russia
I hope life isn’t a joke, because I don’t get it. 
it is "thing.c"
and the basescript is thing
and i copied sparrow's script
May 11th 2011, 03:51 PM
spike.gif
And it works?
May 11th 2011, 03:52 PM
dinkdead.gif
Right click on blank tiles (not a sprite). One.

Put script name where it says, without the .c. Two.

Walk onto the screen.
May 11th 2011, 03:52 PM
custom_skull.gif
Skull
Peasant He/Him Finland bloop
A Disembodied Sod 
Remove the ".c" from the end of the script's name in WinDinkEdit.
May 11th 2011, 03:55 PM
duckdie.gif
welovefudge
Peasant He/Him Russia
I hope life isn’t a joke, because I don’t get it. 
oh its working now
i guess i named it "thing..c"
XD
sorry for the trouble gentlemen
May 11th 2011, 03:56 PM
wizardb.gif
Mrgantoe
Peasant He/Him Cuba
I'm simply a distraction. 
Were is robj when this happens.
May 11th 2011, 06:22 PM
duckdie.gif
welovefudge
Peasant He/Him Russia
I hope life isn’t a joke, because I don’t get it. 
making another tut