Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Would this work? (https://forums.graalonline.com/forums/showthread.php?t=10732)

joseyisleet 08-29-2001 11:49 PM

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?

KJS 08-30-2001 12:06 AM

only way you can edit someones ap is if you have a npc server and have it serverside

joseyisleet 08-30-2001 12:12 AM

yea i know.
 
^

joseyisleet 08-30-2001 12:13 AM

.
 
but would that work?

KJS 08-30-2001 12:14 AM

I dont think there is such a statment as

playerkillsplayer

AlexH 08-30-2001 12:22 AM

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

:spam: <--------The ultimate spaming tool

joseyisleet 08-30-2001 12:27 AM

 
 
yea, i doubt there is one. can someone help me?

KJS 08-30-2001 12:42 AM

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..

AlexH 08-30-2001 12:48 AM

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

KJS 08-30-2001 12:51 AM

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)

AlexH 08-30-2001 12:54 AM

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

joseyisleet 08-30-2001 12:56 AM

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

AlexH 08-30-2001 12:57 AM

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 :)

joseyisleet 08-30-2001 01:08 AM

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

'i r an idget'
=/

KJS 08-30-2001 01:21 AM

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...


All times are GMT +2. The time now is 11:50 AM.

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