Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Setting Other Player's Layer (https://forums.graalonline.com/forums/showthread.php?t=134269266)

i8bit 06-03-2014 07:33 AM

Setting Other Player's Layer
 
In the Player's Weapon "Layer Test"
PHP Code:

//#CLIENTSIDE
function onCreated(){
 
//All other player's layer = 'value';


That pretty much explains what I'm trying to do, and I'm wondering if there is a code to go about doing it.

But I want the change in layers value to only be seen by the player him self.

For example,
if I set the layer value to 3, all other players will have that layer, where as if you set it to 2, mine and all other players besides you would have a layer of 2

Jakov_the_Jakovasaur 06-03-2014 04:33 PM

there is no such value as player layer, layer is an element of npcs and display objects

i8bit 06-03-2014 09:43 PM

Quote:

Originally Posted by Jakov_the_Jakovasaur (Post 1727697)
there is no such value as player layer, layer is an element of npcs and display objects

HMM that's what I thought..
But I wanted to ask cause you never know!


All times are GMT +2. The time now is 09:48 AM.

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