View Full Version : MakeCompass broken?
Idk im not sure but when i do
Makecompass ('w');
it keeps rotating and doesn't stop
[Nathan]
12-31-2011, 02:58 AM
I am using it in a script that is running now... Try this:
MakeCompass(randomrange(265,275));
err tried that it keeps rotating
Gushers
12-31-2011, 06:29 AM
Maybe you have it in the wrong part of the script and also make it a W not a w.
P1nky
12-31-2011, 06:30 AM
Post your function, that'll help us to solve your problem mate.
It wouldn't matter if the "W" was capped or not, Gushers. :)
case LowerCase(Direction) of
'n': DirectionDeg := 0;
'w': DirectionDeg := 270;
's': DirectionDeg := 180;
'e': DirectionDeg := 90;
'random', 'rand': DirectionDeg := RandomRange(0, 360);
end;
The "Lowercase(Direction)" will make sure no matter if the 'W' is capped or not, it will be recognized.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.