Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   I Really Need Help Please Respond!!!!!!!!!!! (https://forums.graalonline.com/forums/showthread.php?t=17574)

FungusAmungus 11-22-2001 01:08 PM

I Really Need Help Please Respond!!!!!!!!!!!
 
i really need help on an NPC i need a NPC that when a person with my tag on 'Stealth Assassins' walks into him it will warp him to a different level and then i need when someone does not have to right tag it will say go away and then when the 'Stealth Assassins' members say open everyone can get in but the guy will not allow then inafter like a sectain time limit so no more can get in but the people in say in there till they exit i need help on it :(

Python523 11-22-2001 01:42 PM

Re: I Really Need Help Please Respond!!!!!!!!!!!
 
Quote:

Originally posted by FungusAmungus
i really need help on an NPC i need a NPC that when a person with my tag on 'Stealth Assassins' walks into him it will warp him to a different level and then i need when someone does not have to right tag it will say go away and then when the 'Stealth Assassins' members say open everyone can get in but the guy will not allow then inafter like a sectain time limit so no more can get in but the people in say in there till they exit i need help on it :(
I'm only giving you this because I'm bored and fealing generous
if (playertouchsme&&strequals(#g,Stealth Assassins)) {setlevel2 levelhere,xhere,yhere;}
else
{message Go Away;}
if (playerchats&&strequals(#c,Open)&&strequals(#g,Ste alth Assassins)) {hide;dontblock;sleep5;blockagain;}

fireball_dolphonia 11-23-2001 07:35 AM

Re: Re: I Really Need Help Please Respond!!!!!!!!!!!
 
Quote:

Originally posted by Python523

I'm only giving you this because I'm bored and fealing generous
if (playertouchsme&&strequals(#g,Stealth Assassins)) {setlevel2 levelhere,xhere,yhere;}
else
{message Go Away;}
if (playerchats&&strequals(#c,Open)&&strequals(#g,Ste alth Assassins)) {hide;dontblock;sleep5;blockagain;}

better make it hidelocal

mikepg 11-23-2001 08:03 PM

no, hide is what is needed, not hidelocal. He said when a player says "Open" its open to everyone, not just the player who said it.

royce 11-23-2001 11:02 PM

this is a p2p server.....steve needs it for providence prolly

fireball_dolphonia 11-24-2001 01:14 AM

Quote:

Originally posted by mikepg
no, hide is what is needed, not hidelocal. He said when a player says "Open" its open to everyone, not just the player who said it.
but ya it will open to all players even non guilds!

mikepg 11-24-2001 04:14 AM

erm...
 
im pretty sure hidelocal only hides it for the current player....He wants ALL people, including nonguild members to be able to enter, therefor, he needs hide as opposed to hide local. If he only wanted guild members to enter when someone said open, it wouldnt make since, because guild members can already enter.

NPC Code:

// Recommend you put a sign by the door that instructs the player
// To say open followed by seconds in time
tokenize #c;
if (strequals(#t(0),open)&&strequals(#g,<your guild>)) {
hide; dontblock; sleep #t(1); show; blockagain;
}




All times are GMT +2. The time now is 04:54 PM.

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