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 04-11-2001, 07:28 AM
Komieko Komieko is offline
Registered User
Join Date: Mar 2001
Posts: 494
Komieko is on a distinguished road
I've been trying to make my own capture the flag with limited success..could anyone help me out? (it's using gani's)
Reply With Quote
  #2  
Old 04-11-2001, 09:12 AM
Komieko Komieko is offline
Registered User
Join Date: Mar 2001
Posts: 494
Komieko is on a distinguished road
hehe..Well I am trying to figure out how to do Capture the flag
but it isn't working
too well..The first NPC (using 2 npcs for one flag):
if (playerenters && !gotredflag){setcharani
flagstill,1;show;}else{hide;}
if (!gotredflag){setcharani flagstill,1;show;}
if (playertouchsme){set gotredflag;}
2nd:
if (gotredflag){
setcharani flag,1;followplayer;show;}

if (playerhurt) {
unset gotredflag;
}
if (playerdies){unset gotredflag;}
if (!gotredflag){hide;}
But if I get hurt and go to grab it again the first flag
disappears (like ti
shoudl) but
the other flag doesn't appear with me again
Reply With Quote
  #3  
Old 04-11-2001, 09:47 AM
Cloud_X Cloud_X is offline
Cloud_X's Avatar
Join Date: Mar 2001
Posts: 2,921
Cloud_X will become famous soon enough
It uses an NPC server i belive
__________________
Temporary blocked
Stefan Knorr
Reply With Quote
  #4  
Old 04-11-2001, 10:02 AM
Komieko Komieko is offline
Registered User
Join Date: Mar 2001
Posts: 494
Komieko is on a distinguished road
Jaja..but there must be a way for offline mode too :P
Reply With Quote
  #5  
Old 04-16-2001, 08:18 AM
Krakken_2001 Krakken_2001 is offline
Posts: 1337
Krakken_2001's Avatar
Join Date: Mar 2001
Location: Staffs, England Quote: "Bomy in Progress" Looks: Amazingly Stunning Popularity: 10,000%
Posts: 1,325
Krakken_2001 is on a distinguished road
You'll never get it, hehe, and BTW yes it does use the NPC server but it can be done without
__________________
------------------------


- UnOfficial Graalian Story Teller
- Holder Of The 1000th Upgraded Graalian Account (Not This One)
------------------------------------------------------------------------------
"The Fairy Princess - Zorro" - A New Beggining
Reply With Quote
  #6  
Old 04-17-2001, 03:01 AM
Guest
Posts: n/a
its easy, but you musn't ask, but find it out
Reply With Quote
  #7  
Old 06-23-2001, 12:51 PM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
I have CTF done for a non-p2p server and it was very very easy.

And NO, i wont give the script....
__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote
  #8  
Old 06-23-2001, 12:55 PM
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
Cool yes you can do it for offline

yea you can do it offline...
you use

canwarp

and

followplayer...

(but then it will only work offline...)
__________________
Thanks,
-KJL
Reply With Quote
  #9  
Old 06-23-2001, 05:59 PM
grim_squeaker_x grim_squeaker_x is offline
Retired Oldbie
grim_squeaker_x's Avatar
Join Date: Mar 2001
Posts: 3,084
grim_squeaker_x will become famous soon enough
Re: yes you can do it for offline

Quote:
Originally posted by KJS
yea you can do it offline...
you use

canwarp

and

followplayer...

(but then it will only work offline...)
You can do it with showimg and a NPC weapon and a few server strings too
__________________

Reply With Quote
  #10  
Old 06-24-2001, 02:46 PM
Cybnext_Design Cybnext_Design is offline
Registered User
Join Date: Jun 2001
Posts: 244
Cybnext_Design is on a distinguished road
Send a message via AIM to Cybnext_Design
Mine works online too...i dont use Canwarp....
__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
Reply With Quote
  #11  
Old 06-25-2001, 01:17 AM
CrazedMerlin CrazedMerlin is offline
Some Guy :\
Join Date: Apr 2001
Posts: 3,619
CrazedMerlin is on a distinguished road
Send a message via AIM to CrazedMerlin Send a message via Yahoo to CrazedMerlin
use server strings instead of flags like server.gotredflag,#a
kindathing
__________________

ICQ: 117881194
AIM: TehWizad
E-Mail: [email protected]
Reply With Quote
  #12  
Old 06-25-2001, 02:55 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
If you look at the one in Graal Castle on Classic, it's not really complicated....
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
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 06:38 PM.


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