08-08-2026, 04:52 PM
Yes having objects only in race mode and not egg hunt is possible and the other way around too.
Add this too your scripting.as file:
bool isEasterEgg(Track::TrackObject@ obj)
{
// enum RaceManager::MINOR_MODE_EASTER_EGG is 3000
return Track::getMinorRaceMode() == 3000;
}
bool isNotEasterEgg(Track::TrackObject@ obj)
{
// enum RaceManager::MINOR_MODE_EASTER_EGG is 3000
return Track::getMinorRaceMode() != 3000;
}
Then in the "visible if" option box you can put "isEasterEgg" for objects that should only be visible in egg hunt and "isNotEasterEgg" for objects that should only be visible in race modes.
Add this too your scripting.as file:
bool isEasterEgg(Track::TrackObject@ obj)
{
// enum RaceManager::MINOR_MODE_EASTER_EGG is 3000
return Track::getMinorRaceMode() == 3000;
}
bool isNotEasterEgg(Track::TrackObject@ obj)
{
// enum RaceManager::MINOR_MODE_EASTER_EGG is 3000
return Track::getMinorRaceMode() != 3000;
}
Then in the "visible if" option box you can put "isEasterEgg" for objects that should only be visible in egg hunt and "isNotEasterEgg" for objects that should only be visible in race modes.

