marpis
2009-12-12 09:27:50
Update your MSI and check /skills/WoodCutting.SCAR and Globals.SCAR.
Here's example of how to use WaitWhileChopping()
I'll add FindMSObject etc. later today or in a couple of days. When I've done that there should be no more core functions to be written, then we have the base for everything possible! :)
Here's example of how to use WaitWhileChopping()
var
OakTree: TMSObject;
Begin
With OakTree Do
Begin
Colors := [6004112];
Accuracy := 5;
Tol := 5;
Hue := 0.41;
Sat := 0.55;
W := 25;
H := 25;
End;
WaitWhileChopping(353 {Tree X}, 126 {Tree Y}, OakTree);
End.
I'll add FindMSObject etc. later today or in a couple of days. When I've done that there should be no more core functions to be written, then we have the base for everything possible! :)