|
takke Beginner
Joined: 11 Oct 2002 Posts: 29 Location: Sweden
|
Posted: Wed Oct 30, 2002 10:22 am
Auto Resurrect |
Hi there
I want to make a trigger that automaticlly casts resurrection at ghosts.
The problem is that I want to put the names of the ghost in a list then
loop trough it untill all the ghost are ressed. Every time a mbr of the party
dies his name will be added to this list and when I have ressed him the name
will be deleted. Can anyone of you help me with this trigger?
I don't know If you need more info than this. |
|
|
|
darkfenix Wanderer
Joined: 02 Feb 2002 Posts: 58
|
Posted: Wed Oct 30, 2002 11:30 am |
I donno maybe putting a few lines of how it looks like will make others to help you more.
Like what is the trigger line for the ghosts and the command for the resurrect maybe. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Oct 30, 2002 3:04 pm |
#VAR ghosts %null
#VAR party %null
#ADDITEM party george
#ADDITEM party julie
#TR {({@party}) died} {#ADDITEM ghosts %1}
#ALA 30 {#IF (@ghosts) {resurrect %item(@ghosts, 1);#DELNITEM ghosts 1}}
LightBulb
Senior Member |
|
|
|
|
|