LlGetSimulatorHostname/fr
From Second Life Wiki
Page Principale > LlGetSimulatorHostname > LlGetSimulatorHostname/fr
| LSL Portal | Fonctions | Évènements | Types | Operateurs | Constantes | Contrôle d'exécution | Bibliothèque | Tutoriels |
Description
Fonction: string llGetSimulatorHostname( );| 283 | N° de fonction |
| 10.0 | Delais |
| 10.0 | Energie |
Renvoie un string correspondant au nom de la machine exécutant le script (identique au nom visible dans la page d’aide du client)
Exemples
// Début d’un script d’informations sur une région string region; string sim; default { state_entry() { llSetTimerEvent(1.0); } timer() { string here = llGetRegionName(); if(region != here) { sim = llGetSimulatorHostname(); region = here; } llSetText( " NOM REGION : " + region + "\n NOM SIM : " + sim + "\n DILATION TEMPORELLE: " + (string)llGetRegionTimeDilation() + "\n FPS REGION: " + (string)llGetRegionFPS(), <0,1,0>, 1.0}; } }
Voir également
Fonctions
| • | llGetRegionFPS | – | Renvoie le nombre d’images par secondes d’une région. | |
| • | llGetRegionTimeDilation | – | Renvoie la dilatation temporelle |
Articles
| • | Simulator IP Addresses | – | Adresse IP des simulateurs |
Vous cherchez encore des informations ? Peut-être cette page du LSLwiki pourra vous renseigner.

