View Single Post
  #1  
Old 06-30-2006, 06:43 AM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Database npcs and objects

V------------------------------------------------------V
gang_Test.rank.leader.Boss.ChiefBoss= "Chief Underboss";
gang_Test.rank.leader.Boss.Underboss= "Underboss";
gang_Test.rank.leader.Boss= "Boss";
gang_Test.rank.leader.Boss.Tester= "Tester";
gang_Test.rank.leader.Boss.Player= "Player";
gang_Takzhe.rank.leader= "KuJi";

^------------------------------------------------------^
The above is in a database npc called Gang Control.

How would I be able to read that gang_Test.rank is an object and everything after it should be added to a object called gtest.

I've tried several things:
One of them would be:
gtest = new TStaticVar();
gtest = this.gang_Test.rank;

With still nothing working, and even after talking to a couple of friends that script I still can't solve it. If you know a way, please post it.

Thanks
Reply With Quote