Hey! I'm trying to make an assistance script that will turn on prayers and other things. I'm going to set a constant of a key that will ultimately turn on the prayer. So I need help on how to store the box for the prayer(x1, y1, x2, y2).
I set a variable named PI1Box which will activate the Protect Item PRAYER when the user presses the specified key. I just need to know what I would set the variable type to.
Like:
Or should I just set the boxes as constants like this:Code:var PI1Box: "Variable type here. Tell me what it is please.";
Last question: If I were to set the boxes as constants, Would I then be able to use mousebox like this(?):Code:const PI1Box = (000, 000, 000, 000);
Code:if BlahBlahBlah then begin MouseBox(PI1Box, 1); end;




Reply With Quote


