ScarDoc

Start typing to search the SCAR reference.

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

  • entityEntityIDrequired
  • blueprintsEBP/EntityType/Tablerequired

Returns

Boolean

Source

Declared in the game's script sources at:

scar/entity.scar