Difference between revisions of "State entry/pl"

From Second Life Wiki
Jump to navigation Jump to search
Line 26: Line 26:
|also_functions={{LSL DefineRow||[[llResetScript/pl]]|Resetuje skrypt}}
|also_functions={{LSL DefineRow||[[llResetScript/pl]]|Resetuje skrypt}}
{{LSL DefineRow||[[llResetOtherScript/pl]]|Resetuje inny skrypt w inwentarzu}}
{{LSL DefineRow||[[llResetOtherScript/pl]]|Resetuje inny skrypt w inwentarzu}}
{{LSL DefineRow||[[llGetStartParameter/pl]]|Zwraca [[on_rez]] parameter (lub [[llRemoteLoadScriptPin/pl]] parameter)}}
{{LSL DefineRow||[[llGetStartParameter/pl]]|Zwraca [[on_rez]] parameter (lub [[llRemoteLoadScriptPin/pl]])}}
|also_articles
|also_articles
|also_footer
|also_footer

Revision as of 09:29, 23 February 2008

Event: state_entry( ){ ; }

Wywołane przy przełączeniu stanu lub włączeniu stanu


Specyfikacja

Wywoływane przez

  1. Zapisanie skryptu lub dodanie go do obiektu
  2. Zmienienie stanu
  3. Skopiowanie obiektu z skryptem

Nie Wywoływane przez

  1. Kiedy obiekt jest rezowany z już zapisanym skryptem

Przykłady

<lsl>default {

   state_entry()
   {
       llSay(0, "Hello, Avatar!");
   }

}</lsl>

Zobacz również

Zdarzenia

•  on_rez/pl Wywołane rezowaniem obiektu
•  state_exit/pl Wywołane gdy opuści się dany stan

Funkcje

•  llResetScript/pl Resetuje skrypt
•  llResetOtherScript/pl Resetuje inny skrypt w inwentarzu
•  llGetStartParameter/pl Zwraca on_rez parameter (lub llRemoteLoadScriptPin/pl)