Forum: New Scripting Engine (GS2)
01-10-2007, 03:41 AM
|
|
Replies: 7
Views: 2,054
a) Have a gani script always active, but only...
a) Have a gani script always active, but only show the information if the mouse is in the right position.
b) It hasn't created any lag in my experience, but I haven't had the chance to try with many...
|
Forum: NPC Scripting
01-09-2007, 03:56 AM
|
|
Replies: 8
Views: 2,086
Returns the width of a specified text in a...
Returns the width of a specified text in a certain font. Format:
gettextwidth(zoom, font, style, text)
Copied directly from http://wiki.graal.net/index.php/Creation/Dev/Script/Client
|
Forum: Gani Construction
01-08-2007, 11:44 PM
|
|
Replies: 9
Views: 2,060
|
Forum: NPC Scripting
01-08-2007, 04:22 AM
|
|
Replies: 8
Views: 2,086
wraptext2(pixel width,zoom,delimiters,text) ...
wraptext2(pixel width,zoom,delimiters,text)
This will give you an array of lines separated at the delimiters that fits in the pixel width. It's probably much more useful to you than textwidth in...
|
Forum: Gani Construction
01-07-2007, 10:06 PM
|
|
Replies: 9
Views: 2,060
.gif doesn't make a difference. I've attached a...
.gif doesn't make a difference. I've attached a simple gani used for testing.
Upon closer inspection, the gani doesn't even try to show or download the image; after uploading the image, deleting it...
|
Forum: Gani Construction
01-06-2007, 12:09 AM
|
|
Replies: 9
Views: 2,060
|
Forum: Gani Construction
01-05-2007, 11:41 PM
|
|
Replies: 9
Views: 2,060
Custom images won't appear as a gani param
setani("2007_w_shovel1","2007_w_shovel_1a.png");
The image shows up in GraalShop fine, and the gani shows perfectly using any of the default images. But when we use a custom image such as the...
|
Forum: Playerworld Staff Openings
05-31-2006, 05:08 AM
|
|
Replies: 7
Views: 1,408
|
Forum: PlayerWorlds Main Forum
06-10-2005, 03:48 AM
|
|
Replies: 28
Views: 2,479
Whatever happened to Babylon?
I always used to go there back when I was trial, then I got banned because somebody thought I was hacking, because they had bushes growing back on their screens where I was walking. They called an...
|
Forum: NPC Scripting
06-08-2005, 02:45 AM
|
|
Replies: 9
Views: 2,153
|
Forum: NPC Scripting
06-07-2005, 03:03 AM
|
|
Replies: 9
Views: 2,153
No, that's my point. Keydown2 doesn't sense...
No, that's my point. Keydown2 doesn't sense NumPad values. Try it yourself.
It does, however, sense that playerprop 0 is the number being pressed, same as the number keys on top. So you have to give...
|
Forum: NPC Scripting
06-05-2005, 03:08 AM
|
|
Replies: 9
Views: 2,153
That value didn't work with keydown2, it only...
That value didn't work with keydown2, it only sensed the number line being pressed. But if anyone was wondering, I did get it to work. You have to use strtofloat(#p(0)) == 53 for example if you want...
|
Forum: Gani Construction
06-04-2005, 04:21 PM
|
|
Replies: 37
Views: 57,877
|
Forum: NPC Scripting
06-03-2005, 06:08 PM
|
|
Replies: 9
Views: 2,153
|
Forum: NPC Scripting
06-03-2005, 02:20 AM
|
|
Replies: 9
Views: 2,153
Numpad question
I've been away from Graal for a long time...and I've never been able to figure out the keys for the numpad on keydown2. If I could find these it'd be a great help for the tennis sim I'm working on....
|