ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: gruntman on July 07, 2012, 12:02:00 PM
-
I have been using scripts for a long time and been able to make a few real easy ones of my own in the past. I am having an issue with making a sub that will mount a freshly tamed steed then dismount that same steed after moving to a designated spot. Can someone please help me with a tip of some sort. Thanks!
-
How do you get on or off a tamed steed normally?
To get on... double click the animal.
To get off... double click yourself.
You should be able to find many scripts that already have it functional.
To get on...
find the id of the animal
use that id
-
Hint: 17
You can use the same execution for both actions. Get the ID of the mount, use it. Get the ID of yourself, use it.
-
I have been using scripts for a long time and been able to make a few real easy ones of my own in the past. I am having an issue with making a sub that will mount a freshly tamed steed then dismount that same steed after moving to a designated spot. Can someone please help me with a tip of some sort. Thanks!
There's no way to tell if your char is mounted (afaik), so you'd have to assume that you aren't mounted or you use event macro 17 on yourself (after setting the #lobjectid).
so find steed with finditem, set its itemid as #lobjectid, then use event macro 17 on it. after you move to the spot you need, set your #charid as #lobjectid and use event macro 17 again.