Editing teleport behaviour

Hi guys.

I need to edit some stuff regarding teleporting (for example, making the unit have increased regen during tele charging, or upon finishing...stuff like that).
What I need is a link to the OnTeleportStart function, I am guessing one exists somewhere?

I can take it from there.

Also, the way I understand, the OnScriptBitSet only applies to RULEUTC, not to RULEUCC (which is where teleport falls under), correct?

What i need is for the script to recognize the teleport button has been pressed and then executing further stuff because of it. An OnTeleportStart would do nicely, I remember seeing it somewhere but for the life of me cannot remember where...

TY.

Nevermind, I got it.
Feel free to lock this.