ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Cerveza on August 09, 2010, 11:23:14 AM

Title: nextCPos and contPos
Post by: Cerveza on August 09, 2010, 11:23:14 AM
For some reason nextCPos never seems to work for me, while contPos works everytime.

Code: [Select]
event macro 13 4 ; animal lore
while targCurs = 1
  wait 1
contPos 0 0
halt

That works great, wherever the lore gump opens it moves to 0, 0.

Code: [Select]
set #nextCPosX 0
set #nextCPosY 0
event macro 13 4 ; animal lore
while targCurs = 1
  wait 1
halt

That doesn't open the lore gump at 0, 0.

It might have to do with
Quote from: EUO Docs
The "Offset interface windows rather than perfectly stacking them" option, in Interface options (Mouse Icon) must be turned on for the #nextCPosX and #nextCPosY variables to work.
which I'll have to look at later.
Title: Re: nextCPos and contPos
Post by: Scrripty on August 09, 2010, 11:39:29 AM
#nextCpos only works with certain gumps.
Title: Re: nextCPos and contPos
Post by: Cerveza on August 09, 2010, 12:15:13 PM
LOL well that explains it.

Yet another EUO thing to code around.....