SRL Archive - Help and Support

Dont know is this the right place for this but...


n3ss3s

2007-04-15 13:37:22

As the title says.

Can someone make me or tell how could i make a function that detects when the tree is totally chopped (Timberrrr)?
Because things like TimeFromMark arent so useful for that situation and scar cant detect sound. Plz help!

Bobarkinator

2007-04-15 13:52:40


repeat
Wait(10);
until (Not(GetColor(TreeCoords)=TreeColor);

That should do it but I havent tested

nielsie95

2007-04-15 15:48:37

Yes, get the color of the Tree at the click and after that make it look for that color an a -4 to +4 square of the Coords.

You could also keep the mouse at the Tree (also great for Ent Protection) and look for the Uptext.

n3ss3s

2007-04-16 01:32:54

ty guys.