Neznam
2013-04-11 17:44:46
I need my camera angle to face EAST.
Here's the issue…
You start the script facing east and everything works fine, but im on a laptop and will d/c and cause to relog in facing NORTH, I need it to then make the camera face EAST again.
Any help appreciated.
Edit:im terrible ik
Wu-Tang Clan
2013-04-11 17:47:03
Either add compass angle EAST to the beginning of each procedure, or in the mainloop do something like if not (whatever for camera angle, east) then make compass east
Do you mean everytime you disconnect, you need to re-run the script again, or it auto login you back?
If you mean everytime you run the script and you want it to face east, just do MakeCompass('E'); before the mainloop.
Sk1nyNerd
2013-04-11 23:05:22
program new;
I$ blabla
blala
begin
"what ever your code is"
end;
begin
DeclarePlayer;
SetupSRL;
MakeCompass('E'); <--- basically add this, you could also repeat it down below so it always makes it east before begining your procedures
if not loggedin then
begin
loginplayer;
end;
repeat
"all your procedures or whatever"
until(some reason)
terminatescript.
end.