Hi, I made a multiplayer Native Compatible mod for duels and when here have passed some few fightings the bodies that are left become so annoying, So I want to know if there is any way to do that when an agent dies and ends the ragdoll animation , the corpse fade out (and also remove weapons if possible). Thanks
EDIT: I try this after "ti_on_agent_killed_or_wounded":
(try_begin),
(eq, "$g_multiplayer_game_type", multiplayer_game_type_duel),
(try_for_agents, ":cur_agent"),
(neg|agent_is_alive, ":cur_agent"),
(agent_fade_out, ":cur_agent"),
(try_end),
But with this, the agent fade out just at the moment of energy is "0", before of ragdoll animation, so this looks like the agent pauses and fade out in pause, so ugly