CHANGED SHAPE/fr
Jump to navigation
Jump to search
| LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Constante: integer CHANGED_SHAPE = 0x4;La constante CHANGED_SHAPE de type integer a la valeur 0x4
Le type de primitive (boîte, prisme, tore …) ou sa forme (taper, twist, cut …) ont changé.
Articles connexes
Exemples
<lsl> default {
changed(integer changement)
{
if (changement & CHANGED_SHAPE) // Notez que c'est & et pas &&... c'est bit à bit !
{
llOwnerSay("La forme de la prim a changé.");
}
}
} </lsl>