Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-29-2001, 11:49 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
Would this work?

// NPC made by Josey Hunt
if (playerenters) {this.ap=playerap;}
if (playerkillsplayer){
playerap=this.ap;
}

Would this work if you killed someone it owouldn't take down your ap, if not could someone help me?
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #2  
Old 08-30-2001, 12:06 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
only way you can edit someones ap is if you have a npc server and have it serverside
__________________
Thanks,
-KJL
Reply With Quote
  #3  
Old 08-30-2001, 12:12 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
yea i know.

^
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #4  
Old 08-30-2001, 12:13 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
.

but would that work?
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #5  
Old 08-30-2001, 12:14 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
I dont think there is such a statment as

playerkillsplayer
__________________
Thanks,
-KJL
Reply With Quote
  #6  
Old 08-30-2001, 12:22 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
Quote:
Originally posted by KJS
I dont think there is such a statment as

playerkillsplayer
maybe its one of stefans supa hidden commands
but i doubt it

<--------The ultimate spaming tool
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #7  
Old 08-30-2001, 12:27 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road

yea, i doubt there is one. can someone help me?
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #8  
Old 08-30-2001, 12:42 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by Kaimetsu
It'd have to be some server thing, and if it wasn't impossible then it'd certainly be impractical. Don't bother.
you could use triggeraction...

but it would be hectic..
__________________
Thanks,
-KJL
Reply With Quote
  #9  
Old 08-30-2001, 12:48 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
i know there is a playerap= command
but i got told that only works offline like followplayer

why does stefan add commands that only work offline
its st00pid

silly stefan
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #10  
Old 08-30-2001, 12:51 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by AlexH
i know there is a playerap= command
but i got told that only works offline like followplayer

why does stefan add commands that only work offline
its st00pid

silly stefan
playerap works online but only for servers that have npc server...

the reason is because like old graal trainers usto allow you to edit your ap (because it usto edit it clientside)...


and see the more thing stefan allows clientside the more stuff people can do with trainers...

humm I bet followplayer would work on a npc server (but in //#CLIENTSIDE)...

humm I will have to try that out some day :-x lol (the only probablem is that not everyone would see it follow eachother they would jsut see it following them)
__________________
Thanks,
-KJL
Reply With Quote
  #11  
Old 08-30-2001, 12:54 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
true
but would you see if it was done in like a pet where it was like
if the player was the owner of the thing and he/she (notice non sexual) said follow then it followed that player would only the player the pet belongs to see it
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #12  
Old 08-30-2001, 12:56 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
ok, scratch that.

does anyone have a script that allows the player to swim faster, but not walk faster? I've had a couple go-rounds with it, but i cant get it to only work while the player is swimming. =X
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #13  
Old 08-30-2001, 12:57 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
lol
i dont
when i got told it didnt work online i scripted my own
its just as good as the followplayer one but i made it so that makes me feel better nwing i scripted it
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #14  
Old 08-30-2001, 01:08 AM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road

thanks. - didnt even think about that. - smacks himself.

'i r an idget'
=/
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #15  
Old 08-30-2001, 01:21 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
Quote:
Originally posted by Kaimetsu


...? How would you use triggeraction?
you would have to trigger one every time someone swinged the sword and stuff and then in the system npc if they like die or something it would like trigger an auction back to the guy...
__________________
Thanks,
-KJL
Reply With Quote
Reply


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 02:00 PM.


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