Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   CTF Event (https://forums.graalonline.com/forums/showthread.php?t=44545)

kenyonandelliot 04-27-2003 11:32 PM

CTF Event
 
Anyone know how to script a CTF event like the flags and how to keep the points straight? And like when you get hit you lose the flag?

HoudiniMan 04-28-2003 07:49 AM

It's policy to not ask for scripts, make your own and we'll be happy to help you with it.

Pokilty 04-28-2003 01:49 PM

It's basically just server. flags and if (playerhit) but you gotta at least try the script yourself.

Pokilty 04-28-2003 10:34 PM

Quote:

Originally posted by Kaimetsu
Using serverflags for this stuff is not cool :-/
It is if the event spans over several levels like I was thinking =p

Python523 04-28-2003 11:28 PM

Quote:

Originally posted by Pokilty

It is if the event spans over several levels like I was thinking =p

gmaps.

Pokilty 04-29-2003 04:47 AM

Yea pretty much.

adam 04-29-2003 06:05 AM

Quote:

Originally posted by Python523

gmaps.

Very few pw's use gmaps. and even fewer understand them. That is not a fair suggestion. :(

cynicalfree1 04-30-2003 04:06 AM

Most of the main playerworlds use gmaps. PW's who dont have anyone to help construct a gmap or explain it to them dont have one to use.Maloria doesnt have a gmap. Someone should help them.

HoudiniMan 04-30-2003 07:52 AM

Give them a little invisible -ctfsystem npc and have it store the events instead

GoZelda 04-30-2003 08:33 PM

You will need multiple NPCs (ofcourse) for the flag etc.

First, you might need two stakes and if the guild (?) of the player is Red Team or Blue Team and he has the flag
(streqauls(#s(server.ctfowner),#a)){
his team get's a point.
You'll also need a sort of system npc, with
if (playerhurt){
and then the flag gets back at it's original place (?), setstring server.ctfowner,none.
then, the flag.
if the player touches the flag, setstring server.ctfowner,#a.
This hopefully helps you.
Oh and don't use this with your current CTF level ;P

HoudiniMan 05-01-2003 06:18 AM

GoZelda: strequals*

Dude6252000 05-01-2003 03:23 PM

I have a question. Why are you making a CTF, when you don't know how to make the NPCs or levels? :x

GoZelda 05-01-2003 05:46 PM

Oh yes iv've heard of a NPCserver but i only know addweapon and removeweapon and don't exactly know how they work :x

HoudiniMan 05-01-2003 10:31 PM

newfeatures.txt's will help you a lot if you read them :)

GoZelda 05-02-2003 04:49 PM

I haven't seen anything but then i didn't look for NPCserver commands, but i did browse trough for my commands file...
Is it 2001 or 2002?


All times are GMT +2. The time now is 09:16 AM.

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