Determine if runebook is open?
Determine if runebook is open?
Anyone know a method to check if your runebook is open, aside from cmppix? I want to pause any spell casts that might occur in my script when I'm trying to recall. I have a check that pauses when a target cursor appears but that only goes so far. Thanks for any input.
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Runebook Copier
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Runebook Copier
---------------------------------------------
Combat Focus Guide (Godmode Formula)
Re: Determine if runebook is open?
I do not think so. Runebooks use a generic_gump in the cont system.
Can probalby do If #CONTSIZE = then the gump size.
Can probalby do If #CONTSIZE = then the gump size.
Re: Determine if runebook is open?
Like Dramoor said, #contsize will work.
Code: Select all
if #contsize = 452_236
gosub pause ;Or whatever you have setup for your pause
Re: Determine if runebook is open?
lovely, thanks.
added
452_236 notin #contsize
to help disable casting when im recalling
may switch to contkind just in case, but sweet
added
452_236 notin #contsize
to help disable casting when im recalling
may switch to contkind just in case, but sweet
Resident Wiki Editor/Village Idiot
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Runebook Copier
---------------------------------------------
Combat Focus Guide (Godmode Formula)
EasyUO Scripts
ReArmer
ReArmer (Old Version)
ReReader
Runebook Copier
---------------------------------------------
Combat Focus Guide (Godmode Formula)
Re: Determine if runebook is open?
Glad I could help