Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 10:19 PM.


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