Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,58 @@
//:://////////////////////////////////////////////
//:: Created By: John Hawkins
//:: Created On: January 2004
//:://////////////////////////////////////////////
//::
//:: this script will make my placeable prisoners
//:: react to you and talk to you if desired.
//::
//:: to converse with the placeable, you need to
//:: put the name of the conversation you wish to
//:: have inside the quotation marks ("") down in
//:: line 57.
//::
//:://////////////////////////////////////////////
void main()
{
object oUser = GetLastUsedBy();
int iRnd = d6();
string sSound = IntToString(iRnd);
if (GetLocalInt(OBJECT_SELF,"disturbed") == 0)
{
object oSelf = OBJECT_SELF;
PlayAnimation(ANIMATION_PLACEABLE_ACTIVATE);
SetLocalInt(OBJECT_SELF,"disturbed",1);
}
else
{
object oSelf = OBJECT_SELF;
PlayAnimation(ANIMATION_PLACEABLE_DEACTIVATE);
SetLocalInt(OBJECT_SELF,"disturbed",0);
}
if(iRnd==1)
{
AssignCommand(oUser,PlaySound("as_pl_ailingm1"));
}
if(iRnd==2)
{
AssignCommand(oUser,PlaySound("as_pl_despairm1"));
}
if(iRnd==3)
{
AssignCommand(oUser,PlaySound("as_pl_despairm2"));
}
if(iRnd==4)
{
AssignCommand(oUser,PlaySound("as_pl_cryingm1"));
}
if(iRnd==5)
{
AssignCommand(oUser,PlaySound("as_pl_despairm1"));
}
if(iRnd==6)
{
AssignCommand(oUser,PlaySound("as_pl_despairm2"));
}
//AssignCommand(OBJECT_SELF,ActionStartConversation(oUser,"",FALSE,FALSE));
}