<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=State_entry%2Fzh</id>
	<title>State entry/zh - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.secondlife.com/w/index.php?action=history&amp;feed=atom&amp;title=State_entry%2Fzh"/>
	<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=State_entry/zh&amp;action=history"/>
	<updated>2026-04-03T17:46:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=State_entry/zh&amp;diff=49898&amp;oldid=prev</id>
		<title>Hsinsung Emert at 02:25, 19 January 2008</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=State_entry/zh&amp;diff=49898&amp;oldid=prev"/>
		<updated>2008-01-19T02:25:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:25, 18 January 2008&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{LSL_Event&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{LSL_Event&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;/zh&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|event_id=0|event_delay|event=state_entry&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|event_id=0|event_delay|event=state_entry&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|event_desc=Triggered on any state transition and startup&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|event_desc=Triggered on any state transition and startup&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Hsinsung Emert</name></author>
	</entry>
	<entry>
		<id>https://wiki.secondlife.com/w/index.php?title=State_entry/zh&amp;diff=49897&amp;oldid=prev</id>
		<title>Hsinsung Emert: New page: {{LSL_Event |event_id=0|event_delay|event=state_entry |event_desc=Triggered on any state transition and startup |constants |spec= === Triggered === #Script save or adding to object #State ...</title>
		<link rel="alternate" type="text/html" href="https://wiki.secondlife.com/w/index.php?title=State_entry/zh&amp;diff=49897&amp;oldid=prev"/>
		<updated>2008-01-19T02:23:40Z</updated>

		<summary type="html">&lt;p&gt;New page: {{LSL_Event |event_id=0|event_delay|event=state_entry |event_desc=Triggered on any state transition and startup |constants |spec= === Triggered === #Script save or adding to object #State ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{LSL_Event&lt;br /&gt;
|event_id=0|event_delay|event=state_entry&lt;br /&gt;
|event_desc=Triggered on any state transition and startup&lt;br /&gt;
|constants&lt;br /&gt;
|spec=&lt;br /&gt;
=== Triggered ===&lt;br /&gt;
#Script save or adding to object&lt;br /&gt;
#State change&lt;br /&gt;
#*A [[state_exit]] is triggered in the old state and the [[state_entry]] is triggered in the new state. All other events in the queue are lost as result of the state change.&lt;br /&gt;
#On script reset, either by client or [[llResetScript]]/[[llResetOtherScript]]&lt;br /&gt;
#When the object is rezzed &amp;#039;&amp;#039;without&amp;#039;&amp;#039; a saved script status&lt;br /&gt;
#*If it was a copy taken from inworld&lt;br /&gt;
#*If the event had not been triggered due to no-script land.&lt;br /&gt;
&lt;br /&gt;
=== Not Triggered ===&lt;br /&gt;
#When the object is rezzed &amp;#039;&amp;#039;with&amp;#039;&amp;#039; saved script status&lt;br /&gt;
#*Use [[on_rez]] event in this situation&lt;br /&gt;
|caveats&lt;br /&gt;
|examples=&lt;br /&gt;
&amp;lt;Pre&amp;gt;&lt;br /&gt;
default&lt;br /&gt;
{&lt;br /&gt;
    state_entry()&lt;br /&gt;
    {&lt;br /&gt;
        llSay(0, &amp;quot;Hello, Avatar!&amp;quot;);&lt;br /&gt;
    }&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/Pre&amp;gt;&lt;br /&gt;
|helpers&lt;br /&gt;
|also_header&lt;br /&gt;
|also_events={{LSL DefineRow||[[on_rez]]|Triggered when the object is rezzed}}&lt;br /&gt;
{{LSL DefineRow||[[state_exit]]|Triggered when the state is exited at state change}}&lt;br /&gt;
|also_functions={{LSL DefineRow||[[llResetScript]]|Resets the script}}&lt;br /&gt;
{{LSL DefineRow||[[llResetOtherScript]]|Resets another script in the prim}}&lt;br /&gt;
{{LSL DefineRow||[[llGetStartParameter]]|The [[on_rez]] parameter (or [[llRemoteLoadScriptPin]] parameter)}}&lt;br /&gt;
|also_articles&lt;br /&gt;
|also_footer&lt;br /&gt;
|notes&lt;br /&gt;
|mode&lt;br /&gt;
|deprecated&lt;br /&gt;
|cat1=Script&lt;br /&gt;
|cat2=State&lt;br /&gt;
|cat3&lt;br /&gt;
|cat4&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Hsinsung Emert</name></author>
	</entry>
</feed>