 
  Stranded II
 Stranded II  Scripts
 
Scripts  blocks on each other
 blocks on each other blocks on each other
 blocks on each other
2 replies hi there people,
i was wondering if there is a script to place 2 blocks on each other (like in minecraft)
so when you mine the upper one, the lower one still stays.
thx already,
and sorry for my bad English.  I think it might be possible, using a location finder.
But, it would be a large, and complicated script, that would have to include every block in your minecraft mod, and for sand, it would have to run every sec...  make a model of a simple cube and divide it into 6 different models, 1 for each side of the cube.
then make your own type of info.
write a script which you write into the global script box of a map which starts an event upon on:start.
when this event is triggered there shall be created plenty of the new infos, in a pattern like the blocks in minecraft.
you can use  loop,
 loop,  loop_id,
 loop_id,  create,
 create,  setat,
 setat,  rpos and some variables for this.
 rpos and some variables for this.
write a script into the definition file of the info so that when it is created it will create one of each of the different pieces which form a cube together.
use  setat to do place the tiles at the info.
 setat to do place the tiles at the info.
then write different scripts into each of these tiles so that a new info is created when it is used and e.g. when using the upper tile of an existing cube the new info for a new cube is created above the already existing cube.
you can do this by using  setat and
 setat and  rpos again.
 rpos again.