So my question is: Is there any way to code the weapon to revive (change from CS_DEAD to CS_ALIVE) when casting the spell on them?
I'm sure it's just a simple case of:
if (r_state_get self) CS_DEAD
Then make self CS_ALIVE
But as you can plainly see my coding is obviously top notch (Sarcasm

Need this as i'm making a map where a castle of allies is under seige by (hopefully) around 50-75 enemies plus 4 Trebuchet's with a range of about 1million lol. Of course the story goes that your allies are dropping like flies and you could either run out and try to take down all the enemies alone or tactically attack the enemy while resurrecting fallen allies.
Hope that makes sense!