AraragiAriel
New member
Hey! Is it possible to have a SharedVariable inherit from another SharedVariable?
I have these two classes from which I created their respectives SharedVariables
But doing it this way doesn't make it so that SharedEnemyMelee automatically inherits from SharedEnemy. Or at least I'm not able to use SharedEnemyMelee in a task which needs a SharedEnemy, which would be possible outside of SharedVariables.
I also tried to inherit directly from SharedEnemy, but this way, even though it compiles, I can longer access the Value on the SharedEnemyMelee.
Is there a proper way to set up the inheritance?
Thanks!
I have these two classes from which I created their respectives SharedVariables
But doing it this way doesn't make it so that SharedEnemyMelee automatically inherits from SharedEnemy. Or at least I'm not able to use SharedEnemyMelee in a task which needs a SharedEnemy, which would be possible outside of SharedVariables.
I also tried to inherit directly from SharedEnemy, but this way, even though it compiles, I can longer access the Value on the SharedEnemyMelee.
Is there a proper way to set up the inheritance?
Thanks!