create_gameplay_tag
Add and register a gameplay tag in the current Unreal Editor session before using it in DataTable rows or properties; unregistered tags silently reset to None.
Instructions
Add a new gameplay tag to the project's DefaultGameplayTags.ini AND register it LIVE in this editor session -- that live half is why you must call this before writing the tag into a DataTable row or a property, since an unregistered tag string is silently reset to None by the importers. But it REWRITES THE WHOLE INI: the list comes back alphabetised, every comment block is deleted, and other tags' DevComments are re-serialised and normalised, so adding one tag can produce a diff full of unrelated insertions and deletions. Copy the ini first; the oracle is git diff --stat showing your N insertions and ZERO deletions, and if not, git checkout the ini and re-insert only your line (the tag stays registered live either way -- confirm with find_gameplay_tag).
Returns: { tag_name: string, success: bool, tag_string: string, message: string }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag_name | Yes | Name of the gameplay tag to create or check | |
| dev_comment | No | Optional developer comment for the tag | |
| source_name | No | Optional explicit source INI name |