How to call parent function from an overriden function?

Hello,
I’m looking for a way to call the parent class function from an overridden function. In the following example, only “child” is printed, but I’d also like “parent” to be printed.

# Parent class
character := class():
    Test<internal>() : void=
        Print("Parent")

# Child class
team_1_character := class(character):
    Test<override>() : void=
        Print("Child")

# Result : "Child" 
Team1Character : team_1_character = team_1_character{}
Team1Character.Test()

Thanks in advance

You basically need to call (super:)Test()

3 Likes

Fantastic! Thank you so much