- Joined
- Mar 28, 2016
- Messages
- 1,623
- Reaction score
- 1,439
- First Language
- French
- Primarily Uses
- RMMV
Hi, maybe i'm wrong, if some can give me the good ways.
How to access to parent property in a sub property ?
i try this but my property self return me Windows ??
example:
$dataArmors[1].meta.Quest = {
self: this,
Status: false,
SubQ: [{
SelfTest: function (){return self.Status}
}]
}
// After i try call test
$dataArmors[1].meta.Quest.SubQ[0].SelfTest() // Return me undefined ?
Ho i only a example, but how i can acces to parent of the SubQ ??
thanks a lot
How to access to parent property in a sub property ?
i try this but my property self return me Windows ??
example:
$dataArmors[1].meta.Quest = {
self: this,
Status: false,
SubQ: [{
SelfTest: function (){return self.Status}
}]
}
// After i try call test
$dataArmors[1].meta.Quest.SubQ[0].SelfTest() // Return me undefined ?
Ho i only a example, but how i can acces to parent of the SubQ ??
thanks a lot
Last edited by a moderator:


