Initial upload. PRC8 has been added. Module compiles, PRC's default AI & treasure scripts have been integrated. Started work on top hak for SLA / Ability / Scripting modifications.
20 lines
398 B
Plaintext
20 lines
398 B
Plaintext
void main()
|
|
{
|
|
object oSpeaker = GetLastSpeaker();
|
|
int iGender = GetGender(oSpeaker);
|
|
string sStringToSpeak = "[mumbles]";
|
|
int nTalkVolume = TALKVOLUME_TALK;
|
|
ActionSpeakString ( sStringToSpeak, nTalkVolume);
|
|
|
|
if (iGender == GENDER_MALE)
|
|
{
|
|
AssignCommand ( oSpeaker, PlaySound("as_pl_belchingm1"));
|
|
|
|
}
|
|
if (iGender == GENDER_FEMALE)
|
|
{
|
|
AssignCommand ( oSpeaker, PlaySound("as_pl_ailingf2"));
|
|
}
|
|
|
|
}
|