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 04-10-2002, 04:33 AM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
Power lines - Question on canwarp/2

I'm working on my own version of the "Powerlines" npc script posted in NPC Scripting...

But i have a few questions about the P2P side of it...

Which would I use to allow the npc to move between levels (when it's on a track)
canwarp or canwarp2 ? Or does it REALLY matter?

Also, does it need to be serverside or clientside? (I'm thinking serverside, cause clientside would display for one client.

There's no real way I can test this script between multiple levels, but i'd like to include this in there for the person who wants it...

Thanks in advance...
  #2  
Old 04-12-2002, 07:05 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
canwarp2 is what you want and you want it serverside but it will only work as an NPC On the NPC List from NC, otherwise it wont work.
__________________

Job: A Legend

And you think that you have played Graal forever? Ha!
  #3  
Old 04-12-2002, 03:12 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
Is canwarp the function that warps the NPC to the designated x,y co-ordinates on a link in the level, or is that canwarp2. I simply forgot. ;\
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
  #4  
Old 04-12-2002, 06:55 PM
Spanko Spanko is offline
Squeaker of Soles
Spanko's Avatar
Join Date: Nov 2001
Location: The Netherworl...lands
Posts: 1,366
Spanko is on a distinguished road
Send a message via ICQ to Spanko Send a message via AIM to Spanko Send a message via Yahoo to Spanko
The main difference between the canwarp and canwarp2 commands is that if the NPC uses canwarp it will take all level links, while if it's using canwarp2 it'll only take the usual extremely large links at the border of a level.
__________________

ICQ: 125283920
MSN: [email protected]
AIM: Squeax0r
Squeaker seems unable to access the forum using this account.. tis a sad day.
Now with occasional Asuka flavour! Ooops a bit too much...
Asuka should be king of Dustari!

"Y'know, some days even my lucky rocketship underpants don't even help."

Last edited by Spanko; 04-12-2002 at 07:51 PM..
  #5  
Old 04-12-2002, 07:51 PM
Spanko Spanko is offline
Squeaker of Soles
Spanko's Avatar
Join Date: Nov 2001
Location: The Netherworl...lands
Posts: 1,366
Spanko is on a distinguished road
Send a message via ICQ to Spanko Send a message via AIM to Spanko Send a message via Yahoo to Spanko
Quote:
Originally posted by Kaimetsu


Ah, gotcha. Thanks for the clarification.
I look stupid in that quote, it should have been the border of the level
__________________

ICQ: 125283920
MSN: [email protected]
AIM: Squeax0r
Squeaker seems unable to access the forum using this account.. tis a sad day.
Now with occasional Asuka flavour! Ooops a bit too much...
Asuka should be king of Dustari!

"Y'know, some days even my lucky rocketship underpants don't even help."
  #6  
Old 04-13-2002, 06:57 AM
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
Quote:
Originally posted by Spanko
I look stupid in that quote, it should have been the border of the level
Hey it looks good on ya!
__________________

!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
  #7  
Old 04-13-2002, 08:43 AM
Gohan43331 Gohan43331 is offline
Registered User
Join Date: Jan 2002
Posts: 87
Gohan43331 is on a distinguished road
Send a message via AIM to Gohan43331
Thanks a bunch guys... (Maybe sometime I'll actually be able to test this , but for now...my two playerhouses in one level is fine for me )

If you want to see it, pm me for the link to the zip on my site...I'd like to see if it would work correctly. (Right now, the lines are up to 40+ npcs in one level :P )
 


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 08:24 PM.


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