- Joined
- Jul 27, 2014
- Messages
- 104
- Reaction score
- 39
- First Language
- Spain Spanish
- Primarily Uses
Im doing some event whit script in mv and i'm having such a problem:
I need a way to issolate the values of a concrete property of all objects inside a new array, i mean
for this array
[
object{
id:1
name:blalba
},
object{
id:34
name:blalba
},
object{
id:6789
name:blalba
}
]
Its only a example, i want to get all the id parameter value of all objects in the array and save it in a new array, and the new array has to look somthing like:
[1, 34, 6789]
I need a way to issolate the values of a concrete property of all objects inside a new array, i mean
for this array
[
object{
id:1
name:blalba
},
object{
id:34
name:blalba
},
object{
id:6789
name:blalba
}
]
Its only a example, i want to get all the id parameter value of all objects in the array and save it in a new array, and the new array has to look somthing like:
[1, 34, 6789]
Last edited by a moderator:
