PDA

View Full Version : Scripting question



mohua
10-17-2006, 03:21 PM
I am just making a script and I came across a problem.
How do I get Scar to rotate you angle so it faces North, and get the highest view possible?
I'v seen it done in other scripts, and was wondering how to do it.

Starblaster100
10-17-2006, 05:16 PM
Face('N');
HighestAngle;


i believe that works, you may have to change 'Face' to something else

Home
10-17-2006, 06:06 PM
I think Face Doesn't work anymore.. ( Not sure)

If it doesn't work

Change it to

MakeCompass('N')

Starblaster100
10-17-2006, 07:00 PM
ok, Face will be in the next version of SRL then

mohua
10-17-2006, 08:26 PM
do I need to include something? because I get
[Error] (12:1): Unknown identifier 'HighestAngle' in script C:\Program...

canadarules
10-17-2006, 10:06 PM
Do you have SRL {.include -}'d?

mohua
10-18-2006, 03:21 PM
Once again Thanks You guys,

BTW
Face did not work
MakeCompass Did.

I Pick Axes
10-18-2006, 10:23 PM
PerfectNorth is another alternative.

CamHart
10-18-2006, 11:25 PM
PerfectNorth; likeI Pick Axes said calls MakeCompass('North'); like 3-4 times, then it raises the camera angle to its highest position. I perfer to use it to any others.