Graal Forums  

Go Back   Graal Forums > Search Forums
FAQ Members List Calendar Today's Posts

Showing results 76 to 100 of 114
Search took 0.00 seconds; generated 79 minute(s) ago.
Search: Posts Made By: kingcj
Forum: NPC Scripting 02-05-2011, 05:16 AM
Replies: 51
Views: 10,387
Posted By kingcj
So something like this would work? I had been...

So something like this would work? I had been trying to work with that as well but I can't seem to get it working either. Maybe my syntax is wrong? I dunno..

function onCreated() {
for...
Forum: NPC Scripting 02-05-2011, 04:48 AM
Replies: 9
Views: 1,950
Posted By kingcj
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
Posted By kingcj
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
Posted By kingcj
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
Posted By kingcj
Sorry for the double post, but is it required to...

Sorry for the double post, but is it required to triggerserver to be able to triggerclient?
Forum: NPC Scripting 02-04-2011, 01:39 AM
Replies: 51
Views: 10,387
Posted By kingcj
Ok so that all works, but stil working with the...

Ok so that all works, but stil working with the bomb, and I want to trigger client now because the this.level.whatever doesn't seem to work serverside. Also it would require every player to use a...
Forum: NPC Scripting 02-03-2011, 08:12 PM
Replies: 51
Views: 10,387
Posted By kingcj
Still unsure of how that would work.. I haven't...

Still unsure of how that would work.. I haven't really worked with DB NPCs, and I can't seem to get that trigger to function correctly.. set it clientside and check severside right?
Forum: NPC Scripting 02-03-2011, 10:00 AM
Replies: 51
Views: 10,387
Posted By kingcj
i don't really know... I do know that this.level...

i don't really know... I do know that this.level works (Clientside) but with the bomb I would think that it would be easier to just add a trigger? or a public function (which I'm not completely sure...
Forum: NPC Scripting 02-03-2011, 09:48 AM
Replies: 51
Views: 10,387
Posted By kingcj
Yeah I still can't get it to work. I have a...

Yeah I still can't get it to work. I have a custom bomb that explodes and when it explodes I want it to hit a switch that triggers something else. I'm just not sure how to send it...
Forum: NPC Scripting 02-03-2011, 09:28 AM
Replies: 51
Views: 10,387
Posted By kingcj
Kinda on the same note I am now trying to lay an...

Kinda on the same note I am now trying to lay an npc down and have it affect another npc while it is there. again should i trigger an action? I am unsure of this process, but I am trying to affect...
Forum: NPC Scripting 02-03-2011, 05:56 AM
Replies: 51
Views: 10,387
Posted By kingcj
Thanks mike, sucked it took like 2hrs to do...

Thanks mike, sucked it took like 2hrs to do something so simple lol
Forum: NPC Scripting 02-03-2011, 05:44 AM
Replies: 51
Views: 10,387
Posted By kingcj
lol.. I didn't think I was crazy.. so just...

lol.. I didn't think I was crazy.. so just clientside the whole script?
Forum: NPC Scripting 02-03-2011, 05:10 AM
Replies: 51
Views: 10,387
Posted By kingcj
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
Posted By kingcj
thats just in my example on forums

thats just in my example on forums
Forum: NPC Scripting 02-03-2011, 04:45 AM
Replies: 51
Views: 10,387
Posted By kingcj
Yes I understand that, but the reference name is...

Yes I understand that, but the reference name is confusing? I place the this.level.var which is what the player would touch, then in the other NPC this.level.var is triggered to hide the image? I'm...
Forum: NPC Scripting 02-03-2011, 04:09 AM
Replies: 51
Views: 10,387
Posted By kingcj
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
Posted By kingcj
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
Posted By kingcj
I've been playing AEON for a few min/hrs and have...

I've been playing AEON for a few min/hrs and have decided that even the current worlds that are created aren't finished. The quests are oddly flawed. I have completely the Level 2 sword quest...
Forum: PlayerWorlds Main Forum 01-16-2011, 01:32 AM
Replies: 19
Views: 2,973
Posted By kingcj
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
Posted By kingcj
Thank you all I believe I understand it now!

Thank you all I believe I understand it now!
Forum: NPC Scripting 01-14-2011, 06:46 AM
Replies: 5
Views: 2,632
Posted By kingcj
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
Posted By kingcj
Question 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
Posted By kingcj
Oh... Thank you very much!

Oh... Thank you very much!
Forum: NPC Scripting 01-07-2011, 11:59 PM
Replies: 6
Views: 3,157
Posted By kingcj
This worked for me, but I'm unsure why the .blah...

This worked for me, but I'm unsure why the .blah was needed when assigning. I'm not sure if the other is for GUIs or not, but thanks for the help!
Forum: NPC Scripting 01-07-2011, 08:49 PM
Replies: 6
Views: 3,157
Posted By kingcj
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...
Showing results 76 to 100 of 114

 
Forum Jump

All times are GMT +2. The time now is 07:52 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.