The Dink Network

Reply to Re: Position of text

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:
 
 
September 16th 2013, 08:18 PM
spike.gif
Oh, awesome. I remember reading that, but totally forgot about it.

Alternatively, first say() an empty text, or just spaces, then get its sp_x() and sp_y(), then say_[stop_]xy() all following lines at whatever coordinates. Maybe that works.

That works. E.g.
void talk
int &mesay = say("`%<- Pub",&current_sprite)
int &mex = sp_x(&mesay,-1)
int &mey = sp_y(&mesay,-1)
&mex -= 235
&mey += 20
say_xy("`%-> Inn",&mex,&mey)

void hit
say("I want hanging signs!",1)
}