61 lines
1.4 KiB
Plaintext
61 lines
1.4 KiB
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Default On Heartbeat
|
||
|
//:: bognar_hb
|
||
|
//:: Copyright (c) 2001 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
This script will have people perform default
|
||
|
animations.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Preston Watamaniuk
|
||
|
//:: Created On: Nov 23, 2001
|
||
|
//:://////////////////////////////////////////////
|
||
|
#include "NW_I0_GENERIC"
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
|
||
|
// Added following code. Bruce Laplante 03/02/2003
|
||
|
|
||
|
int iEight = d8(1);
|
||
|
int iTalkVolume = TALKVOLUME_TALK;
|
||
|
string sDialog = " ";
|
||
|
|
||
|
if(!IsInConversation(OBJECT_SELF))
|
||
|
{
|
||
|
if(iEight != 0)
|
||
|
{
|
||
|
switch(iEight)
|
||
|
{
|
||
|
case 1:
|
||
|
sDialog = "...oy, must sober up fer work...aye...";
|
||
|
break;
|
||
|
case 2:
|
||
|
sDialog = "Now where'd I put me purse?";
|
||
|
break;
|
||
|
case 3:
|
||
|
sDialog = "...like I says...aye sexy...";
|
||
|
break;
|
||
|
case 4:
|
||
|
sDialog = "Shellabrate wif me now. I'm gonna be rich! *arp!*";
|
||
|
break;
|
||
|
case 5:
|
||
|
break;
|
||
|
case 6:
|
||
|
break;
|
||
|
case 7:
|
||
|
break;
|
||
|
case 8:
|
||
|
break;
|
||
|
}
|
||
|
ClearAllActions();
|
||
|
if (sDialog != " ")
|
||
|
{
|
||
|
ActionSpeakString(sDialog, iTalkVolume);
|
||
|
}
|
||
|
ActionRandomWalk();
|
||
|
}
|
||
|
}
|
||
|
}
|