The Dink Network

argh

December 10th 2004, 01:03 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
When I`m useing this command to make a goblin hit dink, the goblin suddenly disappears

sp_seq(&gob2, 758);
December 10th 2004, 01:26 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Did you preload the sequence first?

preload_seq(758);
December 10th 2004, 01:33 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Nope it didn`t work
December 10th 2004, 02:06 PM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
Are you sure the goblin attack sequences are in that location in your D-Mod?
December 10th 2004, 02:10 PM
goblinm.gif
Wow, I don't understand DinkC at all . What's does sp_pseq do?
December 10th 2004, 03:36 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
sp_seq lets an objects do that sequence,
//example
int &knight = create_sprite("333, 444, 9, 400, 1);
sp_seq(&knight, 453);
After the sprite is created, the knight will do that sequence I gave him.

I know that the values aren`t correct, it was just to show MiloBones
December 10th 2004, 03:42 PM
anon.gif
MiloBones
Ghost They/Them
 
sp_pseq =/= sp_seq
December 10th 2004, 03:43 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Oh sorry I didn`t se that
December 10th 2004, 03:47 PM
anon.gif
MiloBones
Ghost They/Them
 
Yah, I should have capitalized (sp_Pseq) or something...

The *updated* DinkC reference gives:
" ManaUser tried to help me out at one point. Perhaps some of his notes will
help: "If sp_seq() is zero (the default), then the sprite is shown with frame
sp_pframe() of sequence sp_pseq(). If sp_seq() is NOT zero, then the sprite
will be shown with frame sp_frame() of sequence sp_seq(), and sp_frame() will
change [at the currently set sp_frame_delay() number of milliseconds]. ...If
you change [sp_frame()], the picture won't change right away but the *next*
frame shown will be the one following the one you set it to.
I cannot confirm any of this. Neither sp_frame() nor sp_Pframe(), whether
used before or after sp_seq(), had any effect on the animation when I wanted
to make three water fountains (seq 94) animate out of sync. It does work in
mag-star.c, however, so I can't explain it."
December 10th 2004, 03:48 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
anyway sp_pseq is the current picture that being displayed
December 10th 2004, 03:53 PM
anon.gif
MiloBones
Ghost They/Them
 
Paul is rarely wrong on these things, I imagine. Perhaps Ted had the frame delay too short for his (probably human) eyes to be capable of detecting a difference when he was experimenting with the founatains? I oughta try it...
December 11th 2004, 08:50 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
void main( void )
{

int &gob = create_sprite(320, 64, 0, 761, 1);
freeze(1);
move_stop(1, 8, 170, 1);
say_stop("`6You Dink Smallwood?", &gob);
say_stop("Yeah thats me.", 1);
say_stop("`6Letter Kind Daniel", &gob);
say_stop("`6Wait, I show. Just have to find it.", &gob);
say_stop("I can wait.", 1);
int &gob2 = create_sprite(320, 370, 7, 769, 1);
preload_seq(758);
sp_base_attack(&gob2, 750);
sp_base_walk(&gob2, 760);
sp_speed(&gob2, 1);
move_stop(&gob2, 8, 185, 1);
sp_seq(&gob2, 758);
unfreeze(1);
}

When Gob2 uses sp_seq. He disapears
December 11th 2004, 12:21 PM
anon.gif
MiloBones
Ghost They/Them
 
Brain 7 is the "show an animation once, then die" brain, as you probably knew.
December 11th 2004, 12:23 PM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Thank you so much^^