Author Topic: How to Event a Brick Turret that doesn't fire at select BLID's  (Read 1996 times)

How would I event a brick that fires projectiles at nearby players but not myself/allies.

Please tell me the events

with difficulty
a way to do it is with VCE and the floor having onplayertouch, so if the player is touching a brick and their ID is not one you whitelist, then it shoots in that direction

You basically need all the bot events for this:
I am writing this from the top of my head, so this will be loopy and you will need to apply your knowledge to figure out what to make of it:
OnbotSpawn > bot > changedatablock > turret of your choice
onbotspawn > bot > some set-team event, you can put it to mercenary mode with some add-ons and then just add your BL_ID to the little box on the right.
This is not tested and is written in 5 seconds to give you the basic idea of what events to use. Remember, use blockhead holes and all that shenanigans.
And no, i will not write a 100% dedicated/serious post to a question this simple