Difference between revisions of "State entry/pl"

From Second Life Wiki
Jump to navigation Jump to search
Line 22: Line 22:
|helpers
|helpers
|also_header
|also_header
|also_events={{LSL DefineRow||[[on_rez]]|Wywołane rezowaniem obiektu }}
|also_events={{LSL DefineRow||[[on_rez/pl]]|Wywołane rezowaniem obiektu }}
{{LSL DefineRow||[[state_exit]]|Wywołane gdy opuści się dany stan}}
{{LSL DefineRow||[[state_exit/pl]]|Wywołane gdy opuści się dany stan}}
|also_functions={{LSL DefineRow||[[llResetScript]]|Resetuje skrypt}}
|also_functions={{LSL DefineRow||[[llResetScript/pl]]|Resetuje skrypt}}
{{LSL DefineRow||[[llResetOtherScript]]|Resetuje inny skrypt w inwentarzu}}
{{LSL DefineRow||[[llResetOtherScript/pl]]|Resetuje inny skrypt w inwentarzu}}
{{LSL DefineRow||[[llGetStartParameter]]|Zwraca [[on_rez]] parameter (lub [[llRemoteLoadScriptPin]] parameter)}}
{{LSL DefineRow||[[llGetStartParameter/pl]]|Zwraca [[on_rez]] parameter (lub [[llRemoteLoadScriptPin/pl]] parameter)}}
|also_articles
|also_articles
|also_footer
|also_footer

Revision as of 09:24, 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 parameter)