Create Grass

18 August 2015

  • Release 8.43 - added.
creategrass (Commands)
TypeCorrade progressive command
Commandcreategrass
DescriptionCorrade can create Linden grass by using the creategrass command.
Permissionsinteract
Parametersgroup, password, position, type
Last ChangesRelease 8.43 - added.

Corrade can create Linden grass by using the creategrass command.

Command Required Parameters Required Corrade Permissions Example
creategrass group, password, position, type interact
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "creategrass",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            // create the grass at the same location
            // as the primitive that contains this
            // script
            "position", wasURLEscape(
                (string)llGetPos()
            ),
            // create some undergrowth
            "type", "Undergrowth1"
        ]
    )
);

Type is one of the tree types of the Grass enumeration.

Optional Parameter Possible Value Description
rotation A rotation in quaternions. The primitive rotation. If not specified, the primitive will have a zero rotation.
region A region name. The region where to create the primitive. If not specified, the primitive will be created in the local simulator.
scale A vector describing the scale of the primitive to create. The size of the the primitive to create. If not specified the primitive will be scaled to $0.5m$ on all three axes.

secondlife/scripted_agents/corrade/api/progressive/commands/creategrass.txt ยท Last modified: 2017/02/22 18:27 (external edit)

Access website using Tor


For the copyright, license, warranty and privacy terms for the usage of this website please see the license and privacy pages.