U
Unregistered
Guest
Hello. I am new to mapmaking and can’t figure out how to do this seemingly simple thing (I am using Roc Editor):
I want to make it so that a building can only be destroyed by one team and not the other. If the building is attacked, I can use the IS ATTACKED event, and then check the ATTACKING player in the conditions, and force him to stop if he is on the wrong team. This works fine if a player attacks the building with his normal attack, but if they use a spell, such as DND, they can still destroy the building and no events are triggered. I tried using the TAKES DAMAGE event, but I can’t find any counterpart of this to use for the conditions.
Can anyone help?
I want to make it so that a building can only be destroyed by one team and not the other. If the building is attacked, I can use the IS ATTACKED event, and then check the ATTACKING player in the conditions, and force him to stop if he is on the wrong team. This works fine if a player attacks the building with his normal attack, but if they use a spell, such as DND, they can still destroy the building and no events are triggered. I tried using the TAKES DAMAGE event, but I can’t find any counterpart of this to use for the conditions.
Can anyone help?


