The Dink Network

Reply to Re: Changing dink text sprite location

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 26th 2010, 09:29 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
The text position is directly relative to a sprite's depth dot (100 pixels above). Changing the position Is possible, but you'd have to add an extra line of code after every single line of text he says.

If you're still determined doing it, here's how you'd do so.

say("My text is now lowered",1);
sp_defense(&last_text,80);


I know it sounds weird, but it just so happens to be a secondary function of sp_defense when used with text sprites. The value is the amount of pixels you want. As I said it is 100 by default.

One more thing I forgot- You won't be able to use say_stop with it. It's probably best to just deal with the text being too high.