Sign In Register

How can we help you today?

Start a new topic

Allow for optional arguments with a null default value in custom events

As per this discussion:

https://support.gamesparks.net/support/discussions/topics/1000083758/page/last#post-1000205583


Currently, the only way to make a custom event argument optional is by inputting a default value. This default value cannot be an empty string, otherwise the argument will be mandatory.


I (and 2 other developers in the linked thread) have run into situations where it would be desirable to make an argument optional, but take on a value of null (or empty string) as the default value.


Would be nice to have a "null default value" checkbox or similar functionality in the custom event dialog.


20 people like this idea

Any word on this? It's pretty standard ;D following up after a year

Login to post a comment