Added dialog to raise new players to 12th lvl
Added dialog to raise new players to 12th lvl
This commit is contained in:
23
_module/nss/fhenchman_joins.nss
Normal file
23
_module/nss/fhenchman_joins.nss
Normal file
@@ -0,0 +1,23 @@
|
||||
//:: FileName henchman_joins
|
||||
// Henchman joins PC, booting other henchman if necessary
|
||||
|
||||
#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);
|
||||
|
||||
|
||||
SetLocalInt(GetObjectByTag("TownGuardintro2"), "nConversation", 4);
|
||||
|
||||
}
|
Reference in New Issue
Block a user