SRL Archive - MSI Suggestions

WoodCutting.SCAR + New TMSObject


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()

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! :)

Sir R. M8gic1an

2009-12-12 09:48:36

I have no clue what 353 and 126 are. *hint* consts/vars *hint*

TreePoint.x, TreePoint.y

~RM

marpis

2009-12-12 12:41:02

From: Rasta Magician
I have no clue what 353 and 126 are. *hint* consts/vars *hint*

TreePoint.x, TreePoint.y

~RM


Ah, sry! :p