Initial commit. Updated release archive.
This commit is contained in:
38
_module/nss/ro_d1_hen_fired.nss
Normal file
38
_module/nss/ro_d1_hen_fired.nss
Normal file
@@ -0,0 +1,38 @@
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: X0_D1_HEN_FIRED
|
||||
//:: Copyright (c) 2002 Floodgate Entertainment
|
||||
//:://////////////////////////////////////////////////
|
||||
/*
|
||||
Fires the current henchman and leaves the player with
|
||||
no henchman.
|
||||
*/
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: Created By: Naomi Novik
|
||||
//:: Created On: 09/13/2002
|
||||
//:://////////////////////////////////////////////////
|
||||
|
||||
|
||||
#include "x0_i0_henchman"
|
||||
|
||||
void main()
|
||||
{
|
||||
|
||||
ClearAllActions();
|
||||
FireHenchman(GetPCSpeaker());
|
||||
|
||||
|
||||
|
||||
object oTarget;
|
||||
oTarget = OBJECT_SELF;
|
||||
|
||||
DestroyObject(oTarget, 0.0);
|
||||
|
||||
object oSpawn;
|
||||
location lTarget;
|
||||
oTarget = GetWaypointByTag("WP_HENCHMAN_RESPAWN");
|
||||
|
||||
lTarget = GetLocation(oTarget);
|
||||
|
||||
oSpawn = CreateObject(OBJECT_TYPE_CREATURE, "henrsref", lTarget);
|
||||
|
||||
}
|
Reference in New Issue
Block a user