Title: Alright!
BomberJake - October 12, 2003 04:39 PM (GMT)
i can, but either way, gm doesn't recognize the variables. perhaps they have to be global variables. :huh: did the scripts work for u before?
knight666 - October 11, 2003 04:22 PM (GMT)
I made my first REAL library! (&Thup&)
Click on the link below to download:
DOWNLOAD!Please, tell me what you think. ;)
Monkster - October 11, 2003 04:42 PM (GMT)
what are the functions included, and is it supported by GM 5.0?
knight666 - October 11, 2003 05:20 PM (GMT)
I don't know if it supports 5.0,
but the actions include:
-swinging left and right
-throwing a rope to an object
-make the rope longer and shorter
Monkster - October 11, 2003 05:58 PM (GMT)
sounds good, i'll d/l it. :D
knight666 - October 11, 2003 08:54 PM (GMT)
And will you PLEASE test it? :D
Instead of saying that you are GOING to download it...
BomberJake - October 11, 2003 10:14 PM (GMT)
the variables are all screwed up. could you please post an example of the scripts? an example would make the scripting much clearer
knight666 - October 12, 2003 03:13 PM (GMT)
Damn.
Can't you just read the library with the LibBuilder? :unsure:
knight666 - October 12, 2003 05:09 PM (GMT)
Euh... :unsure:
I never really tested it....
Monkster - October 12, 2003 05:39 PM (GMT)
| QUOTE |
| I never really tested it.... |
lol :lol: Testing is usually something u do b4 u release a lib!
knight666 - October 12, 2003 08:37 PM (GMT)
Oh, right...
But I was too excited that I finally got my first library... :unsure:
Erik - October 16, 2003 06:14 PM (GMT)
I know the feeling, I just tested a lib I have on my site for a month. (&Thup&)
I have a bit of a headache now so I'm going to bed, but when I come back I'll test it. Maybe you can use the meantime to correct some big bugs? ;)
knight666 - October 16, 2003 07:46 PM (GMT)
Alright.
Like I've got something else to do... :D
Oh yeah, finish Toad's Adventure...
knight666 - October 17, 2003 08:23 PM (GMT)
Alright, finished a NEW library:
It consists of only three buttons but is 99,9 % bugfree! :D
Test it!
Test it! Test it! :P
BomberJake - October 17, 2003 08:45 PM (GMT)
i've tested it, and there r some bugs :(
-i can't get the cursor one to work
-the variable one works, but when the message box pops up, is it supposed to say "argument 1", or the question?
the screenshot works tho. :D u might wanna fix the problems with the other actions tho
Erik - October 17, 2003 08:49 PM (GMT)
Well, I'd say 66.6 % ;)
| CODE |
| argument0 = get_string('argument1','argument2'); |
This will assign value to ARGUMENT0. You want to assign it to what is IN ARGUMENT0. Furhter, the question will always display as follows:
|----------------------------|
| argument1
| |argument2 |
|
| [OK]
|----------------------------|
You need to remove the quotes and use execute_string. This is done as follows:
| CODE |
| execute_string(argument0+" = get_string(argument1,argument2);"); |
knight666 - October 17, 2003 08:55 PM (GMT)
Alright, new version:
Download! :D
Erik - October 17, 2003 08:57 PM (GMT)
*cough*no update?*cough*still the same*cough*
(that doesnt fit between coughs I know)
Anyway, however ya gonna fix it, you are getting the hang of it, no doubt you'll be popular for your libs in a few weeks! :D
knight666 - October 17, 2003 09:04 PM (GMT)
But, but... :o
I had fixed it!
I had it fixed and uploaded again...
New attempt\.
Erik - October 18, 2003 10:38 AM (GMT)
Hm? Still the wrong code.
You have this (wrong) code in the thrid button
{
argument0 = get_string('argument1','argument2');
}
Have you replaced in another lib or so?
knight666 - October 18, 2003 11:43 AM (GMT)
Strange...
[URL=http://knight666.batcave.net/09_random (2).zip]Click.[/URL]
Erik - October 18, 2003 04:15 PM (GMT)
Right, this is better. I see you also added new buttons, good. KEep in mind that the text you type in the argument listings as description must not be longer than the text area width!
knight666 - October 18, 2003 09:52 PM (GMT)
Yeah, I know.
It's kinda annoying actually! ;)