SRL Archive - Help

camera rotating


zluo

2012-04-26 03:20:33

Ok so basically, on a rsps (again lol) i want to rotate the compass until it faces north. i can not simply click on the compass button because it doesnt work. Every so often, the map shifts so i need Simba rotate the compass in small movements until the compass faces north. ideas guys?

and also what is the commands to hold the left or right key down for a specific number of times

CAPMAT

2012-04-26 03:31:08

Nice question, i'm also looking for answer on this questin.

Total

2012-04-26 03:45:50

MakeCompass('n'); and SetAngle(SRL_ANGLE_HIGH); for north compass. KeyDown for arrows but not sure how KeyDown works though.

zluo

2012-04-26 06:06:15

MakeCompass('n'); and SetAngle(SRL_ANGLE_HIGH); dont seem to work, any reason why?

smurg

2012-04-26 06:47:33

From: zluo
MakeCompass('n'); and SetAngle(SRL_ANGLE_HIGH); dont seem to work, any reason why?


It's a private server. Look through the code and re-write it for that server.

Getdropped

2012-04-26 08:37:40

maybe make a dtm and have it check the compass location and keep the presskeydown until it can find the dtm then it lets up. This should work even on a private server. Hope it works for you ;)

Frement

2012-04-26 08:55:22

You can check where the red dots are and count the angle from those, then shift accordingly by simulating mouse keys. Its a private server so no need for randomizing the intervals.

zluo

2012-04-27 05:40:10

sorry bit of a noob but exactly HOW do we hold down the arrow key or w.e. and also what are red dots?

Abu

2012-04-27 10:55:35

From: zluo
sorry bit of a noob but exactly HOW do we hold down the arrow key or w.e. and also what are red dots?


Here you go:

http://docs.villavu.com/simba/scriptref/mouseandkeyboard.html#keyboard-functions