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 30
Search took 0.01 seconds.
Search: Posts Made By: Adddeeee
Forum: NPC Scripting 08-12-2011, 09:01 PM
Replies: 21
Views: 1,823
Posted By Adddeeee
Oh my, isn't that clumsy! Should've double...

Oh my, isn't that clumsy!

Should've double checked those things before I posted. Really sorry for taking up your time with spelling errors :S

Thank you though, it works now :)
Forum: NPC Scripting 08-11-2011, 08:54 PM
Replies: 21
Views: 1,823
Posted By Adddeeee
Hm...it works part time. The player.chat...

Hm...it works part time.

The player.chat works, but the GUI doesn't update.


//#CLIENTSIDE
function onCreated()
{
new GuiControlProfile(ATextProfile)
{
Forum: NPC Scripting 08-11-2011, 08:32 PM
Replies: 21
Views: 1,823
Posted By Adddeeee
Thank you! That updated commands.rtf helped a lot...

Thank you! That updated commands.rtf helped a lot :)
Forum: NPC Scripting 08-11-2011, 08:20 PM
Replies: 1
Views: 1,571
Posted By Adddeeee
Triggeraction from weapon to putnpc2- NPC

Hi! (again)

Sorry for yet another new thread, but it seems as if I'm stuck again!

I'm trying to do a staffblock. The idea is that when you left-click the mouse a staffblock will appear with...
Forum: NPC Scripting 08-11-2011, 07:06 PM
Replies: 5
Views: 1,041
Posted By Adddeeee
So this.destroy erases them completely?

So this.destroy erases them completely?
Forum: NPC Scripting 08-11-2011, 06:52 PM
Replies: 5
Views: 1,041
Posted By Adddeeee
putnpc2, remove?

Hi!

When using putnpc2; how do I remove the npcs after creating them?

I used this.destroy(), but it seems as if they are still there. Sometimes their onPlayerTouchsMe fires, even though they...
Forum: NPC Scripting 08-11-2011, 02:25 PM
Replies: 21
Views: 1,823
Posted By Adddeeee
Ah thank you :) This may be a little OT,...

Ah thank you :)

This may be a little OT, but do you know where to find a list of all the default events? And even more OT, do you know where to find a list of the default client flags?

Thank...
Forum: NPC Scripting 08-11-2011, 02:00 PM
Replies: 21
Views: 1,823
Posted By Adddeeee
Thank you for your replies earlier :) I...

Thank you for your replies earlier :)

I managed to get my own images shown instead of the default hearts. Although, we've decided to use a health bar instead of just images.

But I'm not really...
Forum: NPC Scripting 08-10-2011, 01:02 AM
Replies: 21
Views: 1,823
Posted By Adddeeee
Thank you :) Feeling kind of dumb now when you...

Thank you :) Feeling kind of dumb now when you just find all that info in such a short time! Still struggling to get used to the detective work that has to be done!

But I'm getting there! Thank...
Forum: NPC Scripting 08-10-2011, 12:52 AM
Replies: 21
Views: 1,823
Posted By Adddeeee
Okay :) Where do I deside the layer no. ? ...

Okay :) Where do I deside the layer no. ?

Thanks!
Forum: NPC Scripting 08-10-2011, 12:43 AM
Replies: 21
Views: 1,823
Posted By Adddeeee
Ahaaa...thought that was for hiding the hearts...

Ahaaa...thought that was for hiding the hearts shown over the players head when hit.

But what if I want to add new images? Can I choose whaterver index I want to? Doesn't it exist any list with...
Forum: NPC Scripting 08-10-2011, 12:13 AM
Replies: 21
Views: 1,823
Posted By Adddeeee
Finimg, showimg, hideimg index?

Hi!

Thinking of creating a health system. I searched the forum and have come to the conclusion that I need to use findimg(), hideimg() and showimg().

When using either I need to specify an...
Forum: NPC Scripting 08-09-2011, 09:03 PM
Replies: 35
Views: 2,531
Posted By Adddeeee
Yepp :) I did that just to check if it worked....

Yepp :) I did that just to check if it worked. I'm going to setup different shop IDs and add them to the different NPCs before joining the class.

But if I set the setshape to 48, 48 wouldn't I...
Forum: NPC Scripting 08-09-2011, 08:32 PM
Replies: 35
Views: 2,531
Posted By Adddeeee
Ah okay, I thought 32x32 pixels was the default...

Ah okay, I thought 32x32 pixels was the default character size :O

Isn't the "hit box" drawn from the upper left corner of the NPC to the lower right corner as a rectangle with the size specified...
Forum: NPC Scripting 08-09-2011, 08:27 PM
Replies: 35
Views: 2,531
Posted By Adddeeee
Thank you very much! Now I think I understand the...

Thank you very much! Now I think I understand the DB NPC :)

Although, I still have problems with the PlayerTouchsMe. It seems as if the player touches the NPC when the player is located to the top...
Forum: NPC Scripting 08-09-2011, 07:29 PM
Replies: 35
Views: 2,531
Posted By Adddeeee
Thank you :) I tried something similar just now,...

Thank you :) I tried something similar just now, but failed because I didn't make the function getItems in the DB NPC public. I suppose it has to be public?
Forum: NPC Scripting 08-09-2011, 06:34 PM
Replies: 35
Views: 2,531
Posted By Adddeeee
To start with I want to thank you all for your...

To start with I want to thank you all for your replies and good support :) We're closing in on the main goal!

We don't have a DB just yet, but we're close to it...I think!

This is what we've...
Forum: NPC Scripting 08-09-2011, 12:58 AM
Replies: 35
Views: 2,531
Posted By Adddeeee
Omg, thank you! Getting a little tired ;D

Omg, thank you! Getting a little tired ;D
Forum: NPC Scripting 08-09-2011, 12:52 AM
Replies: 35
Views: 2,531
Posted By Adddeeee
Thumbs up Ah I see, will try this later on when I get the...

Ah I see, will try this later on when I get the GUI to be more flexible :) Sorry for asking so many dumb questions, but I'm kind of stuck both on the DB NPC and on the GUI part!

Why doesn't this...
Forum: NPC Scripting 08-09-2011, 12:26 AM
Replies: 35
Views: 2,531
Posted By Adddeeee
Then we will try that solution :) If we use...

Then we will try that solution :)

If we use a DB NPC named DB_Items we could store all the information regarding the items in that NPC.

But what happens with the clientside of the level NPC?...
Forum: NPC Scripting 08-08-2011, 10:34 PM
Replies: 35
Views: 2,531
Posted By Adddeeee
Okay, thank you very much :) So you don't...

Okay, thank you very much :)

So you don't think we need to re-build it using DB NPCs?

We don't really know how to use a DB NPC properly but I understand that's the way the "pro's" are doing...
Forum: NPC Scripting 08-08-2011, 10:12 PM
Replies: 35
Views: 2,531
Posted By Adddeeee
This is what we've got so far! Although I'm...

This is what we've got so far!

Although I'm interested in re-doing the shop with DB NPC's instead of putting all the item information in the shop class. Do you think that would be more efficient...
Forum: Tech Support 08-07-2011, 03:00 PM
Replies: 4
Views: 605
Posted By Adddeeee
Thank you :)

Thank you :)
Forum: Tech Support 08-07-2011, 02:44 PM
Replies: 4
Views: 605
Posted By Adddeeee
Two RCs one IP

Hi!

To begin with, I'm not sure if I posted this thread at the right place, so feel free to move it if needed.

My friend and I both have RC accounts. We're currently located in the same house...
Forum: NPC Scripting 08-07-2011, 10:46 AM
Replies: 8
Views: 1,012
Posted By Adddeeee
Thank you all for your replies :) Yepp, I...

Thank you all for your replies :)

Yepp, I figuered it wasn't "meant" to be like in Java. Yes it's very similar to C's #include, from now on I'll just think of it like that!

I'm a little...
Showing results 1 to 25 of 30

 
Forum Jump

All times are GMT +2. The time now is 02:04 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.