Resurrect from grave in lua
Thu, 2024-06-06 13:06
I’m working on a game mod and having some difficulty with resurrect.
As an example id like to resurrect a grave on end of turn with a static health total, let’s use 25. It does not need to be in the resurrect circle. Any grave will do for this example.
If I know the grave gear using gtGrave I can access the Pos that has the hoguid but what to do from there? I don’t need any animation.
give the hog ressurectable effect instead
LuaGears: SetEffect
LuaEvents: onGearResurrect
oh hi
resurrectable effect causes them to resurrect immediately upon death is how i understand it. I am trying to be more selective with graves specifically, not immediately. unless i am not setting the effect at the correct time yet. I'll continue to play with using seteffect
Is resurrect possible by a specific grave gear type?