ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: M4yH3m on February 07, 2020, 12:01:12 PM

Title: Dismount,cast spell, say all kill
Post by: M4yH3m on February 07, 2020, 12:01:12 PM
I am trying to figure out how to write a script in EUO that, upon a hotkey press, will cast explode, dismount from my mount and say all kill on a selected target, and then finish with targeting the explode. Can anyone help me out?

Basically I want this:

press hotkey
Cast spell explosion
dismount from horse
whisper all kill and target enemy
target explosion on same target
Title: Re: Dismount,cast spell, say all kill
Post by: The Ghost on February 07, 2020, 02:27:59 PM
So now that you have a plan, do you have all the sub for each of those step.   

Here something to start building.   This is the kind of logic you will need
If you search the forum, you sill be able to find most of the sub you need, or see how to build them.

Quote

while #true
{
  onHotKey (enter key)
        goSub SetTarget
onHotKey (enter key)
       {
         gosub xxxxx
        gosub xxxxx
        gosub xxxxx
        }
}

Sub Cast spell explosion

Return

Sub dismount

Return

Sub PetAttack
    whisper all kill and target enemy

Return

Sub SetTarget
    Set the enemy
Return

Title: Re: Dismount,cast spell, say all kill
Post by: M4yH3m on February 07, 2020, 02:42:10 PM
My problem is that I can not find a dismount event macro. How would I search that in EUO?
Title: Re: Dismount,cast spell, say all kill
Post by: The Ghost on February 07, 2020, 03:08:24 PM