Skip to content

Add selected trigger property to Level (Lua)#1162

Merged
chreden merged 2 commits intomasterfrom
issue/1161
Aug 1, 2023
Merged

Add selected trigger property to Level (Lua)#1162
chreden merged 2 commits intomasterfrom
issue/1161

Conversation

@chreden
Copy link
Copy Markdown
Owner

@chreden chreden commented Jul 31, 2023

Add a selected_trigger to the Level bindings. This is read/write and will select the trigger as normal.
Also update tests for item/room/trigger selection to make sure they forward the events and that the viewer unregisters correctly when it loads another level.
Closes #1161

Add a `selected_trigger` to the `Level` bindings. This is read/write and will select the trigger as normal.
Also update tests for item/room/trigger selection to make sure they forward the events and that the viewer unregisters correctly when it loads another level.
Closes #1161
@chreden chreden added the scripting Lua integration label Jul 31, 2023
@chreden chreden added this to the Next milestone Jul 31, 2023
@chreden chreden requested review from lahm86 and makotocchi July 31, 2023 11:45
@chreden chreden self-assigned this Jul 31, 2023
@chreden chreden merged commit 05cab7f into master Aug 1, 2023
@chreden chreden deleted the issue/1161 branch August 1, 2023 07:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scripting Lua integration

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add selected_trigger to Level properties

3 participants