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.
B
61
S
18
G
14
Posts: 50
Reputation: 18,592

Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 0 guests