This is for sections that are inherited, and you want to know what section the inherited value comes from.
[WeaponPointing] Hits = 10000 [Weapons@WeaponPointing] Plasma = true Beam = true [Enemy@Weapons] Type = Boss
if (orxConfig_HasSection("Enemy")){ if (orxConfig_PushSection("Enemy") != orxSTATUS_FAILURE){ orxU32 hits = orxConfig_GetU32("Hits"); const orxSTRING sectionHitIsIn = orxConfig_GetValueSource("Hits"); } }
10000
WeaponPointing