![]() |
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));In a player.join()'d class: HTML Code:
sendToNC(objecttype(player.level));In all cases HTML Code:
sendToNC(player.level.name); |
must be player.level.objecttype(), otherwise it is calling this.objecttype() and is ignoring the parameters
|
Quote:
Why doesn't it cause an error?! Rah! Rah! Rah! Also, that's not how it was documented in the docus :( Oh well. |
| All times are GMT +2. The time now is 11:17 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.