Function
Entity
Entity_HasBlueprint
Checks whether an entity is of any of the Blueprints or EntityTypes specified.
On this page
Entity_HasBlueprint(entity, blueprints)Description
Blueprint can be a single Blueprint, a single EntityType, or a table of multiple Blueprints or EntityTypes. If you want to see if an entity has ALL of a set of EntityTypes, then wrap them all in a sub-table.
Parameters
entityEntityIDrequiredblueprintsEBP/EntityType/Tablerequired
Returns
BooleanSource
Declared in the game's script sources at:
scar/entity.scar