<tutorial parent="/" z="999" template="ini/tutorial/hangar/template.xml">
  <children>
    <node path="text/value" text="#tutorial_hangar_1#"/>
    <node path="hand" visible="yes" pos="250x90"/>
  </children>

  <actions>
    <action name="hand" value="RepeatForever[Sequence[
            DelayTime[0.5],Show[],
            EaseInOut[ScaleTo[0.3,0.75,0.75],2],
            EaseInOut[ScaleTo[0.3,1,1],2]]]"/>
  </actions>

  <events>
    <eventlist name="onenter">
      <stopallaction target="taptoclose"/>
      <stopallaction target="menu/close"/>
      <runaction target="hand" action="hand"/>

      <setproperty target="/maplayer" property="unlock_hangar" value="yes"/>

      <setproperty target="/maplayer/map/locations/flag0" property="enabled" value="no"/>
      <setproperty target="/maplayer/map/locations/flag1" property="enabled" value="no"/>
      <setproperty target="/maplayer/map/locations/flag2" property="enabled" value="no"/>
      <setproperty target="/maplayer/map/locations/survival0" property="enabled" value="no"/>
    </eventlist>
    <eventlist name="onexit">
      <setproperty target="/maplayer" property="unlock_hangar" value="no"/>
	  
      <setproperty target="/maplayer/map/locations/flag0" property="enabled" value="yes"/>
      <setproperty target="/maplayer/map/locations/flag1" property="enabled" value="yes"/>
      <setproperty target="/maplayer/map/locations/flag2" property="enabled" value="yes"/>
      <setproperty target="/maplayer/map/locations/survival0" property="enabled" value="yes"/>
    </eventlist>
  </events>

</tutorial>