Hey guys Im trying to create and position object with xml file by this event.
Im trying to achive this.
But instead I fail and this happen. The object overlaping ontop of each other.
<?xml version="1.0" encoding="UTF-8"?>
<Enemy>
<monster>
<name>bugaga</name>
<hp>10</hp>
<des>A vicious monster</des>
</monster>
<monster>
<name>bugagi</name>
<hp>25</hp>
<des>a vicious and stronger monster></des>
</monster>
</Enemy>
[/code:341njzyz]
Another problem
Id like to know how to set the instance variable based on the node without repeating the same value as the first node.
I know I can position it manualy but I have different set of monster xml so I need it the y position procedural every time I load different xml file. Thank you.
CAPX file [code:341njzyz]http://www.filedropper.com/challanger[/code:341njzyz]