English (United Kingdom) Hebrew (Israel)

    Development environmet specification - style mama

    Contents

    Standard Objects

    General

    camera

    light

    visualization



    Standard Operations

    Functions

      • <a>!=<b>
      • <a><<b>
      • <a><=<b>
      • <a><b>
      • <a>+<b>
      • <a>=<b>
      • <a>==<b>
      • <element>.<propertyName>
      • <owner>.partNamed("<key>")
      • <subject>.distanceAbove(<object>)
      • <subject>.distanceBehind(<object>)
      • <subject>.distanceBelow(<object>)
      • <subject>.distanceInFrontOf(<object>)
      • <subject>.distanceTo(<object>)
      • <subject>.distanceToTheLeftOf(<object>)
      • <subject>.distanceToTheRightOf(<object>)
      • <subject>.getCurrentPose()
      • <subject>.getDepth()
      • <subject>.getHeight()
      • <subject>.getOrientation()
      • <subject>.getPointOfView()
      • <subject>.getPosition()
      • <subject>.getWidth()
      • <subject>.isAbove(<object>)
      • <subject>.isBehind(<object>)
      • <subject>.isBelow(<object>)
      • <subject>.isCloseTo(<threshold>, <object>)
      • <subject>.isFarFrom(<threshold>, <object>)
      • <subject>.isInFrontOf(<object>)
      • <subject>.isLargerThan(<object>)
      • <subject>.isNarrowerThan(<object>)
      • <subject>.isShorterThan(<object>)
      • <subject>.isSmallerThan(<object>)
      • <subject>.isTallerThan(<object>)
      • <subject>.isToTheLeftOf(<object>)
      • <subject>.isToTheRightOf(<object>)
      • <subject>.isWiderThan(<object>)
      • <what>.toString()
      • (<a> and <b>)
      • (<a> or <b>)
      • (<a>%<b>)
      • (<a>*<b>)
      • (<a>+<b>)
      • (<a>-<b>)
      • (<a>/<b>)
      • Random.nextBoolean()
      • Random.nextDouble()
      • getVector(<right>, <up>, <forward>)
      • not <a>
      • whatWasPicked()

    Functions - array

      • <array>[<index>]
      • <array>.length

    Functions - ask

      • BooleanDialog(<question>)
      • NumberDialog(<question>)
      • StringDialog(<question>)

    Functions - list

      • <list>[<index>]
      • <list>[0]
      • <list>.contains(<item>)
      • <list>.getLastItem()
      • <list>.getRandomItem()
      • <list>.indexOf(<item>)
      • <list>.isEmpty()
      • <list>.lastIndexOf(<item>)
      • <list>.size()

    Functions - math

      • IEEERemainder(<a>, <b>)
      • PI()
      • abs(<a>)
      • acos(<a>)
      • asin(<a>)
      • atan(<a>)
      • atan2(<a>, <b>)
      • ceil(<a>)
      • cos(<a>)
      • exp(<a>)
      • floor(<a>)
      • max(<a>, <b>)
      • min(<a>, <b>)
      • natural_log(<a>)
      • pow(<a>, <b>)
      • round(<a>)
      • sin(<a>)
      • sqrt(<a>)
      • superSquareRoot(<a>, <b>)
      • tan(<a>)
      • toDegrees(<a>)
      • toRadians(<a>)

    Functions - mouse

      • Mouse.getDistanceFromLeftEdge()
      • Mouse.getDistanceFromTopEdge()

    Functions - time

      • getDayOfMonth()
      • getDayOfWeek()
      • getDayOfWeekInMonth()
      • getDayOfYear()
      • getHourOfAMOrPM()
      • getHourOfDay()
      • getMinuteOfHour()
      • getMonthOfYear()
      • getSecondOfMinute()
      • getTimeElapsedSinceWorldStart()
      • getYear()
      • isAM()
      • isPM()

    Functions - userdefined

      • # <text>
      • <element>.set_<propertyName>(<value>);
      • <userDefinedQuestion>(<requiredActualParameters>)
      • assert <condition>,<text>
      • print <text>, <object>
      • return <value>

    Functions - vector3

      • <vector3>.getDistanceForward()
      • <vector3>.getDistanceRight()
      • <vector3>.getDistanceUp()

    General

      • runKeyframeAnimationOn(<subject>);
      • runOrientationKeyframeAnimationOn(<subject>);
      • runPositionKeyframeAnimationOn(<subject>);
      • runScaleKeyframeAnimationOn(<subject>);

    Methods

      • # <text>
      • <element>.set_<propertyName>(<value>);
      • <element>.set_vehicle(<value>);
      • <script>
      • <subject>.constrainToPointAt(<target>);
      • <subject>.fadeToBlack();
      • <subject>.fadeUpFromBlack();
      • <subject>.fallDown();
      • <subject>.getAGoodLookAt(<target>);
      • <subject>.getCharacterView(<asSeenBy>);
      • <subject>.getCloseUpOf(<asSeenBy>);
      • <subject>.getTwoShotOf(<asSeenBy>, <asSeenBy2>);
      • <subject>.keepTouching(<target>);
      • <subject>.kneel();
      • <subject>.lieDown(<target>);
      • <subject>.look(<lookDirection>);
      • <subject>.lookAt(<target>);
      • <subject>.move(<direction>, <amount>);
      • <subject>.moveAtSpeed(<direction>, <speed>);
      • <subject>.moveAwayFrom(<target>, <amount>);
      • <subject>.moveTo(<amount>, <spatialRelation>, <asSeenBy>);
      • <subject>.moveToPosition(<position>);
      • <subject>.moveToSceneTripod(<pointOfView>);
      • <subject>.moveToward(<target>, <amount>);
      • <subject>.orientTo(<quaternion>);
      • <subject>.playSound(<sound>);
      • <subject>.pointAt(<target>);
      • <subject>.resize(<amount>);
      • <subject>.roll(<direction>, <amount>);
      • <subject>.rollAtSpeed(<direction>, <speed>);
      • <subject>.say("<what>");
      • <subject>.setPose(<pose>);
      • <subject>.showSubtitle("<what>");
      • <subject>.showTitle("<what>");
      • <subject>.sitOn(<target>);
      • <subject>.standUp();
      • <subject>.straightenUp();
      • <subject>.think("<what>");
      • <subject>.touch(<target>);
      • <subject>.turn(<direction>, <amount>);
      • <subject>.turnAtSpeed(<direction>, <speed>);
      • <subject>.turnAwayFrom(<target>);
      • <subject>.turnToFace(<target>);
      • <subject>.walk(<distance>);
      • <subject>.walkOffScreen();
      • <subject>.walkTo(<target>);
      • <userDefinedMethod>(<requiredActualParameters>);
      • <variable>++
      • <variable>--
      • assert <condition>, <text>;
      • print <text>, <object>;
      • scriptDefinedMethod(<script>);
      • wait(<duration>);

    Methods - array

      • <array>[<index>] = <item>;

    Methods - list

      • <list>.add( 0, <item>);
      • <list>.add(<index>, <item>);
      • <list>.add(<item>);
      • <list>.clear();
      • <list>.remove( 0 );
      • <list>.remove(<index>);
      • <list>.removeLast();

    Methods - vector3

      • <vector3>.setDistanceForward(<value>)
      • <vector3>.setDistanceRight(<value>)
      • <vector3>.setDistanceUp(<value>)