Figured it out.
Figured it out.
Last edited by xdarkshadowx; 03-17-2013 at 09:57 PM.
Non-RS scripter, if you need a hand with scripting let me know. I have a decent amount of experience scripting for non-RS games.
How to add text messaging to any script: http://villavu.com/forum/showthread....98#post1151998
Is there any more context to this error you receive?
Here's an example of using SetArrayLength:
Simba Code:var
TPA: TPointArray;
begin
Writeln('Length of TPA is: ' + IntToStr(Length(TPA)) + '.');
SetArrayLength(TPA, 10);
Writeln('Length of TPA is: ' + IntToStr(Length(TPA)) + '.');
SetArrayLength(TPA, 0);
Writeln('Length of TPA is: ' + IntToStr(Length(TPA)) + '.');
end.
I had accidentally defined the array to a set length. Which was making it imposible to change the length.
Non-RS scripter, if you need a hand with scripting let me know. I have a decent amount of experience scripting for non-RS games.
How to add text messaging to any script: http://villavu.com/forum/showthread....98#post1151998
There are currently 1 users browsing this thread. (0 members and 1 guests)