Author Topic: Find the brick creator  (Read 1446 times)

If like a brick is hit by a projectile, How would I find the client that placed the brick?

There are plenty of ways, however, the client might not be there anymore. %brick.getgroup() will return the brickgroup of the owner, and that should have some data on it, probably their BL ID and possibly the client if they are still in-game.

I have tried %brick.getgroup().
Code: [Select]
%brick.getBrickGroup().bl_idAlso i am just looking for the BL_ID.

I have tried %brick.getgroup().
Code: [Select]
%brick.getBrickGroup().bl_idAlso i am just looking for the BL_ID.

Your bit of code there should work.  If not, do %brick.dump(); and %brick.getbrickGroup.dump();
Make sure to replace %brick with the id number of the brick (I.e. use /getid while looking at the brick)

It's getGroup, not getBrickGroup