Add autocompletion for the "Simulate control" action of the Top Down movement behavior (#3767)

This commit is contained in:
Elairyx
2022-03-21 23:15:02 +01:00
committed by GitHub
parent 67810b79ce
commit fa928b35cb
@@ -105,7 +105,9 @@ void DeclareTopDownMovementBehaviorExtension(gd::PlatformExtension& extension) {
"res/conditions/keyboard.png")
.AddParameter("object", _("Object"))
.AddParameter("behavior", _("Behavior"), "TopDownMovementBehavior")
.AddParameter("string", _("Key"))
.AddParameter("stringWithSelector",
_("Key"),
"[\"Left\", \"Right\", \"Up\", \"Down\"]")
.MarkAsAdvanced()
.SetFunctionName("SimulateControl")
.SetIncludeFile(