How to use ?face? scripting function correctly?

Post » Fri May 27, 2011 6:08 am

It does not work for NPCs for me.
What are actually x.y in this case, e.g. I would like to align an NPC with some object ? she should stand back to this object after inner cell AITravel.
MWSE is not a solution, it does not work on my rig.

Thank you.

:)
User avatar
R.I.p MOmmy
 
Posts: 3463
Joined: Wed Sep 06, 2006 8:40 pm

Post » Fri May 27, 2011 1:50 pm

X, Y are normal cell coordinates, such as you'd get from GetPos X/GetPos Y.
The following works for me:

"NPC"->Face X, Y
User avatar
Jarrett Willis
 
Posts: 3409
Joined: Thu Jul 19, 2007 6:01 pm

Post » Fri May 27, 2011 10:53 am

Great! That works. Actually, I was using x,y coordinates: my mistake was a silly wrong "endif" in the other part of the script.

Thank you!

:)
User avatar
Chrissie Pillinger
 
Posts: 3464
Joined: Fri Jun 16, 2006 3:26 am


Return to III - Morrowind