Graal Forums  

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

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: Adddeeee
Forum: NPC Scripting 08-09-2011, 09:03 PM
Replies: 35
Views: 2,599
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,599
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,599
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,599
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,599
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,599
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,599
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,599
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,599
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,599
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: NPC Scripting 08-06-2011, 07:12 PM
Replies: 35
Views: 2,599
Posted By Adddeeee
Thank you very much! I was a little bit...

Thank you very much!

I was a little bit concerned about how to solve that problem.

I'm also a little bit concerned about where to put the raw data.

I would like to create an array consisting...
Forum: NPC Scripting 08-06-2011, 05:35 PM
Replies: 35
Views: 2,599
Posted By Adddeeee
Yepp. Since this.itemselected contains a gui...

Yepp. Since this.itemselected contains a gui control. But when I add one more parameter to the triggeraction it works just fine.

triggeraction(this.x + 0.5, this.y + 0.5, "BuyItem",...
Forum: NPC Scripting 08-06-2011, 04:57 PM
Replies: 35
Views: 2,599
Posted By Adddeeee
Hi! This is what we've got so far. We have...

Hi!

This is what we've got so far. We have now updated the script so that our trigger action triggers onActionBuyItem.

Although, we have a variable called this.itemselected, which will store...
Showing results 1 to 13 of 13

 
Forum Jump

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


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