New condition : Checking current scene name

Feature idea :
Add a “Current scene name” condition where you can choose any scene from a drop-down menu. Return true when the current scene name matches the one chosen in the menu. Would be similar to the “scene exists” condition, but only return true when it’s effectively the current scene playing.

Why this feature ?
It is currently possible to have the same result by using the condition “compare two strings” and the expression CurrentSceneName(), but the problem is that the scene name chosen in the condition wouldn’t change dynamically if it’s edited - unlike with a drop-down menu. So that’s mostly about having something more convenient and ergonomic that would help with code maintenance.


It would be mainly useful when you need to add some scene-specific events in some external event sheet used across several scenes.

Update :
So it’s possible to do litterally the exact same thing I described using the extension parameter type : “Scene name (text)”

I wasn’t aware of this, so I guess it makes the feature request less relevant. That said I don’t think extension parameter types are listed anywhere in the Gdevelop documentation (?), which would make their use easier and prevent cases like mine.