Added DMFI

Added DMFI.  Set Diamond Golem appearance size to large.  Full compile.  Updated release archive.
This commit is contained in:
Jaysyn904
2024-12-28 18:10:38 -05:00
parent f3057de0bd
commit 37c79b6d57
536 changed files with 235552 additions and 62 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: gz_chair_use
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
*/
//:://////////////////////////////////////////////
//:: Created By: Dom Queron
//:://////////////////////////////////////////////
// This script was explained by David Gaider/Bioware in this topic.
// You should read this topic if you are interested in Nwn scripting
// http://nwn.bioware.com/forums/viewtopic.html?topic=74275&forum=47
void main()
{
ClearAllActions();
float fFacing = GetFacing(OBJECT_SELF);
object oPlayer = GetLastUsedBy();
object oChair = OBJECT_SELF;
if (GetIsPC(oPlayer))
{
if (GetIsObjectValid(oChair) && !GetIsObjectValid (GetSittingCreature(oChair)))
{
AssignCommand(oPlayer, ActionSit(oChair));
AssignCommand(oPlayer, SetFacing(fFacing));
}
}
}