SRL Archive - Help

Global Variables issue


laakerules

2012-01-14 17:32:22

Okay i currently am making the Global variable. ill have questions earlier but, for now i am making the variable of AttackingOption

it looks like

AttackingOption: Array;

But its telling me it needs an of statement there, this is my first time making a variable like that rather than just

AttackingOption = 'Goblin';

So how would i fix that array for it to work?

Gu3st...

2012-01-14 18:30:41

If you want it to be an array of strings, you can call it "array of String" or "TStringArray" or if you want to set the length of the array you can do "array [0..24] of String" where you edit 24 to be the desired highest index, and 0 to be the desired lowest index

laakerules

2012-01-14 19:11:22

Thanks, got it working though.