Divergent/mods/Body Health System Realisti.../gamedata/scripts/mp_check_callback.script

8 lines
267 B
Plaintext
Raw Normal View History

2024-03-17 20:18:03 -04:00
function actor_on_hit_callback(obj, amount, local_direction, who, bone_index)
printf("! CALLBACK CHECK >> on hit callback fired")
printf("! Damage: %s",amount)
end
function on_game_start()
RegisterScriptCallback("actor_on_hit_callback", actor_on_hit_callback)
end