Forum: New Scripting Engine (GS2)
12-01-2006, 11:47 PM
|
|
Replies: 6
Views: 1,503
|
Forum: New Scripting Engine (GS2)
12-01-2006, 03:25 AM
|
|
Replies: 4
Views: 1,499
You're only passing one argument... ...
You're only passing one argument...
(@temp.func)(1,2,3);
It's a variable function name, and as such the parameters are sent just like they would in any other function.
|
Forum: Graphic Design
11-28-2006, 06:18 AM
|
|
Replies: 31
Views: 4,525
|
Forum: New Scripting Engine (GS2)
11-20-2006, 12:40 AM
|
|
Replies: 2
Views: 1,331
|
Forum: Future Improvements
11-07-2006, 12:49 AM
|
|
Replies: 1
Views: 1,154
|
Forum: New Scripting Engine (GS2)
11-06-2006, 08:05 PM
|
|
Replies: 19
Views: 3,708
There are 32 bits.
I usually read binary...
There are 32 bits.
I usually read binary backwards. The bit on the end is 1 (2^0). The second to last is 2 (2^1). The one before that is 4 (2^2). Then 8 (2^3), 16 (2^4), 32 (2^5), ... etc. You...
|
Forum: New Scripting Engine (GS2)
11-05-2006, 11:01 PM
|
|
Replies: 19
Views: 3,708
In addition, ...
| (or)
var_a = 7; // or...
In addition, ...
| (or)
var_a = 7; // or in binary, 000....0111
var_b = 14; // or in binary, 000....1110
// in the bit in each position becomes 1 if either bits from either variable are 1....
|
Forum: New Scripting Engine (GS2)
11-05-2006, 10:49 PM
|
|
Replies: 19
Views: 3,708
|
Forum: New Scripting Engine (GS2)
10-26-2006, 09:32 PM
|
|
Replies: 11
Views: 2,892
|
Forum: New Scripting Engine (GS2)
10-19-2006, 09:33 PM
|
|
Replies: 11
Views: 2,892
|
Forum: New Scripting Engine (GS2)
10-19-2006, 09:25 PM
|
|
Replies: 11
Views: 2,892
No. Definitely
No.
B.
If you have >1...
No. Definitely
No.
B.
If you have >1 weapon all joining the same class (and I'm assuming there's more than one function in that class), it is less efficient to load each of those weapons with...
|
Forum: Code Gallery
10-12-2006, 12:04 AM
|
|
Replies: 20
Views: 6,577
|
Forum: Code Gallery
10-11-2006, 06:37 AM
|
|
Replies: 20
Views: 6,577
|
Forum: Tech Support
10-09-2006, 10:28 PM
|
|
Replies: 19
Views: 2,719
|
Forum: NPC Scripting
09-29-2006, 06:01 PM
|
|
Replies: 10
Views: 2,751
|
Forum: NPC Scripting
09-26-2006, 06:40 PM
|
|
Replies: 10
Views: 2,751
|
Forum: NPC Scripting
09-21-2006, 06:14 PM
|
|
Replies: 17
Views: 4,559
|
Forum: NPC Scripting
09-18-2006, 08:00 PM
|
|
Replies: 27
Views: 4,167
|
Forum: NPC Scripting
09-18-2006, 07:07 PM
|
|
Replies: 27
Views: 4,167
One could do:
temp.keys = "";
for...
One could do:
temp.keys = "";
for (temp.i=0;temp.i<128;temp.i++) temp.keys.add(temp.i);
for (temp.i=0;temp.i<128;temp.i++) {
temp.key = int(random(0,128-.001));
...
|
Forum: Code Gallery
09-13-2006, 07:29 PM
|
|
Replies: 2
Views: 1,867
|
Forum: NPC Scripting
09-12-2006, 10:51 PM
|
|
Replies: 4
Views: 2,058
|
Forum: New Scripting Engine (GS2)
09-04-2006, 05:19 PM
|
|
Replies: 13
Views: 1,969
|
Forum: New Scripting Engine (GS2)
09-03-2006, 05:35 PM
|
|
Replies: 13
Views: 1,969
font = "verdana";
style = "";
fontsize =...
font = "verdana";
style = "";
fontsize = $pref::graal::defaultfontsize/gettextheight(1,font,style);
tokens = wraptext2(40,fontsize," ",font @ "@" @ style @ "@" @ player.chat);
This will most...
|
Forum: NPC Scripting
08-30-2006, 07:50 PM
|
|
Replies: 7
Views: 2,273
This is theory, may not work. Pardon my bad...
This is theory, may not work. Pardon my bad drawing.
http://img48.imageshack.us/img48/5450/rotateandstretchqz6.png
1. Let's say you have you image and points set up like this (this method...
|
Forum: NPC Scripting
08-29-2006, 10:09 PM
|
|
Replies: 6
Views: 2,281
|