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 06-03-2014, 07:33 AM
i8bit i8bit is offline
Registered User
Join Date: Jul 2013
Posts: 146
i8bit is an unknown quantity at this point
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
Reply With Quote
  #2  
Old 06-03-2014, 04:33 PM
Jakov_the_Jakovasaur Jakov_the_Jakovasaur is offline
Deleted by Darlene159
Jakov_the_Jakovasaur's Avatar
Join Date: Sep 2013
Location: Deleted by Darlene159
Posts: 354
Jakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud of
there is no such value as player layer, layer is an element of npcs and display objects
__________________
This signature has been deleted by Darlene159.
Reply With Quote
  #3  
Old 06-03-2014, 09:43 PM
i8bit i8bit is offline
Registered User
Join Date: Jul 2013
Posts: 146
i8bit is an unknown quantity at this point
Quote:
Originally Posted by Jakov_the_Jakovasaur View Post
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!
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 11:35 AM.


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