Forum: NPC Scripting
02-05-2011, 05:16 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-05-2011, 04:48 AM
|
|
Replies: 9
Views: 1,950
It really depends on where you want to start. ...
It really depends on where you want to start. The question I would ask myself is "What do I want to script?" Then from there search forms and wiki to get appropriate syntax and commands. If you...
|
Forum: NPC Scripting
02-05-2011, 04:37 AM
|
|
Replies: 51
Views: 10,387
this way everyone has to use a bomb to use the...
this way everyone has to use a bomb to use the switch not just one person can hit the switch with the bomb and the rest get the effect.
So can I join this from a weapon script or is there another...
|
Forum: NPC Scripting
02-05-2011, 04:14 AM
|
|
Replies: 51
Views: 10,387
ok so why won't this work?
function...
ok so why won't this work?
function onCreated() {
this.attr[1] = eswitch; //switch name
this.attr[2] = edoor; //door name
this.attr[3] = 3; //hide time
this.image = "block.png";
} ...
|
Forum: NPC Scripting
02-04-2011, 08:25 PM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-04-2011, 01:39 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 08:12 PM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 10:00 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 09:48 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 09:28 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 05:56 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 05:44 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 05:10 AM
|
|
Replies: 51
Views: 10,387
Yea thats how I was doing it, but I get this...
Yea thats how I was doing it, but I get this error and it's the same with mine and yours... : Script: Function obj2.wasTouched not found at line 6 of explodeswitch in script of npcs[0] (in level...
|
Forum: NPC Scripting
02-03-2011, 04:48 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 04:45 AM
|
|
Replies: 51
Views: 10,387
|
Forum: NPC Scripting
02-03-2011, 04:09 AM
|
|
Replies: 51
Views: 10,387
I believe ffcmike's explaination is sufficient,...
I believe ffcmike's explaination is sufficient, however I'm unsure of the this.level.var. Do i insert the level name here or npc? I'm confused as to how to implement in the level... I tried in the...
|
Forum: NPC Scripting
02-03-2011, 03:39 AM
|
|
Replies: 51
Views: 10,387
Npc to Npc
I've been trying to get an NPC to communicate with another. (such as touching one affects the other) Trigger doesn't seem to work, and I am unable to get callnpc to work either. I don't know if it is...
|
Forum: Playerworld Staff Openings
01-22-2011, 04:38 AM
|
|
Replies: 74
Views: 12,541
|
Forum: PlayerWorlds Main Forum
01-16-2011, 01:32 AM
|
|
Replies: 19
Views: 2,973
Developers
For starters : I have been learrning to script on the Testbed server, and I appreciate the chance for being allowed to be on that server. Next I have used forums a couple of times to get help...
|
Forum: NPC Scripting
01-14-2011, 07:16 AM
|
|
Replies: 5
Views: 2,632
|
Forum: NPC Scripting
01-14-2011, 06:46 AM
|
|
Replies: 5
Views: 2,632
Ok Thanks, the circle works fine, but I can't...
Ok Thanks, the circle works fine, but I can't seem to getangle() to show the angle of said circle. I am unsure of how to get the angle of the circle.
Sorry I could also use a little help with delta...
|
Forum: NPC Scripting
01-14-2011, 03:49 AM
|
|
Replies: 5
Views: 2,632
Circle polygon maybe?
I've been searching for a way to draw a circle and then from the center of the circle designate different areas (such as Up, Left, Right, Down = 90degrees) from the circle. I don't understand...
|
Forum: NPC Scripting
01-08-2011, 12:37 AM
|
|
Replies: 6
Views: 3,157
|
Forum: NPC Scripting
01-07-2011, 11:59 PM
|
|
Replies: 6
Views: 3,157
|
Forum: NPC Scripting
01-07-2011, 08:49 PM
|
|
Replies: 6
Views: 3,157
this.array.sortascending() Help?
Hello,
I realize that sortascending() sorts from least to greatest, but I am having a problem when the greatest is over single digits. I'm guessing that it only reads the first digit to place the...
|