blueprint
InkCPP Choice Handling
- Exposure: unlisted
- UE Version: 5.3
If a choice is required from the story, a OnChoice event is triggered. This contains an Array of all the options.
To select a choice, the position of the array is fed as index into PickChoice.
A choice can be annotated with tags. If the syntax "EnumName:FlagName" is used, the Enum value can be extracted from a list of tags. !! if the enum is not fond, a value of 0 is returned !!