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
  #1  
Old 10-16-2001, 05:49 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Please Help

Alright, im working on the thing where you have to beat the mineral to 100% after it has been mined. I dont wanna use Put NPC so i have the npc already at the spot and its hidden and when the player says "Mineral at 1" it shows it at the station 1. Now I need to know how i should do it so that when someone is already at the point working on it, someone cant come in and say mineral at 1 and it replaces that persons.

And also what would be the way to do it so if no one hits it for 15 seconds it sets #a to no owner until someone hits it again and it sets the flag to owner is #a
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #2  
Old 10-16-2001, 06:26 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Re: Please Help

Quote:
Originally posted by ownerofbabylon
Alright, im working on the thing where you have to beat the mineral to 100% after it has been mined. I dont wanna use Put NPC so i have the npc already at the spot and its hidden and when the player says "Mineral at 1" it shows it at the station 1. Now I need to know how i should do it so that when someone is already at the point working on it, someone cant come in and say mineral at 1 and it replaces that persons.

And also what would be the way to do it so if no one hits it for 15 seconds it sets #a to no owner until someone hits it again and it sets the flag to owner is #a
well for your first question its easy when someone is hitting it or whatever placed a stone there you go like

this.stoneplaced=1;

and in the if/then that you check if they place it

add this

this.stoneplaced==1

next question would be really easy if you have a npc server...

but jw how are you saving what account owns it or whatever?

then mabie I can help
__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 10-16-2001, 08:40 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
thanks, strings
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #4  
Old 10-17-2001, 02:45 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
*bump*
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #5  
Old 10-17-2001, 03:22 AM
btedji btedji is offline
bryan986
btedji's Avatar
Join Date: Apr 2001
Location: Force 10
Posts: 1,153
btedji is on a distinguished road
Send a message via ICQ to btedji Send a message via AIM to btedji Send a message via Yahoo to btedji
and how do you suppose your server will get up at a pace like this?
Reply With Quote
  #6  
Old 10-17-2001, 05:21 AM
Petey84 Petey84 is offline
Registered User
Join Date: Sep 2001
Location: Johnstown PA, and Mobile AL
Posts: 308
Petey84 is on a distinguished road
Send a message via AIM to Petey84 Send a message via Yahoo to Petey84
Shakaku:
If you have to beat it with a certain weapon, use triggeraction , explain a lil more, i can try an help.
__________________
-Pete aka Wilddude
-Nishoku as well ;D!

AIM
Pete: WildDude2002
Nishoku: Nishoku, SaikoAkumu
-----------------------------------------------
StarX480: bai
Reply With Quote
  #7  
Old 10-17-2001, 08:05 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Quote:
Originally posted by btedji
and how do you suppose your server will get up at a pace like this?
im learning!
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #8  
Old 10-17-2001, 11:27 PM
Xaviar Xaviar is offline
Registered User
Join Date: Aug 2001
Location: Fairyland
Posts: 463
Xaviar is on a distinguished road
Send a message via ICQ to Xaviar Send a message via AIM to Xaviar
Quote:
Originally posted by btedji
and how do you suppose your server will get up at a pace like this?
Helmut's trying to learn how to script, I'm the one that does most of the actual scripts.
__________________
One by one, the penguins steal my sanity.

*cookie for Xaviar* --Originally posted by Tyhm

--Xaviar

A m e r i c a
Reply With Quote
  #9  
Old 10-18-2001, 12:28 AM
dragoonvenganc dragoonvenganc is offline
Registered User
Join Date: Jul 2001
Location: USA
Posts: 331
dragoonvenganc is on a distinguished road
Send a message via ICQ to dragoonvenganc Send a message via AIM to dragoonvenganc
Please people say if it is for a server and if so p2p or not.

there is a big differents in the scripts
__________________
Dragoon Vengance
Owner of Pangea Relics of Time
P2P Rp server
For info or job
Email: [email protected]
aim: dragoonvengnc
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 02:51 PM.


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