...and another thread by me...
Currently as part of the RPG map I'm making I've attempted to introduce "real" combat, similar to oblivion. In this case, a attacks, and d blocks. The attack "ability" works perfectly, but the ability to parry blows doesn't.
Initially I based it off divine shield - a 0.6 second shield which was the right time to block one attack - but invulnerability loses all aggro, making the ability useless. I then tried a triggered version which stored initial hero health at start of ability and then every 0.1 seconds throughout the ability it stuck the heroes health back up to initial health. Caused HUGE problems - heals would be lost, as would regeneration, and you could die in the interval.
Anyone have any ideas as to how I would trigger a "parry blow" ability?
Many Thanks
Skli
Currently as part of the RPG map I'm making I've attempted to introduce "real" combat, similar to oblivion. In this case, a attacks, and d blocks. The attack "ability" works perfectly, but the ability to parry blows doesn't.
Initially I based it off divine shield - a 0.6 second shield which was the right time to block one attack - but invulnerability loses all aggro, making the ability useless. I then tried a triggered version which stored initial hero health at start of ability and then every 0.1 seconds throughout the ability it stuck the heroes health back up to initial health. Caused HUGE problems - heals would be lost, as would regeneration, and you could die in the interval.
Anyone have any ideas as to how I would trigger a "parry blow" ability?
Many Thanks
Skli