And Petra forwarded it to me!I will forward to Petra !
Thanks Gildar!! I did not relies you could edit pages! or would have asked you directly! Makes note to pay more attention to titles and signatures at the bottom of pages !And Petra forwarded it to me!
That page will be updated shortly with all the commands that have been posted since then.
I'm not having any luck getting this one to work.Description: Creates a mobile healthbar from the current target, attaches it to the current target (moves it over the target's head and keeps it stuck there), then detaches it (lets you drag it around as you please).
Code:script _mobID, _x = WindowData.CurrentTarget.TargetId, MobileHealthBarWindow.CreateHealthBar(WindowData.C urrentTarget.TargetId) script AttachWindowToWorldObject(_mobID, "MobileHealthBarWindow".._mobID) script DetachWindowFromWorldObject(_mobID, "MobileHealthBarWindow".._mobID)
The First line includes spacing. Check around CurrentTarget and You'll be fine.I have the macro with "target nearest enemy" followed by the three command scripts above - but I never get the health-bar. For what I want, I don't think I need the 3rd script line, but included it since leaving it out also did produce the sticky health bar
Any ideas?
I'm not having any luck getting this one to work.
What I want is basically a macro that targets nearest enemy target, then pulls and sticks the health-bar to the target. I am hoping the health-bar vanishes upon creature death.
I have the macro with "target nearest enemy" followed by the three command scripts above - but I never get the health-bar. For what I want, I don't think I need the 3rd script line, but included it since leaving it out also did produce the sticky health bar
I also tried adding a 1.0 delay between selecting target and the command scripts hoping that would help... with no luck.
Any ideas?
script _mobID, _x = WindowData.CurrentTarget.TargetId, MobileHealthBarWindow.CreateHealthBar(WindowData.C urrentTarget.TargetId)
script _mobID, _x = WindowData.CurrentTarget.TargetId, MobileHealthBarWindow.CreateHealthBar(WindowData.CrrentTarget.TargetId)
In same spot, you mistyped again. You have CrrentTarget... should be CurrentTarget.use this line and your script should work just fineCode:script _mobID, _x = WindowData.CurrentTarget.TargetId, MobileHealthBarWindow.CreateHealthBar(WindowData.[U][B]CrrentTarget[/B][/U].TargetId)
script MobileHealthBar.CreateHealthBar(WindowData.CurrentTarget.TargetId)
Toggle "UI Freeze"
Note: This effectively locks (or unlocks) the play window, status window, chat windows, and menubar. You will need to re-run this set of commands every time you log in. script Debug.PrintToChat(L"UI (Un)Freezing...")
script _doFreeze = _WindowGetShowing( "ResizeWindow" )
script WindowSetShowing( "ResizeWindow", not _doFreeze )
script WindowSetMovable( "StatusWindow", not _doFreeze )
script ChatWindow.LockWindow( _doFreeze )
script WindowSetMovable( "MenuBarWindow", not _doFreeze )
script WindowSetMovable( "MenuBarWindowMinimized", not _doFreeze )
script Debug.PrintToChat(L"UI Frozen? "..StringToWString
I can't believe you can't set mouse scroll down/up as a macro!Is there a way to use the mouse wheel to preform other functions such as mouse wheel down for bandage self?
Thanks
-Lore's Player
I think you are trying to do it the hard way. In game in the macro actions menu there is a "Command" icon. You just drag that into your macro and enter the script in the text field that appears when you do that. If you want to edit it you right click the icon and choose edit. If you want to move it around you just drag it to a different location in your macro.I would like to learn where to insert the Command :
script UserActionUseItem(WindowData.PlayerStatus.PlayerId ,false)
Any help would be appreciated, and I really think that once I havea handle on the basic location of something like this, it'll be way easier.
This was posted by LucitusC:\Program Files (x86)\Electronic Arts\Ultima Online Stygian Abyss\UserInterface\Copper_Enhanced\Source
This is the directory I go to yours will be similar depending on what you use!
Then go to the radarwindow.lua or the mapwindow.lua depending on what map you wish to change
then their will be a line that says mapwindow.rotation change the 45 to a 0 and save (or radarwindow.rotation.lua)
then when you pull up atlas it will not be tilted but radar map will depending on what map you changed!
Make sure and back up the file before you do this encase you mess up!!!
I will see what i can do in the next release of my Interface, but i think it is also possible if you change this variable.
/script MapWindow.Rotation = 0
for the atlas and
/script RadarWindow.Rotation = 0
for the Radar.
edit: One of the nice things about the EC is that you can "chain" macros if you wish. So what I have is this macro, followed by a "target nearest follower, use targeted object" macro, followed by a macro to use my ethereal mount. What this means is, if, for example, I have two mounts out, I can designate one as the primary mount, while the other one will get used if it is within range and I fail to mount my primary mount. Or if I don't want to bother setting a different mount when I take one out of the stable, I can still use my old mount macro. Or if I have no mount out I can use my ethereal mount, all without rejigging my mount macro every time. It isn't as reliable, but it is fine for most purposes. The only time it really caused me problems was in pvp.<Petball Macro Example.>
1. Create Item-ID Macro
Befor to make petball macro You must make macro to get Item-IDs.
- Create "ItemID" Macro
- Drag Command action into ItemID macro
- Type this script into Command action
script _itemID = WindowData.CurrentTarget.TargetId
- Drag One more Command action into ItemID macro
- Type this script into Command Action
script Debug.PrintToChat(L" <TargetID> ".._itemID)
2.Get Petball Item-ID
Once you create ItemID macro, you can get Petball-ItemID.
- Drag your Petball on the ground.
- Click Petball and target it.
- Use ItemID macro. You'll see the ItemID of your petball in the chat window.
- Once you get ItemID you can pick your petball into your backpack.
3.Create Petball Macro. For example "Petball_Greater_Dragon"
- Drag Command Action Into Petball Macro. And Paste below line.
script WindowData.CurrentTarget.TargetId = 1122334455
(Replace 1122334455 to your Petball-ID)
- Drag one more Command action Into Petball Macro. And Paste below line.
script TargetWindow.UpdateTarget()
- Drag one more Command action Into Petball Macro. And Paste below line.
script TargetWindow.OnLClick()
- Drag "Use Targeted Object" action into Petball Macro. And set it to "Current"
4.Finished. Let's try your Petball macro.
The easiest way I've found to do that is to create a blank macro that does nothing. You can't run two macros at the same time, so the second macro cancels the first.anyone know the command script for cancel target?
Meaning, say i have a spell casted and the cursor target up, and i want to just cancel that (the equivalent of pressing esc)
Well i added a blank command to the begining of a macro but it doesn't seem to cancel the target that i have, basically, i wanna disarm my shield when i have a spell precasted, and it doesn't let me do that with the target cursor up.The easiest way I've found to do that is to create a blank macro that does nothing. You can't run two macros at the same time, so the second macro cancels the first.anyone know the command script for cancel target?
Meaning, say i have a spell casted and the cursor target up, and i want to just cancel that (the equivalent of pressing esc)
It's easy and fast, and for whatever reason the ESC does not always work for me. The Blank Macro does.
Sorry, but I misunderstood what you were asking for. I thought you wanted a way to cancel a macro once you have the target up.Well i added a blank command to the begining of a macro but it doesn't seem to cancel the target that i have, basically, i wanna disarm my shield when i have a spell precasted, and it doesn't let me do that with the target cursor up.
The escape key cancels a macro.i guess what i'm asking for is a command for the escape button should be simple enough
I know, that hot-key has been there since the beginning of UO.All you need to do is hit ctrl-shift.
Ah, I understand. I'd suggest you ask Pinco. If anyone can figure something out, he can.I know, that hot-key has been there since the beginning of UO.All you need to do is hit ctrl-shift.
What I'm asking about is the creation of a hotbar button, a one-click toggle that doesn't involve the keyboard at all. I'm guessing this would require a script command.
I've tried to do it long time ago, but the ctrl shift is managed inside the client and can't be changed...I know, that hot-key has been there since the beginning of UO.
What I'm asking about is the creation of a hotbar button, a one-click toggle that doesn't involve the keyboard at all. I'm guessing this would require a script command.
Wait! Maybe there's hope.I've tried to do it long time ago, but the ctrl shift is managed inside the client and can't be changed...
unfortunately I can only invoke the label creation but the server don't send the data so is useless
is the same in my UI, is the little window to change on the fly the typeWait! Maybe there's hope.
In Dermott's forum signature, there's a link to a "UO Modders Exchange" website. In the "Mods" section, there's a file named "ObjectHandleToggleWindow". However, it's from September, 2009 (though it has lots of downloads). What does this do? Does this do what it sounds like it does? Will it help me make a button? If so, will it work for the Enhanced Client, or is it for some previous version? Do you know anything about this file? Can you tell I really want a button for this? Hee hee!
I've already removed all the other needs for my keyboard in UO (besides chat). Games were hurting my wrists, so I paid a lot of money for a Razer gaming mouse, very sensitive to touch and easy on the wrists. So UO has been much more enjoyable with the enhanced client's hotbars.
there is no way to rotate the character...Are there a command for turn or rotate character? I mean, in Enhanced turn without moveing is extremely hard and turn the face to the not passable object is immposible. At rpg shards it`s really troublesome e.g. we standing against to rostrum and we can`t turn face to the audience!
there is no way to read or change the zoom value through script.Hey Pinco i wonder
i have camera zoom set for my screen which is great, but i have the zoom wheel locked off, is there a way to have a command hotkey set for 19.3000 so i can zoom about and click the hotkey to revert?
hope so
thanks
Jack
ok thanks Pincothere is no way to read or change the zoom value through script.
try with the keyboard arrows then"just use a quick single click in the direction you want to face"
To do this, the duration of the click need to be about 0.1 second or less
in Calssic it was 2 times easier.
And it is imposible to face to the walls and objects it`s really painful at rpg shards!
People bump into each other trying to sit on the benches it`s ridiculous.
script Debug.PrintToChat(L"".. Interface.Clock.h .. L":" .. Interface.Clock.m .. L":" .. Interface.Clock.s)