Syntax: Select all
from events import Event
from filters.entities import EntityIter
from entities.constants import CollisionGroup
@Event('round_start')
def round_start(args):
for i in EntityIter.iterator():
if i.classname.startswith('hostage_entity'):
i.collision_group = CollisionGroup.DEBRIS_TRIGGER