Re-uploaded instead of migrated

Re-uploaded instead of migrated.
This commit is contained in:
Jaysyn904
2024-08-03 15:05:13 -04:00
parent 53776f5b96
commit defc8f9f6d
934 changed files with 643472 additions and 0 deletions

22
_module/nss/henchjoin.nss Normal file
View File

@@ -0,0 +1,22 @@
// * script: henchman_joins
// * NPC Henchman joins PC, replacing other henchman if necessary.
// Use in [Actions Taken] tab of henchman's joining dialog line.
#include "nw_i0_henchman"
void main()
{
if (GetIsObjectValid(GetHenchman(GetPCSpeaker())) == TRUE)
{ SetFormerMaster(GetPCSpeaker(), GetHenchman(GetPCSpeaker()));
object oHench = GetHenchman(GetPCSpeaker());
RemoveHenchman(GetPCSpeaker(), GetHenchman(GetPCSpeaker()));
AssignCommand(oHench, ClearAllActions());
}
SetWorkingForPlayer(GetPCSpeaker());
SetBeenHired();
ExecuteScript("NW_CH_JOIN", OBJECT_SELF);
}