View Full Version : [prim 0x01C] Run Tree by Name
Gwenke33
2nd Oct 2009, 09:58 PM
I saw that the 'trees' to be run by this primitive vary according to the group number of the BHAV it is in. Is there a way to force it to run ones that are not available in the list? Or is there a way to extract such trees and use them directly?
(I'm trying to run [prim 0x01C] Run Tree by Name ("CT - Is Neighbor at Work") in a custom-group BHAV).
Echo
3rd Oct 2009, 01:55 AM
I'm not 100% certain what you mean here, so I'm going to guess. :) If you want to change the name of the call tree to be called, then you need to create a text list with the instance 0x12Fs, put the name of the call tree in a line there, then in the RTBN call, set operand 2 to 0x4 (so that it reads the Call Tree tames from the local group).
Did I guess right?
Gwenke33
3rd Oct 2009, 12:34 PM
Yes you guessed right, although it took me some time to realize what RTBN stood for :)
It's operand 3 that seems to be set to 0x4 to read the right STR#, but I guess that's allright because the node looks as it's supposed to.
Now I just need to find where exactly to insert it...
Thank you for your help.
vBulletin v3.0.14, Copyright ©2000-2013, Jelsoft Enterprises Ltd.