ID:137857
 
okay, okay, okay.. i know.. i'm askin too many questions. but be glad I figured out most my problem before I posted em! there just happens to be a few that I can't seem to figure out.

I'm trying to make an NPC face a chracter when he/she talks to it. how the heck do I do it? i can't use turn(dir, deg) cuz i don't want to turn him(i do, but not degress wise in a certain direction). if you know an easy way to do this, lemme know. thank you all kindly.
On 7/1/01 11:38 pm XgavinX wrote:
okay, okay, okay.. i know.. i'm askin too many questions. but be glad I figured out most my problem before I posted em! there just happens to be a few that I can't seem to figure out.

I'm trying to make an NPC face a chracter when he/she talks to it. how the heck do I do it? i can't use turn(dir, deg) cuz i don't want to turn him(i do, but not degress wise in a certain direction). if you know an easy way to do this, lemme know. thank you all kindly.

Check out the get_dir() proc for figuring out the direction you need. Then just set the mob's dir variable to the direction you need.
In response to Deadron
On 7/2/01 2:06 am Deadron wrote:
On 7/1/01 11:38 pm XgavinX wrote:

I'm trying to make an NPC face a chracter when he/she talks to it. how the heck do I do it? i can't use turn(dir, deg) cuz i don't want to turn him(i do, but not degress wise in a certain direction). if you know an easy way to do this, lemme know. thank you all kindly.

Check out the get_dir() proc for figuring out the direction you need. Then just set the mob's dir variable to the direction you need.

And for future reference please post these types of questions in "Code Problems" or "Newbie Central". Thanks.
In response to Tom
On 7/2/01 2:15 am Tom wrote:
On 7/2/01 2:06 am Deadron wrote:
On 7/1/01 11:38 pm XgavinX wrote:

I'm trying to make an NPC face a chracter when he/she talks to it. how the heck do I do it? i can't use turn(dir, deg) cuz i don't want to turn him(i do, but not degress wise in a certain direction). if you know an easy way to do this, lemme know. thank you all kindly.

Check out the get_dir() proc for figuring out the direction you need. Then just set the mob's dir variable to the direction you need.

And for future reference please post these types of questions in "Code Problems" or "Newbie Central". Thanks.

thanks. sorry about posting in general. dunno why yhe hell I did when Codeing Problems was right there. thanks again, i really appreciate it.