Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 11-29-2001, 09:20 AM
Draktha Draktha is offline
Registered User
Join Date: Nov 2001
Location: home in front of my computer lol
Posts: 51
Draktha is on a distinguished road
Send a message via AIM to Draktha Send a message via Yahoo to Draktha
Quote:
Originally posted by SSRobgeta
Would you do:
if (playerlaysitem&&strequals(???,greenrupee)) {
setcharani gralat,1;
}

Something like that?
no its gotta use putnpc 'cause there is a script in each of the gralats.. but im not sure exactly how.. to make it work..
__________________
I think this pretty much sums me up...
Reply With Quote
  #17  
Old 11-29-2001, 09:25 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
Quote:
Originally posted by Draktha

no its gotta use putnpc 'cause there is a script in each of the gralats.. but im not sure exactly how.. to make it work..
I knew that lolz. I ment is the srequals part right?
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #18  
Old 11-29-2001, 09:39 AM
Draktha Draktha is offline
Registered User
Join Date: Nov 2001
Location: home in front of my computer lol
Posts: 51
Draktha is on a distinguished road
Send a message via AIM to Draktha Send a message via Yahoo to Draktha
Quote:
Originally posted by SSRobgeta

I knew that lolz. I ment is the srequals part right?
no idea
__________________
I think this pretty much sums me up...
Reply With Quote
  #19  
Old 11-29-2001, 10:16 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by Python523

Correct me if I'm wrong but I think the gralats are embedded into the NPC Server, you don't even have to script it or ask Stefan for the script since the NPC Server automatically does it
well, i have access to edit the script through NPC Control ...
Reply With Quote
  #20  
Old 11-29-2001, 10:18 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
basically ... if you made a gralats system for a free server it would have to be very good cause you could not use the server to control anything and then someone could edit there stuff clientside for the money to go up and so on ...
Reply With Quote
  #21  
Old 11-29-2001, 12:24 PM
Andor_NPC-Admin1 Andor_NPC-Admin1 is offline
Registered User
Join Date: Nov 2001
Posts: 69
Andor_NPC-Admin1 is on a distinguished road
Quote:
Originally posted by SSRobgeta
Would you do:
if (playerlaysitem&&strequals(???,greenrupee)) {
setcharani gralat,1;
}

Something like that?
To detect if someone laid a rupees, you need to do sumptin like

if(created||timeout) {
for(a=0;a!=itemscount;a++) {
if(items[a].type==greenrupee) {
woohoo, I found a gelat!
}
}
timout=0.05;
}
Reply With Quote
  #22  
Old 11-30-2001, 05:54 AM
Draktha Draktha is offline
Registered User
Join Date: Nov 2001
Location: home in front of my computer lol
Posts: 51
Draktha is on a distinguished road
Send a message via AIM to Draktha Send a message via Yahoo to Draktha
Quote:
Originally posted by Andor_NPC-Admin1


To detect if someone laid a rupees, you need to do sumptin like

if(created||timeout) {
for(a=0;a!=itemscount;a++) {
if(items[a].type==greenrupee) {
woohoo, I found a gelat!
}
}
timout=0.05;
}
uhhh could you tell me how exactly that works...
__________________
I think this pretty much sums me up...
Reply With Quote
  #23  
Old 11-30-2001, 06:52 AM
Andor_NPC-Admin1 Andor_NPC-Admin1 is offline
Registered User
Join Date: Nov 2001
Posts: 69
Andor_NPC-Admin1 is on a distinguished road
it searches all the items 4 a green gelat.
If it found one, then it goes through the loop =P
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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