GetSaliencyOptionsForNodeGroup(string)
Last updated
Was this helpful?
Last updated
Was this helpful?
Method in
Queries the for what content could possibly run if the node group nodeGroup was run.
This method evaluates all nodes in the given node group, and returns a object for each node. This object contains the current number of passing and failing 'when' clauses on the node, as well as the complexity score for that node. This is the same information that's passed to a object's method. This method is read-only, and calling it will not modify any variable state.
Note that this method does not filter its output, and may include content options whose is greater than zero. It's up to the caller of this function to filter out these options if they're not wanted.
This method can be used to see if any content will appear when a given node group is run. If the collection returned by this method is empty, then running this node group will not result in any content. This can be used, for example, to decide whether to show a 'character can be spoken to' indicator. You can also examine the individal objects to see if any content is available that passes a filter, such as whether content might appear that has a user-defined 'plot critical' tag.
string
nodeGroup
The name of the node group to get available content for.
A collection of objects that may appear if and when the node group nodeGroup
is run.