PrimeWorldEditor/templates/mp2/Script/Timer.xml

40 lines
1.7 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
2016-01-02 17:24:40 +00:00
<ScriptTemplate version="4">
<name>Timer</name>
2016-01-02 17:24:40 +00:00
<properties>
<struct ID="0x255A4580" template="Structs/EditorProperties.xml"/>
<property ID="0x44335AFF" type="float">
<default>5.0</default>
</property>
<property ID="0x3AD39B31" type="float">
<default>0.0</default>
<description>A random value between this number and 0 will be added to the timer's start time.</description>
2016-01-02 17:24:40 +00:00
</property>
<property ID="0x7BEF45CA" type="bool">
<default>false</default>
2016-02-24 16:03:59 +00:00
<description>If enabled, when the timer reaches 0, it will reset back to its start time. If Auto-Start is also enabled, it will begin ticking again.</description>
2016-01-02 17:24:40 +00:00
</property>
<property ID="0x3217DFF8" type="bool">
<default>false</default>
<description>If enabled, the timer will start ticking automatically on load. Otherwise, it will need to be started with a script message.</description>
2016-01-02 17:24:40 +00:00
</property>
</properties>
2016-01-02 17:24:40 +00:00
<states/>
<messages/>
<editor>
<properties>
<property name="InstanceName" ID="0x255A4580:0x494E414D"/>
<property name="Position" ID="0x255A4580:0x5846524D:0x00"/>
<property name="Rotation" ID="0x255A4580:0x5846524D:0x01"/>
<property name="Scale" ID="0x255A4580:0x5846524D:0x02"/>
<property name="Active" ID="0x255A4580:0x41435456"/>
</properties>
<assets>
<billboard source="file">script/common/Timer.txtr</billboard>
</assets>
<preview_scale>0.5</preview_scale>
<rotation_type>enabled</rotation_type>
<scale_type>enabled</scale_type>
</editor>
</ScriptTemplate>