-
Notifications
You must be signed in to change notification settings - Fork 94
get_named_entity_prop
Jan Boon edited this page Mar 12, 2023
·
4 revisions
title: Get Named Entity Prop description: published: true date: 2023-03-12T12:40:50.229Z tags: editor: markdown dateCreated: 2023-03-12T11:41:24.339Z
The getNamedEntityProp native AI script function retrieves the content of a named entity property. Valid property names for this function are:
- state
- param1
- param2
The name of the entity cannot be retrieved, as it must be known to access the entity.
(content: s)getNamedEntityProp(name: s, prop: s) // getNamedEntityProp_ss_s
- name (string): The name of the named entity.
- prop (string): The property of the named entity to retrieve.
- content (string): The content of the specified field.
($state)getNamedEntityProp("Invasion", "state")
This example code retrieves the content of the state
property of the named entity with the name Invasion
.