Eternal Warrior Project
Henchman joins Labels=0
Eternal Warrior Project
Henchman joins Labels=0
Eternal Warrior Project
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Eternal Warrior Project

The Eternal Warrior Project Official Guild
 
HomeLatest imagesSearchRegisterLog in

 

 Henchman joins

Go down 
AuthorMessage
rorqock
Guild Archon
Guild Archon
rorqock


Posts : 112
Join date : 2008-04-14
Age : 50
Location : France

Henchman joins Empty
PostSubject: Henchman joins   Henchman joins Icon_minitimeFri Apr 18, 2008 12:42 pm

Code:
// * script: henchman_joins
// [Actions Taken]


#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);
}
Code:
Back to top Go down
http://www.myspace.com/rorqock
 
Henchman joins
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Eternal Warrior Project :: Neverwinter Nights Series :: Scripts :: Scripts ===> Non-player characters :: Henchmen-
Jump to: