Revive on Death

smoochy boys on tour

-Luke-

LOMCN Veteran
Veteran
May 9, 2010
1,508
55
135
What files are you using ? Does tend to help to mention what your using as there so many files about these days =]
 
Upvote 0

Tai

HEAD CAPTAIN
Staff member
Administrator
May 11, 2003
14,330
2
2,716
515
United Kingdom
Not sure about 2.3 but on heroes it was simple to do from what I remember doing.

[@PlayDie]
#SAY
You died!\ \
Where would you like to be revived? \
<Town/@reviveTown> <Here/@here> <Close/@exit>\

[@reviveTown]
#ACT
GMEXECUTE Realive self

Realive respawns you where you died doesn't it? Should do anyway
 
Upvote 0

Pete107

🐑[E]dens-[E]lite🐑
Developer
Dec 10, 2003
2,905
393
375
Todmorden, West Yorkshire
Realive respawns you where you died doesn't it? Should do anyway

All of the script:
[@PlayDie]
#SAY
You died!\ \
Where would you like to be revived? \
<Town/@reviveTown> <Here/@here> <Close/@exit>\

[@reviveTown]
#ACT
GOHOME
GMEXECUTE Realive self

[@here]
#IF
CHECKITEM RevivalPotion 1
#ACT
take RevivalPotion 1
GMEXECUTE Realive self
break
#ELSESAY
You must have a RevivalPotion!\
<Revive in town/@reviveTown> \ \


I think I had tried to make the RevivalPotion useable to revive on spot but can't think if I ever got it to work.
 
Upvote 0