Simple Array Suggestion

Discussion and feedback on Construct 2

Post » Sun May 20, 2012 9:24 pm

Just a thought -- add an action to the Array object called "Remove". I see that the action "Delete" exists but takes the index of the element as the parameter. "Remove" would take the actual data value and delete the first instance of it occurring in the array (similar to the "remove" method from the ArrayList class in Java 6). At present, the exact same functionality can be obtained by the command:
Delete index ArrayName.IndexOf(ItemName) from X axis

but I think a single command would be more elegant.

Thanks for reading.
Posts: 52
Reputation: 20,490

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests