27 lines
584 B
Plaintext
27 lines
584 B
Plaintext
|
#include "NW_I0_PLOT"
|
||
|
#include "in_g_cutscene"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetPCSpeaker();
|
||
|
object oMe = OBJECT_SELF;
|
||
|
|
||
|
FadeToBlack(oPC);
|
||
|
|
||
|
FadeFromBlack(oPC);
|
||
|
|
||
|
|
||
|
float fRange =GetHorizontalDistanceBetween(oMe,oPC);
|
||
|
float fAngle = GestaltGetDirection(oMe,oPC) + (40.0 / sqrt(GetHorizontalDistanceBetween(oMe,oPC)));
|
||
|
|
||
|
if (fAngle > 360.0) fAngle -= 360.0;
|
||
|
AssignCommand(oPC,SetCameraHeight(oPC,0.0));
|
||
|
AssignCommand(oPC,SetCameraFacing(fAngle,fRange,80.0));
|
||
|
|
||
|
PlayCharacterTheme(53);
|
||
|
|
||
|
//object oPC = GetPCSpeaker();
|
||
|
|
||
|
SetLocalString(oPC, "aliah_thrd", "1");
|
||
|
}
|