Code: Select all
script 999 (int climb, int twist)
{
int playerpitch = GetActorPitch(0) - ((random(1,3)+5)*climb);
if (playerpitch > -5780)
{
SetActorPitch (0, playerpitch);
}
int playerangle = GetActorAngle(0) - ((random(1,2)+4)*twist);
SetActorAngle (0, playerangle);
}