Hello!
Everyone’s been so helpful thus far! I feel bad for all the questions.
I’m on a cracked-screen phone in a boring meeting so thinking of scripts, but not easy to trawl through lexicon and wikis haha.
Is there a standard way to affect NPCs during combat, as OnHeartbeat doesn’t work while in combat correct?
My only current thoughts would be to use an invisible object’s OnHeartbeat and get calls from the NPC. this seems pretty rogue though and not sure it would even work.
Example:
NPC explodes into blood at 50% and a zombie appears in its place.
I guess I’d like a ‘when’ function instead of ‘if’ but that’s no possible, so the 6 second tick of OnHeartbeat of a invisible object / waypoint checking the NPCs percentage health, and then if 50% destroy NPC, spawn Zombie - would be the only way to achieve this?
Any other ideas / methods?
I really want to build lots of scripted fights this is just a basic example.
Thanks,
Roarthing