diff --git a/libraries/entities/src/EntityScriptingInterface.h b/libraries/entities/src/EntityScriptingInterface.h index a8770bbd33..fca0dad871 100644 --- a/libraries/entities/src/EntityScriptingInterface.h +++ b/libraries/entities/src/EntityScriptingInterface.h @@ -709,6 +709,8 @@ public slots: /**jsdoc * Finds all domain and avatar entities that intersect a sphere. + *
Note: Server entity scripts only find entities that have a server entity script + * running in them or a parent entity. You can apply a dummy script to entities that you want found in a search.
* @function Entities.findEntities * @param {Vec3} center - The point about which to search. * @param {number} radius - The radius within which to search. @@ -723,6 +725,8 @@ public slots: /**jsdoc * Finds all domain and avatar entities whose axis-aligned boxes intersect a search axis-aligned box. + *Note: Server entity scripts only find entities that have a server entity script + * running in them or a parent entity. You can apply a dummy script to entities that you want found in a search.
* @function Entities.findEntitiesInBox * @param {Vec3} corner - The corner of the search AA box with minimum co-ordinate values. * @param {Vec3} dimensions - The dimensions of the search AA box. @@ -734,6 +738,8 @@ public slots: /**jsdoc * Finds all domain and avatar entities whose axis-aligned boxes intersect a search frustum. + *Note: Server entity scripts only find entities that have a server entity script + * running in them or a parent entity. You can apply a dummy script to entities that you want found in a search.
* @function Entities.findEntitiesInFrustum * @param {ViewFrustum} frustum - The frustum to search in. Theposition
, orientation
,
* projection
, and centerRadius
properties must be specified. The fieldOfView
@@ -749,6 +755,8 @@ public slots:
/**jsdoc
* Finds all domain and avatar entities of a particular type that intersect a sphere.
+ * Note: Server entity scripts only find entities that have a server entity script + * running in them or a parent entity. You can apply a dummy script to entities that you want found in a search.
* @function Entities.findEntitiesByType * @param {Entities.EntityType} entityType - The type of entity to search for. * @param {Vec3} center - The point about which to search. @@ -764,6 +772,8 @@ public slots: /**jsdoc * Finds all domain and avatar entities with a particular name that intersect a sphere. + *Note: Server entity scripts only find entities that have a server entity script + * running in them or a parent entity. You can apply a dummy script to entities that you want found in a search.
* @function Entities.findEntitiesByName * @param {string} entityName - The name of the entity to search for. * @param {Vec3} center - The point about which to search.