Passing Actors to Global Subroutine

I have a collision event script.
The script includes Physical Response and some other stuff.
The same code is used in many places.
Can I somehow pass the event and collide actors to a global routine for processing?
( Quick example if possible.
)

The script includes Physical Response and some other stuff.
The same code is used in many places.
Can I somehow pass the event and collide actors to a global routine for processing?
( Quick example if possible.

