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 03-24-2002, 08:08 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
Does this sound right?

If you have an NPCW in the weapons database, and you have a triggeraction to the weapon and that action is server-side and has with() stuff in it, does the first parameter of the triggeraction have to be the weapon name?
__________________

!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 03-25-2002, 10:07 AM
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
Re: Does this sound right?

Quote:
Originally posted by Saga2001
If you have an NPCW in the weapons database, and you have a triggeraction to the weapon and that action is server-side and has with() stuff in it, does the first parameter of the triggeraction have to be the weapon name?
I believe it is like that because you can trigger other weapons using triggeraction that way.
__________________
Graal2001 NPC Maker
Frolic Owner
Aim: C Y B N E X T
  #3  
Old 03-25-2002, 05:06 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
Re: Re: Does this sound right?

Quote:
Originally posted by Cybnext_Design


I believe it is like that because you can trigger other weapons using triggeraction that way.
kool, 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
  #4  
Old 03-25-2002, 09:42 PM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
triggeraction 0,0,serverside,WeaponName,extraparameter(s);


the weapon name isn't read as a parameter
__________________
[signature]insert here[/signature]
  #5  
Old 04-12-2002, 07:10 AM
SaijinGohan SaijinGohan is offline
Registered User
SaijinGohan's Avatar
Join Date: Jul 2001
Location: U.S.A - Ohio
Posts: 536
SaijinGohan is on a distinguished road
Send a message via AIM to SaijinGohan Send a message via MSN to SaijinGohan
right.. like here is a script of an example

NPC Code:

if (actionserverside) {
if (strequals(#p(0),warp)) {
with(getplayer(#p(1))) {
setlevel onlinestartlocal.graal;
}
}
}
//#CLIENTSIDE
if (playerchats && strequals(#c,baaaaaa)) {
player = bob;
triggeraction 0,0,serverside,System,warp,#v(player);
}

__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
 


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 12:48 AM.


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