View Single Post
Re: PMB, SpawnPost for other entities?
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: PMB, SpawnPost for other entities? - 12-04-2004

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.


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me

Last edited by stefanhendriks; 12-04-2004 at 16:23..
  
Reply With Quote