SRL Archive - Reflection Help

Help needed please


Jakkle

2011-07-05 05:33:05

I need help with clicking the explorers ring, finding it is fine but what would I use to click it ?

If some1 already has a function for this could you please post and i will credit in script thanks :)

**BANNED The Man

2011-07-05 05:40:12

I am guessing it is in your inventory?
R_ClickItemID (iirc)

masterBB

2011-07-05 06:01:08

If you find it, you got it coords right?

Jakkle

2011-07-05 06:06:47

From: Dynamite
I am guessing it is in your inventory?
R_ClickItemID (iirc)


No I am trying to right click it while wearing it so its in equipment tab. (Sorry should of added that)
Is there, like object/ncp finding, a co-ord/tile/point I can call upon.

masterBB

2011-07-05 06:08:49

From: whacko999
No I am trying to right click it while wearing it so its in equipment tab. (Sorry should of added that)
Is there, like object/ncp finding, a co-ord/tile/point I can call upon.


There is in ref 2.0/2.1 and there is not in reflection 1.0. But with color is much easier, just search for a DTM.

BazzBarrett

2011-07-05 06:15:46

R_GetEquippedIDAt(EQUIPMENT_RING) if your using reflection 2 and then just coord click cuz the ring slot never moves
or GetEquippedIDAt(EQUIPMENT_RING) in reflection 1.

Floor66

2011-07-05 06:16:30

Maybe use a MouseBox (that's what it's called, right?) since the equipment boxes are all static.

Jakkle

2011-07-05 06:22:51

From: masterBB
There is in ref 2.0/2.1 and there is not in reflection 1.0. But with color is much easier, just search for a DTM.


Ah ok, I will look at ref 2/2.1 and see how its been done. I don't wanna start messing around to much with ref 2 tho as I haven't the time to read through it (I KNOW I will get to intrigued with it all :rolleyes: )
I think I will go for GameTab(TAB_EQUIP); and co-ords for now (maybe a dtm).
Thanks for the replys :D

KingKong

2011-07-05 06:25:55

its called MouseEquippedItem(Which : String; Left : Integer), but you have to use 11 for the 'Which', and add it getequippeditembounds.

Jakkle

2011-07-05 06:28:37

From: Floor66
Maybe use a MouseBox (that's what it's called, right?) since the equipment boxes are all static.


I will have a look at this. :)

From: KingKong
its called MouseEquippedItem(Which : String; Left : Integer), but you have to use 11 for the 'Which', and add it getequippeditembounds.


Ref 1 or 2?

KingKong

2011-07-05 06:29:59

srl(color)

Jakkle

2011-07-05 06:36:19

From: KingKong
srl(color)


Oh I see ok well I've not used colour for like 4 years lol but I think I will look into that to. I've only got this evening about 2 hours to figure what to use and get it in the script with everything else I need to do alongside it.