SRL Archive - Help

Using Reflection to grab NPC Chat text?


AFools

2016-01-07 08:35:55

[ATTACH=CONFIG]27103[/ATTACH]

@Kyle; could you please help me; debug the text already;


Parent => 219, Child => 0 => ChildWidget => 0 => Text => Select an Option
Parent => 219, Child => 0 => ChildWidget => 1 => Text => Pay servant 5000 coins
Parent => 219, Child => 0 => ChildWidget => 2 => Text => Don't
Parent => 219, Child => 0 => ChildWidget => 3 => Text => Fire servant

I debugged it; yet the "WriteLn('-> ' + ToStr(Reflect.Chat.GetChatIndices)) " returns null; i tried to change the over-ride function without any solution.