Initial upload

Initial upload.
This commit is contained in:
Jaysyn904
2023-09-25 21:32:17 -04:00
parent c1b271b363
commit ec287507a1
10074 changed files with 8442145 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//::///////////////////////////////////////////////
//:: Name: pgs_default_vg
//:: Copyright (c) 2001 Bioware Corp.
//:://////////////////////////////////////////////
/*
Default template for spawning the Vault Gnome.
*/
//:://////////////////////////////////////////////
//:: Created By: Samius Maximus
//:: Created On:
//:://////////////////////////////////////////////
void main()
{
object oPlayer = GetPCSpeaker();
object oGnome = CreateObject (OBJECT_TYPE_CREATURE, "vaultgnome",
GetLocation (oPlayer));
//--------------------------------------------
//Face each other, and save objects for later.
//--------------------------------------------
AssignCommand (oPlayer, SetFacingPoint (GetPosition (oGnome)));
AssignCommand (oGnome, SetFacingPoint (GetPosition (oPlayer)));
SetLocalObject (oPlayer, "Temp_Vault_Gnome", oGnome);
SetLocalObject (oGnome, "Temp_Player", oPlayer);
//--------------------------------------------
//Set the Vault Gnome to listen for info.
//--------------------------------------------
SetListening (oGnome, TRUE);
SetListenPattern (oGnome, "*n", 2001);
}