ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started 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
-
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.
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
-
My problem is that I can not find a dismount event macro. How would I search that in EUO?
-