SRL Archive - OSR Help

How to unequip a wielded item?


SXxR

2012-03-30 01:33:57

Sounds nooby but I havent figured it out yet. I'm making a script that has to do with unequipping the arrow and shield slot at a certain point. Do I just go to combat tab with the GameTab(Tab_Combat); function and then click on the coordinates or is there another way? I also need the coordinates of the arrow and shield spot if possible.

NKN

2012-03-30 01:41:21

GameTab(Tab_Equiptment)/Or What ever it's called.


Make a DTM for it, and find it, and then have it click, simple. :D

SXxR

2012-03-30 01:59:48

I suck at making DTM's :( Any other way?

Gucci

2012-03-30 02:25:21

Coord clicking is the other way but how can you suck at making DTM's? You just select a few points print it and add it in the script

SXxR

2012-03-30 02:39:11

I'll try coordinate clicking. Last time I tried making DTM's, it took a long while to figure it out and I'm lazy to try again.

Er1k

2012-03-30 03:16:36

Try 131072 for DTM subpoints and use right half of the item to make the DTM?

Coord clicking an equipment on equipment tab should be done with the help of gametab.simba include. There's a function that gives all the coord boxes of the equipment position, I think.

Kyle Undefined

2012-03-30 08:50:31

There are functions in SRL that will unequip/equip items. I think the method is called Unequip() but I'm not sure, look in inventory.simba :)

SXxR

2012-03-30 09:09:41

From: Er1k
Try 131072 for DTM subpoints and use right half of the item to make the DTM?

Coord clicking an equipment on equipment tab should be done with the help of gametab.simba include. There's a function that gives all the coord boxes of the equipment position, I think.

I'll look around for the function, thanks.
From: Kyle Undefined
There are functions in SRL that will unequip/equip items. I think the method is called Unequip() but I'm not sure, look in inventory.simba :)

I'm trying it atm.