Jump to content

Aid On Issue


Telazorn

Recommended Posts

Not Sure as to why this is not working. the item downgrades and places the item but for some reason the Alt item dose not get places dose this function not work when downgrading?

 

 

Adding this to a Core Block Item This works it is Spawning the "spawner"....

   <append xpath="/blocks/block[@name='BLOCKITEMTOEDIT']">
     <property name="DowngradeBlock" value="spawner" />
   </append>

 

This is not when the spawner is placed by the Downgraded item the "PlaceAltBlockValue" dose not work... But in Dev mode if i place this block by hand it works??? Is there any why i can get this same function to work from the "DowngradeBlock" action?

 

   <append xpath="/blocks">
       <block name="spawner">
	    <property name="CustomIcon" value="ICON" />
	    <property name="IsDeveloper" value="true" />
	    <property name="Material" value="airEnhanced" />
	    <property name="Shape" value="Invisible" />
	    <property name="Texture" value="250" />
	    <property name="CanMobsSpawnOn" value="false" />
	    <property name="IsTerrainDecoration" value="true" />
	    <property name="PlaceAltBlockValue" value="spawner_v1,spawner_v2" />
    </block>
       <block name="spawner_v1">
	    <property name="CustomIcon" value="ICON" />
	    <property name="IsDeveloper" value="false" />
	    <property name="Class" value="PlantGrowing" />	
	    <property name="Material" value="airEnhanced" />
	    <property name="Shape" value="Invisible" />
	    <property name="Texture" value="250" />
	    <property name="CanMobsSpawnOn" value="false" />
	    <drop event="Destroy" count="0" />	
	    <property name="IsTerrainDecoration" value="true" />
	    <property name="PlantGrowing.Next" value="ITEMTOGROW" />
	    <property name="PlantGrowing.GrowthRate" value="5" />
	    <property name="PlantGrowing.FertileLevel" value="0" />
	    <property name="PlantGrowing.IsRandom" value="false" />
    </block>
       <block name="spawner_v2">
	    <property name="CustomIcon" value="ICON" />
	    <property name="IsDeveloper" value="false" />
	    <property name="Class" value="PlantGrowing" />	
	    <property name="Material" value="airEnhanced" />
	    <property name="Shape" value="Invisible" />
	    <property name="Texture" value="250" />
	    <property name="CanMobsSpawnOn" value="false" />
	    <drop event="Destroy" count="0" />	
	    <property name="IsTerrainDecoration" value="true" />
	    <property name="PlantGrowing.Next" value="ITEMTOGROW" />
	    <property name="PlantGrowing.GrowthRate" value="5" />
	    <property name="PlantGrowing.FertileLevel" value="0" />
	    <property name="PlantGrowing.IsRandom" value="false" />
    </block>
   </append>

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...