21 lines
462 B
Plaintext
21 lines
462 B
Plaintext
|
#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))));
|
||
|
|
||
|
}
|