cityrp.buildingProps
Whole-building props, which fire and breaching charges leave standing the way they do the map's own buildings.
- Sharedcityrp.buildingProps.IsBuilding(ent) → booleanSource ☍
-
Whether an entity is a whole-building prop that fire and breaching charges must not destroy.
Parameters
- entEntityThe entity to check.
Returns
- booleanTrue if the entity is valid and its model is in
cityrp.buildingProps.models.
- Sharedcityrp.buildingPropsSource ☍
- Sharedcityrp.buildingProps.modelsSource ☍
-
Models of whole-building props, keyed by lowercased model path. Only whole buildings belong here: modular pieces such as the
models/ue4/buildings/facades ormodels/housepack3/paintbrush_kits/would make fireproof, breach-proof walls. House Pack 3 lists only its_nodoorsvariants, whose doorways take player door props that stay flammable and breachable; the variants with doors modelled in would be sealed, immune shells.