Привет! Как заставить нпц разворачиваться при диалоге с ним? Нашел вот такую вот функцию, но нпц не поворачивается)
simulated function PostSetPawnResource()
{
WaterEmitter = Spawn(class'-', Self, '', Location, Rotation);
if(WaterEmitter != None)
{
AttachToBone(WaterEmitter, '');
WaterEmitter.SetRelativeRotation(rotat);
WaterEmitter.SetRelativeLocation(vect(0.00,0.00,0.00));
WaterEmitter.SetDrawScale(1.0);
WaterEmitter.SetSizeScale(1.0);
}
}
defaultproperties
{
bFaceRotation=True
bSpineRotation=True
}
{
WaterEmitter = Spawn(class'-', Self, '', Location, Rotation);
if(WaterEmitter != None)
{
AttachToBone(WaterEmitter, '');
WaterEmitter.SetRelativeRotation(rotat);
WaterEmitter.SetRelativeLocation(vect(0.00,0.00,0.00));
WaterEmitter.SetDrawScale(1.0);
WaterEmitter.SetSizeScale(1.0);
}
}
defaultproperties
{
bFaceRotation=True
bSpineRotation=True
}