I've created a nice little off-hand weapon that creates an AoE healing spring that basically heals you! I figured it might work if cast on a fallen ally... I was wrong!
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 ). If someone could let me know what script to use that would be awesome, then I can just link the Script to my item and Bingo-Bango it'll work a treat!
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!
Hi! Welcome to the forum for Platinum Arts Sandbox Free 3D Game Maker. I currently have the forums locked as I am attempting to properly update them.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
In the meantime please join the new Discord Server!
If you have any questions please e-mail me through the Platinum Arts website.
Revive Fallen Ally (RPG 2.8.1)
Re: Revive Fallen Ally (RPG 2.8.1)
Give it a script effect that invokes r_resurrect on the target.
This is not a url, clicking it is pointless
Re: Revive Fallen Ally (RPG 2.8.1)
Thanks Hirato,
Could you give me an example script as I have no idea how this works, since adding the script I cannot pick the item up anymore with invalid reference "self" and has no "faction".
Could you give me an example script as I have no idea how this works, since adding the script I cannot pick the item up anymore with invalid reference "self" and has no "faction".
Re: Revive Fallen Ally (RPG 2.8.1)
inside statuses
EDIT:
This should be the status effect you're assigning to your item you're using to revive the fallen.
Code: Select all
r_status_addscript [
r_resurrect self
] 100
r_status_addgeneric $STATUS_HEALTH 10 10000 //or whatever your health effect is
This should be the status effect you're assigning to your item you're using to revive the fallen.
This is not a url, clicking it is pointless