The Dink Network

Re: Changing Dink's sequence and back again

November 12th 2007, 04:57 PM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
Okay, what I want to do is make Dink (1) play a sequence that I made, and after the sequence runs through once Dink sequence etc. goes back to normal. Understand? Now, how do I do it?
November 12th 2007, 08:21 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
The same way a weapon script or magic script makes him do his attack/casting sequence?

//lines from item-fst.c
sp_seq(1, &basehit);
sp_frame(1, 1); //reset seq to 1st frame
sp_kill_wait(1); //make sure dink will punch right away
sp_nocontrol(1, 1); //dink can't move until anim is done!


That should be all thats to it.
November 12th 2007, 11:47 PM
burntree.gif
fireball5
Peasant He/Him Australia
Let me heat that up for you... 
ow about doing it permanetly, and then making him change back via a choice menu? don't worry i'll figure it out
November 14th 2007, 12:45 AM
sob_scorpy.gif
DinkDude95
Peasant He/Him Australia
The guy with the cute D-Mod. 
So, using those exact lines (except for the change of &basehit) Dink will run the sequence through once, then change back to his normal sequence? Awesome!