Pentagathoos
Squire
Hi, I'm trying to customise the realistic casualties trigger from VC so that the chance of death or wounding is dependant on damage value of the final blow
like so
Unfortunately since this uses ti_on_agent_killed_or_wounded rather than ti_on_agent_hit there is no damage value, does anyone know how I could get the damage value from the last attack this agent suffered? Or would I have to write a trigger using on_agent_hit?
like so
Code:
(eq, ":is_wounded", 0),
(store_random_in_range, ":chance", 1,81),
(lt, ":chance", ":damage"),
(assign, ":is_wounded", 1),
Unfortunately since this uses ti_on_agent_killed_or_wounded rather than ti_on_agent_hit there is no damage value, does anyone know how I could get the damage value from the last attack this agent suffered? Or would I have to write a trigger using on_agent_hit?
Last edited by a moderator: