Areas and Fixes
Added CCOH and missing areas Changed some areas to be craftable, Fixed some on death issues, Fixed the Gaurd
This commit is contained in:
25
_module/nss/mk_on_dismounted.nss
Normal file
25
_module/nss/mk_on_dismounted.nss
Normal file
@@ -0,0 +1,25 @@
|
||||
// mk_on_dismounted.nss
|
||||
|
||||
#include "mk_inc_horse"
|
||||
//#include "x3_inc_horse"
|
||||
|
||||
// this script is called by the CCOH horse system after dismounting
|
||||
// it could be used to dismount all the PC's henchmen for example
|
||||
|
||||
void main()
|
||||
{
|
||||
object oRider = OBJECT_SELF;
|
||||
if (!GetIsPC(oRider)) return;
|
||||
|
||||
SendMessageToPC(OBJECT_SELF, "*** script \"mk_on_dismounted\" called ***");
|
||||
|
||||
int iHench;
|
||||
for (iHench=1; iHench<=GetMaxHenchmen(); iHench++)
|
||||
{
|
||||
object oHench = GetHenchman(oRider, iHench);
|
||||
if (GetIsObjectValid(oHench))
|
||||
{
|
||||
MK_CreatureMountHorse(oHench, 0);
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user