The Dink Network

Reply to Sp_dir question

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:
 
 
July 15th 2003, 10:29 AM
peasantmb.gif
How to make a sprite (like a knight) use an sp_dir to where is Dink?
Emh. I mean, in a void main() proc, and the sprite turns where Dink entered the screen (if Dink is on the left, the sprite turns to sp_dir(&sprite, 6); if Dink is on the right, sp_dir(&sprite, 4).

I don't know if this can be done, since I have never seen that happening in a d-mod, but if it can be done, please help.