PrimeWorldEditor/templates/mp1/Script/Timer.xml

32 lines
1.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<ScriptTemplate version="4">
<name>Timer</name>
<properties>
<property ID="0x00" name="Name" type="string"/>
<property ID="0x01" name="Start Time" type="float"/>
<property ID="0x02" name="Max Random Delay" type="float">
<description>A random value between 0 and this number will be added to the timer's start time.</description>
</property>
<property ID="0x03" name="Loop" type="bool">
<description>When the timer reaches 0, it will reset back to its start time and start ticking again.</description>
</property>
<property ID="0x04" name="Auto-Start" type="bool">
<description>The timer will start ticking immediately on load, without waiting for a script message to start it.</description>
</property>
<property ID="0x05" name="Active" type="bool"/>
</properties>
<states/>
<messages/>
<editor>
<properties>
<property name="InstanceName" ID="0x00"/>
<property name="Active" ID="0x05"/>
</properties>
<assets>
<billboard source="file">script/common/Timer.txtr</billboard>
</assets>
<rotation_type>disabled</rotation_type>
<scale_type>enabled</scale_type>
</editor>
</ScriptTemplate>