Difference between revisions of "State entry/pl"

From Second Life Wiki
Jump to navigation Jump to search
(New page: {{LSL_Event |event_id=0|event_delay|event=state_entry |event_desc=Wywołane przy przełączeniu stanu lub włączeniu stanu |constants |spec= === Wywoływane przez === #Zapisanie skryptu l...)
 
m
 
(18 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{LSL_Event
{{LSL_Event/pl
|event_id=0|event_delay|event=state_entry
|event_id=0|event_delay|event=state_entry
|event_desc=Wywołane przy przełączeniu stanu lub włączeniu stanu
|event_desc=Wywołane przy przełączeniu stanu lub włączeniu stanu
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]])}}
|also_articles
|also_articles
|also_footer
|also_footer
Line 32: Line 32:
|mode
|mode
|deprecated
|deprecated
|cat1=Script
|cat1=Script/pl
|cat2=State
|cat2=State/pl
|cat3
|cat3
|cat4
|cat4
}}
}}

Latest revision as of 15:43, 26 March 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)