Scripting to talk to a duck on an island (Making script appear above the duck instead of the script obj)
I can't find any help on this.
I'm tryna make Dink talk to a wall (invisible, has a script on it)
but how do I get the text to appear over the duck instead of the wall?
It's much like the terris bar. You talk to the bar but the text is on the bartender.
HEPL PLIS
I'm tryna make Dink talk to a wall (invisible, has a script on it)
but how do I get the text to appear over the duck instead of the wall?
It's much like the terris bar. You talk to the bar but the text is on the bartender.
HEPL PLIS
what you want to do is create a sprite and have the say() lines originate from the created sprite. So something like this...
void main(void)
{
int &duck = create_sprite(x coordinate, y coordinate, brain, sequence, frame);
}
void talk(void)
{
freeze(1);
say_stop("Hello duck", 1);
wait(200);
say_stop("`4QUACK YOU!", &duck);
unfreeze(1);
}
Does this help?
void main(void)
{
int &duck = create_sprite(x coordinate, y coordinate, brain, sequence, frame);
}
void talk(void)
{
freeze(1);
say_stop("Hello duck", 1);
wait(200);
say_stop("`4QUACK YOU!", &duck);
unfreeze(1);
}
Does this help?
Alrighty that worked, thanks.
I'm a bit peeved by how noisy the duck is (it's quacking ALL THE TIME)
but it's better than no script.
I'm a bit peeved by how noisy the duck is (it's quacking ALL THE TIME)
but it's better than no script.
Give your duck a brain transplant and it will stop quacking.