Several events per trigger, built-in stop and done events
A trigger holds a list of events (Frame Properties lists them like sounds); the first stays its EventId, the rest are <Event Id> children in the editor's copy, and the Isaac warning counts the dropped ones. In extended documents, stop and done are offered as built-in events: listed in italics at the top of Events, locked from renaming, and added to the file when a trigger first uses one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4375844c84
commit
b31a28ebe9
19 files changed
+195
-101
No files matched your search
+1
-1
@@ -227,7 +227,7 @@ namespace anm2ed::model
|
||||
[&](const Track& track, auto*) { used.insert(track.id); });
|
||||
for (const auto& trigger : animation.triggers.frames)
|
||||
{
|
||||
if (type == ElementType::EVENT_ELEMENT) used.insert(trigger.eventId);
|
||||
if (type == ElementType::EVENT_ELEMENT) used.insert(trigger.eventIds.begin(), trigger.eventIds.end());
|
||||
if (type == ElementType::SOUND_ELEMENT) used.insert(trigger.soundIds.begin(), trigger.soundIds.end());
|
||||
}
|
||||
if (type == ElementType::SHADER)
|
||||
|
||||
Reference in new issue
Block a user