The Dink Network

Reply to Random Bug with sp_base_idle

If you don't have an account, just leave the password field blank.
Username:
Password:
Subject:
Antispam: Enter Dink Smallwood's last name (surname) below.
Formatting: :) :( ;( :P ;) :D >( : :s :O evil cat blood
Bold font Italic font hyperlink Code tags
Message:
 
 
May 12th 2020, 06:45 PM
anon.gif
Bugs_Kill_Me
Ghost They/Them
 
Hello,

I've come upon this strange problem when trying to code a cutscene. I had to set Dink's Base_Idle to -1, so I can control his pseq frame by frame, manually:

 sp_dir(1, 2);
 say_stop("Ugh, I'm not feeling very well..", 1);

 wait(500);
 sp_base_idle(1, -1);
 wait(1);
 sp_pseq(1, 436);
 sp_pframe(1, 1);

 wait(100);
 sp_pframe(1, 2);
 wait(100);
 sp_pframe(1, 3);
 wait(100);


That worked. Then I added new things down the script (not related at all with that bit above), tested the cutscene again to see the new bits I had added, but this time the game 'ignored' the sp_base_idle(1, -1) line, and applied all the pframe commands to the sequence 12 (Dink's Idle Seq). I tried it again, same thing. Didn't work

I've tried removing the wait(1), no changes.

I've then flipped the base_idle and pseq lines, like this, cuz that's similar to how it is on dinfo.c :
 wait(500);
 sp_pseq(1, 436);
 sp_base_idle(1, -1);
 sp_pframe(1, 1);


It worked.
Not trusting the result, I closed the game, restarted it (without touching the script) and it wouldn't work anymore.

Does anyone know anything about this?

I can come up with alternative ways to do the same cutscene, that's not the point. If this had never worked, I'd just ignore the issue and use an alternative, but since it works sometimes and doesn't work at others, it really is bugging me. I just want to know what is happening there.