Arkshine / Ankh

All-in-One utilities AMX Mod X module.
1 stars 2 forks source link

Touch matrix forwards #14

Open joropito opened 10 years ago

joropito commented 10 years ago

Let developers to create a matrix to match "touch" between entities and call the associated forward

Example:

g_forward1 = register_matrixtouch("Entity_Touch_1") g_forward2 = register_matrixtouch("Entity_Touch_2") set_touch_matrix(ent1, ent2, g_forward1) set_touch_matrix(ent1, ent3, g_forward2)

Arkshine commented 10 years ago

I don't see the point of register_matrixtouch, unless you want to add unregister_matrixtouch ?

But it should make sense. Sounds good for me.