×
Меню
Индекс

MSFD Make an Actor turn or face a certain direction

 
Face x_enum, y_enum
 
     "ActorID"->Face, -1334, 334
 
To my knowledge this function does not accept variables (at least under version 1.6.1820), but there have been reports that it did - possibly this is version dependent. This function Makes an NPC face towards a specified x/y coordinate. Apparently interrupts current animations. Using this on wandering NPCs makes them stop, face wherever, then continue on wherever they were wandering to, as soon as the facing movement is over. (Forum info / JOG, Dan_Wheeler).