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, which game...hic...";
|
||
|
break;
|
||
|
case 2:
|
||
|
sDialog = "mmm.. Blackjack?";
|
||
|
break;
|
||
|
case 3:
|
||
|
sDialog = "...me blade is ere somewheres...";
|
||
|
break;
|
||
|
case 4:
|
||
|
sDialog = "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();
|
||
|
}
|
||
|
}
|
||
|
}
|