CHANGED SHAPE/fr
Jump to navigation
Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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>