[Squeakland] Fwd: Test a random tile.
blake at kingdomrpg.com
Sun Mar 5 12:57:10 PST 2006
The following was sent by Jerome Peace to me.
It works. I would've found it by experimentation but it doesn't light up
the replacement area with green!
I don't have a squeakland account yet so I'm replying
The trick is Random tiles will replace any object
So to do a test of say random 10 < 5 .
What you do is start with your morph.
Get an empty script.
Put the test box in the script.
From the morph get any numerical tile say "morph's x"
Put it in the test slot. It turns into morph's x < 5.
Now from the script menu get a random tile and
Drop it directly over the morph's x part of the test.
The ramdom tile will replace morph's x and you will
Random 180 < 5
Adjust the numbers to suit and I believe you have what
If this works for you please forward it to the
Yours in service, -- (wiz) Jerome Peace
More information about the Squeakland