[SOLVED] Find Corpses? (20 chars)

Hi, I’ve just discovered the hero.findCorpses()code I’m confused about what this code do can someone explain?

1 Like

hero.findCorpses() finds dead friends and enemies and puts them into an array. The main use for this is you can find them to cast raise dead on.
I’ve made some pretty funky functions which locate the area with the highest density of corpses inside it for a maximum power raise dead.
Danny

2 Likes

That method finds all of the corpses of dead allies or enemies and puts them in a array(that you chose the name for). This code finds all of the corpses and puts them in the corpses array:

corpses  = hero.findCorpses()

This can help if you want to cast the Raise Dead spell.

Andrei

1 Like

I understand it, Thanks

3 Likes