Initial module commit

Initial module commit.
This commit is contained in:
Jaysyn904
2021-08-29 23:34:48 -04:00
parent a7b44c3e1c
commit 0f13e6c538
4092 changed files with 8658543 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
/* 69_henchstore_exit
Place in any On* event of placeable, trigger, NPC etc. to store henchmen in database
to intialize transfer from module to module
TAG of placeable or trigger is the name of new module
Created By: 69MEH69
Created On: Feb2005
*/
#include "69_hench_lib"
void main()
{
object oPC = GetLastUsedBy();
string sTag = GetTag(OBJECT_SELF);
if (!GetIsObjectValid(oPC))
oPC = GetLastUnlocked();
if (!GetIsObjectValid(oPC))
oPC = GetClickingObject();
if (!GetIsObjectValid(oPC))
oPC = GetEnteringObject();
if (!GetIsObjectValid(oPC))
oPC = GetExitingObject();
if (!GetIsObjectValid(oPC))
oPC = GetLastOpenedBy();
if (!GetIsObjectValid(oPC))
oPC = GetLastDisturbed();
if (!GetIsObjectValid(oPC))
oPC = GetPCSpeaker();
if (!GetIsObjectValid(oPC))
oPC = GetLastOpenedBy();
if (!GetIsObjectValid(oPC))
oPC = GetLastKiller();
StoreCampaignHenchman69(oPC);
DelayCommand(10.0, StartNewModule(sTag));
}