The Dink Network

Reply to Re: Frame/Sequence Help

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:
 
 
October 16th 2006, 06:29 AM
custom_king.png
redink1
King He/Him United States bloop
A mother ducking wizard 
So essentially, I want the sprite to walk in place, then freeze up and stay frozen while being moved around.

You might want to try sp_picfreeze(&milder, 1) instead of changing Milder's brain. However, I'm not sure if sp_picfreeze works with brain 6.

Also, everytime I use "sp_pseq(&XXX, XXX);" and "sp_pframe(&XXX, XXX);" do I need to state "sp_x(&XXX, XXX);" and "sp_y(&XXX, XXX);" in order to get the sprite to display?

No.

And finally... what is "preload_seq(XXX);" and how does it work?

preload_seq is used to make sure that sequences are loaded into memory before they're used. The only benefit is the game might pause for a little bit while it loads the sequences for a monster the first time it starts walking in a direction it hasn't walked in before.