Author Topic: Place_Brick and Destroy_Brick events  (Read 1969 times)

when you add bricks is position specified relative to the brick on which the event is triggered? what about rotations - should those be relative too?
These are important questions to consider.

A simple way of doing it could be something like

onInput > target > brickPlant [lst brickdata](the brick being planted) [int pos](xyz where it should be planted) [int rot](the rotation of the brick) [str groupName](apply a name to the brick/group)

onInput > target > brickRemove [lst brick data] [str groupName] [bool](if checked will look for brick size data and remove it instead of by group name)

idk just some thoughts

These are important questions to consider.

A simple way of doing it could be something like

onInput > target > brickPlant [lst brickdata](the brick being planted) [int pos](xyz where it should be planted) [int rot](the rotation of the brick) [str groupName](apply a name to the brick/group)

onInput > target > brickRemove [lst brick data] [str groupName] [bool](if checked will look for brick size data and remove it instead of by group name)

idk just some thoughts
This would make the add on more manageable in the long run
/support

potentially a way to remove bricks based on location instead of name

and if people are really worried about abuse from accidentally leaving it on, can enable/disable the event with a command and show it at server start, defaulting to off on start