SRL Archive - OSR Help

Need Help!


butterlyr

2011-12-20 09:09:59

Hi, I have decided to jump into the deep and and try and make a very basic and simple script, the camera angle will not move from a fixed spot, and from the bank, where you would draw 28 Steel bars out, if you are in the right camera angle, then you would click the steel bar, then click the furnance, then click create all button. Then to bank, if the angle is the same, you simply click in the same spot every time, then the character runs to the 1 click bank on Neitzinot, deposits all, draw more steel bars and repeats process.

Now im not asking anyone to make this, I would simply like some guidance, I read Cohen's begginers guide which helped alot, but can't seem to locate the intermediate, so I am unsure of how to do things such as just keep the one fixed camera position, and just simple clicking certain parts of the screen, I will move onto failsafes/antibans at a later stage. Would appreciate a shove in the right direction, thanks :)

RISK

2011-12-20 09:22:40

MakeCompass('N')? :) As far as I recall, it will not move the camera unless the camera is not near the north position.

butterlyr

2011-12-20 10:00:06

Is that the command to set it? Would that be classed as 'Global'? As in, being used throughout the whole of the script? Please correct me if I am wrong, this is a guess haha

RISK

2011-12-20 10:02:34

It can be used thru-out the whole script and at any time. It will turn the compass to face the north direction. You should also check out the SRL include and see what all can be done with "MakeCompass". :)

KeepBotting

2012-02-10 22:57:26

All you need to do it use SetAngle('N'); in one of your procedures.
However I find that having the camera pointed East is better for finding banks, just a tip.

Shatterhand

2012-02-15 12:49:00

From: KeepBotting
All you need to do it use SetAngle('N');


He meant MoveCompass('N');, SetAngle(…) is for vertical camera movement.

mriddler

2012-02-17 21:38:15

Watch this video and it will explain all the basics.

http://www.youtube.com/watch?v=qfumZWrm_DE&feature=youtu.be&hd=1