The deactivateEasterEgg native AI script function calls the EGS function CCharacterControl::deactivateEasterEgg
to deactivate an Easter Egg in the game world. It is used for the lootable items spawned by the Ryzom Ring scenario, not for the lootable item bags dropped by characters exiting a scenario session.
()deactivateEasterEgg(easterEggId: f, sessionId: f, actId: f) // deactivateEasterEgg_fff_
()deactivateEasterEgg(0, 4, 1);
This example code deactivates an Easter Egg with an ID of 0, in session ID 4, and an act ID of 1.
This function deactivates a scenario-generated Easter Egg. The activateEasterEgg
function can be used to activate an Easter Egg.