ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: DeadIssue2 on April 14, 2009, 07:45:34 PM
-
I know you can write a script that will tell if your poisoned by status but is there a way to check the status of your char as far as if it is mounted or not??
If you can I would want to write a short script for when dismounted hit the ground and it will automatically say all kill. Possibly with a journal scan as to who dismounted you and all kill them.
-
If you search your #CHARID, this will pass when you are mounted:
set %mount XXYYZZ1
finditem %mount C_ , #CHARID
if #FINDCNT > 0
display ok MOUNTED!
stop
Just replace the XXYYZZ1 with your mount's #FINDID
-
Possibly with a journal scan as to who dismounted you and all kill them.
That part right there is a toughy... to get the name you have to event property everyone around you looking for someone who matches your journal.
#enemyID would be another way to go, but kinda unreliable. Unfortunately it's about the only way to do it.
set %mount XXYYZZ1
repeat
finditem %mount C_ , #CHARID
if #findcnt > 0
{
finditem #enemyID
if #findcnt > 0
{
msg ALL KILL $
target 3s
set #ltargetID #enemyID
set #ltargetKind 1
event macro 22 0
}
}
until #false
Something like that might work
-
ohh that's very interesting. I hadn't thought of it like that at all.
Thank you both!
-
Lemme know if that works.