1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
<?xml version="1.0" encoding="utf-8"?>
<level id="SetDynamicEntityTranslation" levelpack="Test Levels">
<info>
<name>SetDynamicEntityTranslation</name>
<description></description>
<author></author>
<date></date>
<sky>sky1</sky>
</info>
<script>
function OnLoad()
Game.SetDynamicEntityTranslation("Strawberry0", 10, 0, 500, 0, 0)
Game.SetDynamicEntityTranslation("Strawberry0", 0, 1, 100, 0, 0)
return true
end
</script>
<limits left="0" right="50" top="30" bottom="0"/>
<block id="Block0">
<position x="0" y="0"/>
<usetexture id="default"/>
<vertex x="5" y="5"/>
<vertex x="5" y="10"/>
<vertex x="10" y="10"/>
<vertex x="10" y="5"/>
</block>
<entity id="MyPlayerStart0" typeid="PlayerStart">
<size r="0.4"/>
<position x="7.5" y="10"/>
</entity>
<entity id="Strawberry0" typeid="Strawberry">
<size r="0.4"/>
<position x="20" y="0.5"/>
</entity>
<zone id="Zone0">
<box left="40" right="50" top="5" bottom="0"/>
</zone>
</level>
|