Graal Forums  

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

Showing results 1 to 25 of 91
Search took 0.00 seconds.
Search: Posts Made By: khortez
Forum: NPC Scripting 03-20-2015, 12:37 PM
Replies: 10
Views: 3,366
Posted By khortez
thanks, i think i understand it a lot better now....

thanks, i think i understand it a lot better now. So last things i can think of to ask is, I've seen code with the same format. but they looked different. does it act the same? being a blank object...
Forum: NPC Scripting 03-18-2015, 05:00 PM
Replies: 10
Views: 3,366
Posted By khortez
TStaticVar()

so i think i get it, but i'm not sure and looking for some outside output. Anyone want to explain TStaticVar() to me? It's usage.. downsides of using it. anything really. thanks in advance for any...
Forum: NPC Scripting 02-27-2015, 03:37 AM
Replies: 20
Views: 5,184
Posted By khortez
you can use alpha on text, i have a mini system...

you can use alpha on text, i have a mini system on testbed that uses alpha to fade in/fade out for it
Forum: NPC Scripting 02-27-2015, 01:35 AM
Replies: 18
Views: 4,263
Posted By khortez
So much information at once. Nice to see. in any...

So much information at once. Nice to see. in any case thanks guys. yeah i'll look into these methods. will just get my feet deeper into GS2 and then play around with SQL to get a better feel. still...
Forum: NPC Scripting 02-26-2015, 12:23 AM
Replies: 18
Views: 4,263
Posted By khortez
will do the best i can. though i wish the...

will do the best i can. though i wish the information wasn't such a pain to reach. learning to code in itself is an animal, especially with information in every which way. and then there's SQL... but...
Forum: NPC Scripting 02-24-2015, 06:29 PM
Replies: 18
Views: 4,263
Posted By khortez
If SQL is the best way.. My only question would...

If SQL is the best way.. My only question would be, where would I begin learning it? Chompy gave me his source. but if anyone has other sources Id be happy to look at them all
Forum: NPC Scripting 02-24-2015, 03:23 PM
Replies: 18
Views: 4,263
Posted By khortez
Ah, I think I understand that. Thanks everyone

Ah, I think I understand that. Thanks everyone
Forum: NPC Scripting 02-23-2015, 04:39 PM
Replies: 18
Views: 4,263
Posted By khortez
Wouldn't even know where to begin with SQL(never...

Wouldn't even know where to begin with SQL(never used it/learned it before). But I could use a mixture of different methods? IE: clientr. + DB/textfiles?

Hmm, I'll just make this part easy and say...
Forum: NPC Scripting 02-23-2015, 04:40 AM
Replies: 18
Views: 4,263
Posted By khortez
Sorry for any confusion, I just mean databases. ...

Sorry for any confusion, I just mean databases.

Edit: just to say I've never used text files before, so getting into them is new for me. And I'm just getting the hang of using Databases
Forum: NPC Scripting 02-22-2015, 11:15 PM
Replies: 18
Views: 4,263
Posted By khortez
Databases and text file usages

It was mentioned that using DB NPCs and text files were better to save information like guilds rather than using clientr flags. Is the usage between the two preference?

IE: Choosing DB over text...
Forum: NPC Scripting 12-19-2014, 12:03 AM
Replies: 12
Views: 4,612
Posted By khortez
And yet... another little tidbit that was off in...

And yet... another little tidbit that was off in cyberspace until this moment.. how do you guys remember all these prefixes and what not?

thanks though i got two methods to use now
Forum: NPC Scripting 12-16-2014, 08:29 PM
Replies: 12
Views: 4,612
Posted By khortez
Ah. if i understand what you're saying correctly,...

Ah. if i understand what you're saying correctly, he wasn't trying to use a lot of the keys. he wanted to use onWeaponFired() for his project. the array was just meant to contain his images names. :P...
Forum: NPC Scripting 12-16-2014, 05:48 AM
Replies: 12
Views: 4,612
Posted By khortez
Suddenly i can see how dumb my second attempt...

Suddenly i can see how dumb my second attempt looks. I didn't even refer anything from the array at that point. aside from it's size anyway. but anyways thanks. i can see what i did wrong/should have...
Forum: NPC Scripting 12-15-2014, 05:18 PM
Replies: 12
Views: 4,612
Posted By khortez
confusion on array and random()

someone was asking for help on this (probably have an idea of what you're thinking or going to say about that but anyway...)


they wanted to make it so whenever they pressed a key, a random image...
Forum: NPC Scripting 12-12-2014, 05:52 PM
Replies: 2
Views: 2,414
Posted By khortez
and here i spent my time testing out different...

and here i spent my time testing out different possible methods before figuring it made no sense. only to find out case sensitive issues is my thing. oh well, anyways thanks
Forum: NPC Scripting 12-12-2014, 04:19 PM
Replies: 2
Views: 2,414
Posted By khortez
referencing weapon objects

i wanted to trigger an event from another weapon. and whenever i reference the weapon, for whatever reason this works:

temp.test = "Personal/khortez/Error_Report".DisplayMSG("test3");


but...
Forum: NPC Scripting 05-29-2014, 10:10 PM
Replies: 2
Views: 1,060
Posted By khortez
i think i understand what you mean, thanks. i'll...

i think i understand what you mean, thanks. i'll try again
Forum: NPC Scripting 05-29-2014, 09:15 PM
Replies: 2
Views: 1,060
Posted By khortez
can't find a work around for if a player misses a hit

function Swing(){
if(null in { player.x + 3, player.y + 1.5 } ){
triggeraction(player.x + 3, player.y + 1.5, "Contact", player.account);
player.chat = "Contact!";
}else{
...
Forum: NPC Scripting 03-25-2014, 05:25 PM
Replies: 8
Views: 3,846
Posted By khortez
i guess that may have been something i overlooked...

i guess that may have been something i overlooked when i copied/pasted my code into another weapon, however simple as it may have been, thanks for the help everyone
Forum: NPC Scripting 03-24-2014, 09:24 PM
Replies: 8
Views: 3,846
Posted By khortez
Not entirely sure what you mean , but while i...

Not entirely sure what you mean , but while i recognize this is a somewhat old thread, i'm posting my appreciation to those that helped me. for some time i actually thought i'd have to try and solo...
Forum: NPC Scripting 02-12-2014, 05:20 PM
Replies: 8
Views: 3,846
Posted By khortez
yeah it's under //#CLIENTSIDE, and yeah it's had...

yeah it's under //#CLIENTSIDE, and yeah it's had different names before, but it never makes a difference what name it is it feels like for this error to appear, as just to test it, i have used the...
Forum: NPC Scripting 02-12-2014, 06:35 AM
Replies: 8
Views: 3,846
Posted By khortez
function onCreated(){ new...

function onCreated(){
new GuiShowImgCtrl("Selected_Pocket"){
x = 30;
y = 30;
height = 100;
width = 100;
}
}
Forum: NPC Scripting 02-06-2014, 02:42 AM
Replies: 8
Views: 3,846
Posted By khortez
need a solution for repeated error message in RC

i was trying to create a gui window but for some reason i keep getting this error message: "Script: Function addcontrol not found " can someone tell me a solution for that?



edit: i don't think...
Forum: NPC Scripting 07-07-2013, 09:24 PM
Replies: 10
Views: 1,767
Posted By khortez
i see; just stating this then, the wiki has it...

i see; just stating this then, the wiki has it like this:


Explanation:

it is invoked when a player logs on. Can be put in weapon NPCs and DBNPcs.


Example
Forum: NPC Scripting 07-07-2013, 09:06 PM
Replies: 10
Views: 1,767
Posted By khortez
so onActionPlayerOnline is only used for the...

so onActionPlayerOnline is only used for the control-NPC?
Showing results 1 to 25 of 91

 
Forum Jump

All times are GMT +2. The time now is 05:11 PM.


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