SRL Archive - Reflection Help

Interface help


fre

2011-03-11 14:44:50

Hey,

i am really into reflection.

But i never use interfaces, if i am correct interfaces are like the bank or bank-pin interface, or a shop interface.

But how do i get the id of an interface. I checked the interface.simba, it really makes me loose the mood of using a function from this include.

That is why i am asking help.
I checked the bank.simba, how it uses the interface,
just use

ValidInterface(idx)
My questions:
how to you get the ID of an interface.
what is the difference between
childcomponent and interfacecomponent.


Thx alot for you time.

Train

2011-03-11 15:05:18

You can grab all the valid interfaces and then their child components and print them in the debug.
Other than that use RSBot.

fre

2011-03-11 18:08:40

Aaaight

thx for the answr