Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Capture the flag?!??!?!?! (https://forums.graalonline.com/forums/showthread.php?t=1253)

Komieko 04-11-2001 07:28 AM

I've been trying to make my own capture the flag with limited success..could anyone help me out? (it's using gani's)

Komieko 04-11-2001 09:12 AM

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

Cloud_X 04-11-2001 09:47 AM

It uses an NPC server i belive

Komieko 04-11-2001 10:02 AM

Jaja..but there must be a way for offline mode too :P

Krakken_2001 04-16-2001 08:18 AM

You'll never get it, hehe, and BTW yes it does use the NPC server but it can be done without

04-17-2001 03:01 AM

its easy, but you musn't ask, but find it out

Cybnext_Design 06-23-2001 12:51 PM

I have CTF done for a non-p2p server and it was very very easy. :D

And NO, i wont give the script....

KJS 06-23-2001 12:55 PM

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...)

grim_squeaker_x 06-23-2001 05:59 PM

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

Cybnext_Design 06-24-2001 02:46 PM

Mine works online too...i dont use Canwarp....

CrazedMerlin 06-25-2001 01:17 AM

use server strings instead of flags like server.gotredflag,#a
kindathing

Tyhm 06-25-2001 02:55 AM

If you look at the one in Graal Castle on Classic, it's not really complicated....


All times are GMT +2. The time now is 12:49 AM.

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