40 lines
1.7 KiB
XML
40 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ScriptTemplate version="4">
|
|
<name>Timer</name>
|
|
<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>
|
|
</property>
|
|
<property ID="0x7BEF45CA" type="bool">
|
|
<default>false</default>
|
|
<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>
|
|
</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>
|
|
</property>
|
|
</properties>
|
|
<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>
|