I'm registering a touch:
Code:
register_touch( "*", "player", "fantastic_touch" )
Then, on keydown I'm simulating a touch from player to aimed-at entity:
Code:
if ( pev_valid( aimee ) )
{
fake_touch( aimee, id ) /* Simulate two entities colliding/touching. */
draw_beam( id, aimee )
}
But the registered touch doesn't get called. I want the fake_touch to trigger all other plugins on the server that do something when people are touching, for instance.
edit: The beam is getting drawn, so the entity is valid.
__________________