In script repository there is a lot of functions with inbuilt types as arguments. Types like TBox ,TIntegerArray ,T2DPointArray ,TInvenItemArr and other strange names. I can't find anything about them on http://docs.wizzup.org/ ,so only way to learn how to use them is analysing other scripts ,but it's a bit pain for me.
Where can I read description of these types?
Secondly I have problem with definiting TBox. I Found on http://wiki.scar-divi.com/titan/inde...tle=Types.TBox example ,but it seems to not work in Simba.
SCAR Code:var
b: TBox;
begin
b := Box(5, 6, 7, 8);
end.
I'm getting error
I know I can define every field separately like:Code:[Error] (26:12): Unknown identifier 'Box' at line 25
SCAR Code:var
b: TBox;
begin
b.x1 := 5;
b.y1 := 6;
b.x2 := 7;
b.y2 := 8;
end.
,but is there any faster one-line way?



Reply With Quote




Some of them you also learn by experience.








'd by NCDS

