Howto:Animate models: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
(Created page with '{{WIP}} ===Pick=== {{Main article|Howto: Make a clickable panel#Pick}} ===Range=== To prevent objects -like instruments- being drawn when the aircraft is actually too far away …')
 
mNo edit summary
Line 1: Line 1:
{{WIP}}
{{WIP}}


== ==
===Conditions===
Multiple animations can make use of a conditionals.
* '''equals:''' property value is equal to value/property.
* '''greater-than:''' property value is larger than value/property.
* '''greater-than-equals:''' property value is greater than or equal to value/property.
* '''less-than:''' property value is smaller than value/property.
* '''less-than-equals:''' property value is smaller than or equal to value/property.
The example below is true when n1 has a value greater than 25.
  <condition>
  <greater-than>
    <property>engines/engine[1]/n1</property>
    <value>25</value>
  </greater-than>
  </condition>
Then there are some special tags:
* '''and:'''
* '''not:'''
* '''or:'''
In the example below, the condition is true when either n1 is greater than 25% or equal to 0%.
  <condition>
  <or>
    <greater-than>
    <property>engines/engine[1]/n1</property>
    <value>25</value>
    </greater-than>
    <equals>
    <property>engines/engine[1]/n1</property>
    <value>0</value>
    </equals>
  <or>
  </condition>
==Types==
===Pick===
===Pick===
{{Main article|Howto: Make a clickable panel#Pick}}
{{Main article|Howto: Make a clickable panel#Pick}}

Navigation menu