Difference between revisions of "LlGetAttached/fr"
Jump to navigation
Jump to search
Gally Young (talk | contribs) m (fixe) |
Void Singer (talk | contribs) m (formatted example) |
||
Line 9: | Line 9: | ||
|constants={{LSL_Constants_Attachment/fr}} | |constants={{LSL_Constants_Attachment/fr}} | ||
|examples= | |examples= | ||
< | <lsl> | ||
default | default | ||
{ | { | ||
Line 29: | Line 29: | ||
} | } | ||
} | } | ||
</ | </lsl> | ||
|helpers | |helpers | ||
|also_functions={{LSL DefineRow||[[llAttachToAvatar/fr|llAttachToAvatar]]|Permet d'attacher un objet à un avatar}} | |also_functions={{LSL DefineRow||[[llAttachToAvatar/fr|llAttachToAvatar]]|Permet d'attacher un objet à un avatar}} |
Revision as of 16:18, 18 February 2008
LSL Portail Francophone | LSL Portail Anglophone | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: integer llGetAttached( );224 | N° de fonction |
0.0 | Delais |
10.0 | Energie |
Renvoie un integer correspondant au point d'attachement de l'objet ou renvoie zéro si l'objet n'est pas attaché.
|
|
|
Exemples
<lsl> default {
attach(key id) { if(id)//l'objet est attaché { if(llGetAttached() != ATTACH_LHAND) { llOwnerSay("Atachez moi à la main gauche svp"); llRequestPermissions(id, PERMISSION_ATTACH); } } } run_time_permissions(integer a) { if(a & PERMISSION_ATTACH) llDetachFromAvatar(); }
} </lsl>
Voir également
Évènement
• | attach | – | Evènement déclenché lorsque l'objet est attaché ou détaché. |
Fonctions
• | llAttachToAvatar | – | Permet d'attacher un objet à un avatar | |
• | llDetachFromAvatar | – | Permet de détacher un objet d'un avatar |
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.