LlGetSimulatorHostname/fr
From Second Life Wiki
| Portail LSL | | | Fonctions | | | Évènements | | | Types | | | Constantes | | | Contrôle d'exécution | | | Bibliothèque de scripts | | | Tutoriels |
Description
Fonction: string llGetSimulatorHostname( );| 283 | N° de fonction |
| 10.0 | Délai |
| 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 |

