Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   noplayerkilling() (https://forums.graalonline.com/forums/showthread.php?t=82614)

Deas_Voice 11-02-2008 02:07 PM

noplayerkilling()
 
well i was stupid to use it so now im wondering how i can undo this and do so i can hit players x_x

since there are no playerkilling()........

i heard there is something like level.pk or what it w/e it was..

help? >_<

Frankie 11-02-2008 04:37 PM

level.noplayerkilling = true/false; ??

that might be for custom hit detection systems though. I'm not sure.

Chompy 11-02-2008 04:54 PM

Isn't it just enough to remove the code with the noplayerkilling() and then update the level again? :o

Codein 11-02-2008 05:07 PM

Quote:

Originally Posted by Chompy (Post 1438405)
Isn't it just enough to remove the code with the noplayerkilling() and then update the level again? :o

He probably wishes to do it dynamically. However, to stop playerkilling dynamically, you should use disableweapons(); and what not.

Deas_Voice 11-02-2008 05:09 PM

Quote:

Originally Posted by Chompy (Post 1438405)
Isn't it just enough to remove the code with the noplayerkilling() and then update the level again? :o

yes it is but im stuck with noplayerkilling() and not the other players..
so i cant slash them x_x

Chompy 11-02-2008 05:25 PM

Quote:

Originally Posted by Deas_Voice (Post 1438408)
yes it is but im stuck with noplayerkilling() and not the other players..
so i cant slash them x_x

Well, then you shouldn't use noplayerkilling() in a level npc, but in a weapon npc that all players has ;o

DarkReaper0 11-02-2008 06:45 PM

To my knowledge on the classic pk system there's no way to undo noplayerkilling() without removing it from the script and updating the level.

Deas_Voice 11-02-2008 07:53 PM

Quote:

Originally Posted by Chompy (Post 1438410)
Well, then you shouldn't use noplayerkilling() in a level npc, but in a weapon npc that all players has ;o

meow who said i used it in a level npc?

cbk1994 11-02-2008 07:54 PM

Quote:

Originally Posted by DarkReaper0 (Post 1438436)
To my knowledge on the classic pk system there's no way to undo noplayerkilling() without removing it from the script and updating the level.

This is correct.

DrakilorP2P 11-02-2008 09:20 PM

Quote:

Originally Posted by Deas_Voice (Post 1438455)
who said i used it in a level npc?

You didn't say what you did so it's reasonable to assume that you did everything wrong.


All times are GMT +2. The time now is 12:56 PM.

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