![]() |
For Switch and whoever: Staff Boots
As requested in this thread:
http://forums.graalonline.com/forums...ad.php?t=72559 PHP Code:
Made it in like 5 minutes so yeah, do with it as you please. Everyone is open to use it, though there are plenty of boot scripts out there for those of you that don't know how to script -- just add this one to the list! Though you shouldn't get into the habit of just taking peoples scripts without at least bothering to learn the basics of GScript. It sort of defeats the purpose. Regardless, enjoy! :) |
THANKS SO MUCH GAMBET! NOW you must read my PM ;P
Also, I put it in my server and found an error. We don't want it at speed 0, so here's a revision: PHP Code:
|
Quote:
Just add after: this.speed = 1; |
Quote:
^ That should fix your problem. |
Eheh ok thanks ^.^
|
I'm just curious, is there a way to make it add and minus speed using the mouse wheel?
|
Quote:
Yes, using the mousewheeldelta and/or mousewheel commands. |
I got bored so I compacted Gambet's script
PHP Code:
|
Quote:
|
Quote:
PHP Code:
[EDIT] Tested this, and fixed the mousewheeldeltas. Also, this.status = abs(temp.status - 1);? Should be: this.status = 1 - this.status; or: this.status = abs(this.status - 1); |
Quote:
|
Quote:
|
That just doesn't make much sense to me ... 1 - this.status seems so much cleaner
|
Quote:
|
Quote:
|
Quote:
PHP Code:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Quote:
In this case, this.speed +=- mousewheeldelta is better written as this.speed -= mousewheeldelta :D |
Ugh i'm getting my operators screwed up -_-
|
| All times are GMT +2. The time now is 04:23 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.