The first test version of my new jungle track is available.
#6
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.
Reply


Messages In This Thread
RE: The first test version of my new jungle track is available. - by Sven - 08-08-2026, 04:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Track update "Wildlife Jungle Ruins" approval TuxRacer_0827 6 12,832 28-03-2026, 11:48 AM
Last Post: TuxRacer_0827
  Track Approval of: Wildlife Jungle Ruins TuxRacer_0827 2 8,238 10-02-2026, 11:52 AM
Last Post: TuxRacer_0827

Forum Jump: