Graal Forums  

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

Showing results 51 to 75 of 114
Search took 0.00 seconds; generated 79 minute(s) ago.
Search: Posts Made By: kingcj
Forum: NPC Scripting 03-30-2011, 05:52 PM
Replies: 21
Views: 3,376
Posted By kingcj
Ok so don't use params[1] because...

Ok so don't use params[1] because onActionServerside() references the player that used it, and it's a security risk? Thanks for the help!
Forum: NPC Scripting 03-30-2011, 09:47 AM
Replies: 21
Views: 3,376
Posted By kingcj
Gotta spread some around....

Gotta spread some around....
Forum: NPC Scripting 03-30-2011, 09:26 AM
Replies: 21
Views: 3,376
Posted By kingcj
Thanks...... sorry bout that just a little tired...

Thanks...... sorry bout that just a little tired at 0225. Also is there a command for limiting the amount of characters allowed to be typed in this box?
Forum: NPC Scripting 03-30-2011, 09:20 AM
Replies: 21
Views: 3,376
Posted By kingcj
Alight, but still didn't fix it? The way I call...

Alight, but still didn't fix it? The way I call Params[1], is that ok?
Forum: NPC Scripting 03-30-2011, 09:12 AM
Replies: 21
Views: 3,376
Posted By kingcj
Here it's not really anything special lol ...

Here it's not really anything special lol

function onActionSeverSide() {
if (params[0] == "namer") {
params[1] = player.nick;
echo(@ params[1]);
}
}

//#CLIENTSIDE
Forum: NPC Scripting 03-30-2011, 08:59 AM
Replies: 21
Views: 3,376
Posted By kingcj
GUI Help

Ok so I've never tried to script with a GUI and am just trying to mess around with it a little bit. I want to change a player's name from the GUI Edit Text box, but when I try nothing happens. I...
Forum: NPC Scripting 03-05-2011, 04:50 AM
Replies: 7
Views: 2,605
Posted By kingcj
Custom movement system..... disabledefmovement...

Custom movement system..... disabledefmovement won't work and I don't believe attackplayertoobj is a real command. I've tried attachplayertoobj from that script, but I'm not use to using it.
Thanks...
Forum: NPC Scripting 03-05-2011, 03:00 AM
Replies: 7
Views: 2,605
Posted By kingcj
bump... still need help...

bump... still need help...
Forum: NPC Scripting 03-03-2011, 04:37 AM
Replies: 7
Views: 2,605
Posted By kingcj
Ok so this is what I'm trying to accomplish with...

Ok so this is what I'm trying to accomplish with the player coordinate checks.
Its a ladder and I'm using a custom movement system. I need to place an enable and disable custom movement but I...
Forum: NPC Scripting 03-02-2011, 09:15 AM
Replies: 7
Views: 2,605
Posted By kingcj
Player on Npc

I've tried a variety of different ways, but they all seem inconsistent so I'll just show and ask. I'm trying to detect the player on an npc, which really seems easy enough but for some reason acts...
Forum: PlayerWorlds Main Forum 03-02-2011, 07:10 AM
Replies: 42
Views: 5,782
Posted By kingcj
Graal has been dying for years... Jump on that...

Graal has been dying for years... Jump on that bandwagon cause it's really nothing new.
Even the iPhone servers will die untill people are paid to develop.
I'm pretty sure that a lot of graal...
Forum: NPC Scripting 02-21-2011, 10:55 PM
Replies: 51
Views: 10,387
Posted By kingcj
Ok on the same subject still... I place the...

Ok on the same subject still... I place the custom bomb on a switch which opens a door, when the bomb explodes the door closes. This part works great except the door opens serverside. The bomb has...
Forum: NPC Scripting 02-20-2011, 09:00 AM
Replies: 4
Views: 1,934
Posted By kingcj
Ah! Thanks! I will get this tried out as soon as...

Ah! Thanks! I will get this tried out as soon as someone logs on that can set server options.
Forum: NPC Scripting 02-20-2011, 08:30 AM
Replies: 4
Views: 1,934
Posted By kingcj
Problems with onwater()

I have a custom bomb that works fine with default pics0 (I guess) graphics. If the bomb is dropped on water it "sinks" using destroy(), and it is checked severside with the onwater() command.
...
Forum: NPC Scripting 02-18-2011, 04:31 PM
Replies: 51
Views: 10,387
Posted By kingcj
Thanks for the help again! I was trying to use...

Thanks for the help again! I was trying to use sleep to wait untill the bomb was off the switch because it triggers the function on every timeout, so while the bomb is on the switch, it continuously...
Forum: NPC Scripting 02-18-2011, 05:14 AM
Replies: 51
Views: 10,387
Posted By kingcj
Ok so the main reason I was trying to use a...

Ok so the main reason I was trying to use a public function was to make sure that the script could be done clientside. Here is what I am working with now. It works, once but not twice, and is very...
Forum: NPC Scripting 02-17-2011, 11:16 PM
Replies: 51
Views: 10,387
Posted By kingcj
It worked Clientside without a weapon script or...

It worked Clientside without a weapon script or level var... I just put //#CLIENTSIDE at the top and it worked for me and my buddy on clientside only. I don't know if it is suppose to work that way...
Forum: NPC Scripting 02-17-2011, 06:57 AM
Replies: 51
Views: 10,387
Posted By kingcj
That seems easy enough. Thanks for the help, but...

That seems easy enough. Thanks for the help, but will it work clientside. I was trying to avoid the trigger because i didn't think i could call one clientside to clientside? I will try it and see!...
Forum: NPC Scripting 02-17-2011, 06:06 AM
Replies: 51
Views: 10,387
Posted By kingcj
Yea I know but I am trying to get it to work...

Yea I know but I am trying to get it to work severside first. If it works severside I can put all the public functions clientside and get the same result clientside only, right? Plus my door script...
Forum: NPC Scripting 02-17-2011, 04:59 AM
Replies: 51
Views: 10,387
Posted By kingcj
Yea Kinda figured that. I tried the...

Yea Kinda figured that. I tried the temp.door.type() and got nothing in RC. Maybe this should be done a different way? Maybe place everything in one function that connects objects and all with...
Forum: NPC Scripting 02-17-2011, 03:04 AM
Replies: 51
Views: 10,387
Posted By kingcj
Sorry for like the triple post, but this seems to...

Sorry for like the triple post, but this seems to call the echo just don't know how to update the object now...

public function door.doorOpen() {
echo("crap");
this.hide();
sleep(3);
...
Forum: NPC Scripting 02-17-2011, 12:14 AM
Replies: 51
Views: 10,387
Posted By kingcj
Sorry I mis-read your quote. I tried placing on...

Sorry I mis-read your quote. I tried placing on before the function, and I still get the error message.
Forum: NPC Scripting 02-16-2011, 05:57 AM
Replies: 51
Views: 10,387
Posted By kingcj
A trigger won't work clientside from the DB I...

A trigger won't work clientside from the DB I don't think, but I don't really know. I don't understand why it won't pick this up as a function though? A trigger would be great if I could work it...
Forum: NPC Scripting 02-16-2011, 04:27 AM
Replies: 51
Views: 10,387
Posted By kingcj
right but i can't use trigger beecause i want...

right but i can't use trigger beecause i want this to be able to be clientside as well. It gives me an error and says it can't find function doorOpen.
Forum: NPC Scripting 02-16-2011, 01:42 AM
Replies: 51
Views: 10,387
Posted By kingcj
Bump (sorta) This is what I am working with,...

Bump (sorta)
This is what I am working with, and everything works Except calling the function from the SwitchDB to the door.

This is the Switch Database

function onCreated() {
SwitchDB =...
Showing results 51 to 75 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.