Killing a sound and Dinkslayer ...
Question 1 : how to kill a wav-file
(I need something like stopmidi(); but I don't what)
If I use sound_set_kill(); it does nothing but if I put the number of the sound I want to kill in it (sound_set_kill(70); ), the whole thing crashes...
Question 2 : how to make Dink attack like a slayer.
I already changed the base attack , the base walk and the base Idle but now he keeps on hitting with his sword instead of his claws...
Please reply if you know the answer
thanx
(I need something like stopmidi(); but I don't what)
If I use sound_set_kill(); it does nothing but if I put the number of the sound I want to kill in it (sound_set_kill(70); ), the whole thing crashes...
Question 2 : how to make Dink attack like a slayer.
I already changed the base attack , the base walk and the base Idle but now he keeps on hitting with his sword instead of his claws...
Please reply if you know the answer

thanx
Okay, it's been a really long time since I've done anything Dink related, so my memory is not 100%. I can't help you with the 1st problem, but I can with the second.
Are you sure the LAST base attack sequence used was the same number as what is used in an enemy slayer scipt? It sounds like the sword animation is being written over that attack.
Try placing a static sprite of a slayer attacking somewhere in the game, then load up the game and try to recreate the problem. If that slayer sprite has turned into Dink, then you know that's what happened.
If you still don't know what to do from there, feel free to post here again.
Are you sure the LAST base attack sequence used was the same number as what is used in an enemy slayer scipt? It sounds like the sword animation is being written over that attack.
Try placing a static sprite of a slayer attacking somewhere in the game, then load up the game and try to recreate the problem. If that slayer sprite has turned into Dink, then you know that's what happened.
If you still don't know what to do from there, feel free to post here again.
You have to do something like this:
int &mysound = playsound(Blah Blah);
sound_set_kill(&mysound);
Note: that's if the kill sound command will be given in the same script. If not, replace &mysound with a global variable.
int &mysound = playsound(Blah Blah);
sound_set_kill(&mysound);
Note: that's if the kill sound command will be given in the same script. If not, replace &mysound with a global variable.