Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-28-2001, 11:34 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
???

so if i wanted to trigger servergetchat, and the npc saying:
NPC Code:

if (actionservergetchat) {
actions...
}


thanthe npc would call:
NPC Code:

if (playerchats) triggeraction playerx+1.5,playery+2,servergetchat,#a;


?!?!?!?!

can someone answer if this would work for p2p? i need to make sure that thats all i need to fix...i am fairly new to p2p
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
  #2  
Old 11-29-2001, 03:39 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
yes, but the if (actionserver... part would go in the control npc.
since server actions are called to it.
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
  #3  
Old 11-29-2001, 06:53 AM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Re: ???

Quote:
Originally posted by Saga2001
so if i wanted to trigger servergetchat, and the npc saying:
NPC Code:

if (actionservergetchat) {
actions...
}


thanthe npc would call:
NPC Code:

if (playerchats) triggeraction playerx+1.5,playery+2,servergetchat,#a;


?!?!?!?!

can someone answer if this would work for p2p? i need to make sure that thats all i need to fix...i am fairly new to p2p
NPC Code:

it (playerchats) {
triggeraction 0,0,servergetchat,#a;
}


I think the X and Y have to be 0. Works when it is, so I dunno.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
  #4  
Old 11-29-2001, 02:03 PM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
ok...

yeah i got from pikaz that it was 0,0 but its not working...
and i can't figure out y...
if anyone could help me out a little with fixing it, i would be overly greatful...
i am fairly new to npcserver...
AIM: PastAustin
MAIL: [email protected]
thanks!
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
  #5  
Old 11-30-2001, 04:18 AM
mikepg mikepg is offline
Registered User
Join Date: Nov 2001
Location: VA, USA
Posts: 501
mikepg is on a distinguished road
Send a message via AIM to mikepg Send a message via Yahoo to mikepg
well

when im scripting stuff like that, If you stay in the same level as the NPC, the x,y stays where you put it. If it is a weapon, and you leave the level, the x,y automatically goes to 0,0. Thats why, if you had a weapon that played a sound before play2 came out, it sounded far away sometimes.
__________________
~War Lord Mpg2
Bravo Online's Asst. Staff Manager

"Sittin by the tree, sippin eggnog, waitin on christmas gifts"
  #6  
Old 11-30-2001, 07:00 AM
Andor_NPC-Admin1 Andor_NPC-Admin1 is offline
Registered User
Join Date: Nov 2001
Posts: 69
Andor_NPC-Admin1 is on a distinguished road
Re: ok...

Quote:
Originally posted by Saga2001
yeah i got from pikaz that it was 0,0 but its not working...
and i can't figure out y...
if anyone could help me out a little with fixing it, i would be overly greatful...
i am fairly new to npcserver...
AIM: PastAustin
MAIL: [email protected]
thanks!
You're chat thing still not working?
Did u make it as a regular NPC instead of a weapon, like i said b4?
 


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 07:01 AM.


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