LlGetSimulatorHostname/fr: Difference between revisions
Jump to navigation
Jump to search
Gally Young (talk | contribs) Localized to french |
Gally Young (talk | contribs) m fixes |
||
| Line 42: | Line 42: | ||
|also_tests | |also_tests | ||
|also_events | |also_events | ||
|also_articles={{LSL DefineRow||[[ | |also_articles={{LSL DefineRow||[[Simulator IP Addresses]]|Adresse IP des simulateurs}} | ||
|notes | |notes | ||
|cat1=Region/fr | |cat1=Region/fr | ||
Latest revision as of 14:34, 19 March 2008
| LSL Portail Francophone | LSL Portail Anglophone | 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)
Avertissements
- Cette fonction fait dormir le script pendant 10.0 secondes.
Exemples
<lsl> // 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};
}
} </lsl>
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.