Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-03-2005, 08:24 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
GS2: player.level issues

It appears that the player.level variable is getting trashed by having the wrong object type.

In Control-NPC (possibly other DB-NPCs too) and Weapons:

HTML Code:
sendToNC(objecttype(player.level));
gives: TServerNPC

In a player.join()'d class:

HTML Code:
sendToNC(objecttype(player.level));
gives: TServerPlayer


In all cases
HTML Code:
sendToNC(player.level.name);
gives the correct name of the level.
Reply With Quote
 


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 01:04 AM.


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