Check for buildings?

Beesafree

L1: Registered
Jun 11, 2011
32
4
is there a way to see if part of a building (or all of it) is in a certain area?
and by building i mean engies buildings....

like a trigger
or anything
 

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
For what purpose?

If we knew why you need it, we could tell you how.

There's no trigger who's purpose is for this, but there might be I/O commands that can interact with them under certain circumstances. A Boojum Snark will probably be the one to know 100% though.
 
Last edited:

Beesafree

L1: Registered
Jun 11, 2011
32
4
mmk
im making a destroyable terrain (lag city/whatever/no gibs)
i want buildings to be place-able (so engies aren't useless)
although the obvious problem is that if the building is placed and the ground below is destroyed, we have a floating building

so.....
i want to check the place above the destroyable terrain for a building, and if there is a building:
set hp to 500000/whatever of the block it's on, do this every minute or so (or have a logic controller)
when building is destroyed set the terrains hp back to starting hp (i realize this causes the block to heal, not to big of a deal)

...
 

Beesafree

L1: Registered
Jun 11, 2011
32
4
does nobuild destroy buildings already there, though?
if not it doesnt matter....
as the terrain in which they could build on would be gone, rendering nobuild useless

i've thought of using this idea if another way didn't seem evident
 
Last edited:

grazr

Old Man Mutant Ninja Turtle
aa
Mar 4, 2008
5,441
3,814
The "payload" setup has a trigger_hurt on the front of the cart which affects engi buildings but not clients. So when the payload reaches a building it destroys it. Obviously the payload doesn't hurt players. You could look into implementing that. When the ground is destroyed it triggers the trigger_hurt and destroys all buildings within its volume.
 

Beesafree

L1: Registered
Jun 11, 2011
32
4
hmmm
that link helped a lot.....
although my trigger isn't triggering it seems....

hmmm, might just have to destroy buildings XD, have a "safe" area, for them to camp, since in arena maps, engies dont move much
 

A Boojum Snark

Toraipoddodezain Mazahabado
aa
Nov 2, 2007
4,775
7,669
Either the trigger or the buildings must be in motion for them to interact. You'll have to parent your trigger to a door or something that moves 3 units or so when you want the destruction to occur. (Also, make sure you have the Everything flag checked on the trigger)