Open joropito opened 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)
I don't see the point of register_matrixtouch, unless you want to add unregister_matrixtouch ?
register_matrixtouch
unregister_matrixtouch
But it should make sense. Sounds good for me.
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)