Update:
i have tried several things, like changing into SOLID_BSP and the like. Nothing gives me the satisfied result.
I did not find anything that could help me further. I have set the worldbrush flag and such but it still gives me "wordspawn" when it hits the button. So, this leaves me to the following:
Could it be possible that the box of this trigger_multiple is so big, that the 'center' of it will be in a wall (worldspawn). Therefor the wall will be 'hit' and not the trigger multiple?
I have simply no other clue how to fix this.
edit: before anyone wants to 'fix' me on this:
i used the following code:
Code:
// is this a trigger_multiple ?
if (strcmp(STRING(pent->v.classname), "trigger_multiple") == 0)
{
pent->v.flags &= ~FL_WORLDBRUSH; // then clear the FL_WORLDBRUSH flag
pent->v.flags |= FL_WORLDBRUSH; // make it detectable!
//pent->v.solid = SOLID_TRIGGER;
//pent->v.solid = SOLID_BSP;
SERVER_PRINT("Adjusted a trigger_multiple\n");
}
as you can see, here i clear it, and then set it back to FL_WORLDBRUSH. I tried several combinations of this.