While active, the avatar cannot fly. When the restriction is added, a flying avatar is landed straight away.
@fly=<n|y>
gAgent.setFlying(false)). If the same object already holds @fly, sending @fly=n again does nothing, so it won't land an avatar that is flying for some other reason.@fly, LLAgent::canFly() returns false and setFlying(true) is refused, so the Fly button, the Home/PgUp keys and holding "up" while jumping all fail.llOwnerSay("@fly=n"); // grounded
llOwnerSay("@fly=y");
RRInterface::add() lands the avatar before storing the restriction (RRInterface.cpp 1259-1261). refreshCachedVariable() keeps mContainsFly up to date (435) and refreshes the Stand/Stop-flying buttons (592-603).LLAgent::canFly() and LLAgent::setFlying() (llagent.cpp 1082-1150), and button visibility in llmoveview.cpp 563-575.No differences found between Marine's RLV and CoolVL (CoolVL mkrlinterface.cpp 653-656, 1398-1401). CoolVL lists fly as blacklistable. Marine's blacklist is disabled.
This command works differently from RLVa's @fly; see the comparison.