Opening .menu files by using trigger_multiple
I'm wondering if anyone has an idea of how to make so that when a trigger_multiple is used, a .menu pops up?
I've been looking around in g_trigger.c, and i *think* that I have to add it somewhere in void Touch_Multi( gentity_t *self, gentity_t *other, trace_t *trace ), but I dunno for sure exactly what I shall add.
I also looked in ui_shared.h and ui_shared.c, where the function menuDef_t *Menus_ActivateByName(const char *p) is defined, but I can't seem to #include the file in g_trigger.c or anything.
Suggestions, anyone? Maybe the RPG modders has a clue?
/me is noob... -_-