61 lines
1.3 KiB
Plaintext
61 lines
1.3 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 = "...poker..hic...";
|
|
break;
|
|
case 2:
|
|
sDialog = "eh?";
|
|
break;
|
|
case 3:
|
|
sDialog = "..need a sober potion..";
|
|
break;
|
|
case 4:
|
|
sDialog = "That's me game! *arp!*";
|
|
break;
|
|
case 5:
|
|
break;
|
|
case 6:
|
|
break;
|
|
case 7:
|
|
break;
|
|
case 8:
|
|
break;
|
|
}
|
|
ClearAllActions();
|
|
if (sDialog != " ")
|
|
{
|
|
ActionSpeakString(sDialog, iTalkVolume);
|
|
}
|
|
ActionRandomWalk();
|
|
}
|
|
}
|
|
}
|