26 lines
880 B
Plaintext
26 lines
880 B
Plaintext
|
#include "in_g_cutscene"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
object oPC = GetLastSpeaker();
|
||
|
int iScore = GetLocalInt(oPC, "a_score");
|
||
|
int iFs;
|
||
|
if (iScore<=2999) { iFs=1;}
|
||
|
if ((iScore>3000)&&(iScore<=5999)) { iFs=2;}
|
||
|
if ((iScore>6000)&&(iScore<=8999)) { iFs=3;}
|
||
|
if ((iScore>9000)&&(iScore<=11999)) { iFs=4;}
|
||
|
if ((iScore>12000)&&(iScore<=14999)) { iFs=5;}
|
||
|
if ((iScore>15000)&&(iScore<=17999)) { iFs=6;}
|
||
|
if ((iScore>18000)&&(iScore<=20999)) { iFs=7;}
|
||
|
if ((iScore>21000)&&(iScore<=23999)) { iFs=8;}
|
||
|
if ((iScore>24000)&&(iScore<=26999)) { iFs=9;}
|
||
|
if (iScore>27000) { iFs=10;}
|
||
|
|
||
|
GestaltSpeak(0.0, OBJECT_SELF,
|
||
|
"Your character build and player performance rating on a scale of 1 to 10 is ** "
|
||
|
+IntToString(iFs)+" **"
|
||
|
,ANIMATION_FIREFORGET_VICTORY2);
|
||
|
}
|
||
|
|
||
|
|