dennysutanto
09/01/2020, 11:14 AMPeter Bertelsen
09/01/2020, 11:56 AMbattk
09/01/2020, 1:03 PMdennysutanto
09/01/2020, 2:16 PMdennysutanto
09/01/2020, 2:32 PMdennysutanto
09/01/2020, 2:33 PMbattk
09/01/2020, 2:34 PMdennysutanto
09/01/2020, 2:37 PMdennysutanto
09/01/2020, 2:42 PMdennysutanto
09/01/2020, 2:43 PMitemRecord = record.load({
type: 'serializedinventoryitem',
id: childrenId,
});
itemRecord.setValue({
fieldId: 'parent',
value: parentId,
});
itemRecord.setValue({
fieldId: 'matrixtype',
value: 'CHILD',
});
itemRecord.setText({
fieldId: 'matrixoptioncustitem_matop_color',
text: ['Blue'],
});
itemRecord.save();
dennysutanto
09/01/2020, 2:43 PMbattk
09/01/2020, 3:08 PMbattk
09/01/2020, 3:09 PMbattk
09/01/2020, 3:09 PMbattk
09/01/2020, 3:10 PMdennysutanto
09/01/2020, 3:12 PMdennysutanto
09/01/2020, 3:37 PMbattk
09/01/2020, 3:45 PMbattk
09/01/2020, 3:45 PMdennysutanto
09/01/2020, 3:48 PMdennysutanto
09/01/2020, 3:49 PMitemRecord.setValue({
fieldId: 'matrixtype',
value: 'CHILD',
});
it works, the item updated successfullybattk
09/01/2020, 3:51 PMbattk
09/01/2020, 3:52 PMdennysutanto
09/01/2020, 3:59 PMdennysutanto
09/01/2020, 4:00 PM