Initial Commit
Initial Commit [v1.32PRC8]
This commit is contained in:
20
_module/nss/rd_hiredeath.nss
Normal file
20
_module/nss/rd_hiredeath.nss
Normal file
@@ -0,0 +1,20 @@
|
||||
#include "nw_i0_plot"
|
||||
#include "rd_misc"
|
||||
|
||||
void main()
|
||||
{
|
||||
object oSelf;
|
||||
object oSpawnPoint;
|
||||
string sDestTag;
|
||||
|
||||
oSelf = OBJECT_SELF;
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectResurrection(),oSelf);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT,EffectHeal(GetMaxHitPoints(oSelf)), oSelf);
|
||||
RemoveEffects(oSelf);
|
||||
|
||||
sDestTag="rd_hench_death";
|
||||
oSpawnPoint = GetObjectByTag(sDestTag);
|
||||
DelayCommand(1.0f,AssignCommand(oSelf,JumpToLocation(GetLocation(oSpawnPoint))));
|
||||
|
||||
}
|
Reference in New Issue
Block a user