The Dink Network

Reply to Re: D-Modding tips 'n tricks

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 2nd 2010, 08:42 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
I was reading through the DinkC reference a week ago and I stumbled upon a note in sp_defense(). It turns out, text sprites use it for their y coordinate relative to the sprite's that is talking. So, we can do this to alter how far the text is above or below NPC or Dink.

//text is drawn 50 pixels above the sprite as opposed to the default 100
say("Funny Text",1);
sp_defense(&return,50);