Official ScriptUO EasyUO Scripts > Scripting Chat
When attack monster - how to avoid attacking specific creatures
(1/1)
unbelromano:
Hi all :)
i found a nice script:
--- Quote ---repeat
gosub attack
repeat
namespace copy TM_loot_in_progress from global TM_loot
until !TM_loot_in_progress <> #TRUE
until #false
sub attack
if #targCurs = 1 || #lLiftedKind = 1
return
event macro 52 1
wait 10
event macro 53
wait 20
return
--- End quote ---
the problem is that attack even energy vortex, reaper... there is a way to avoid attacking specific creatures?
tell me "yes" :angel:
thx
Post Merge: May 04, 2022, 06:40:19 AMsomeone can help me pls?
The Ghost:
you can try to add a find rep so it ignor it. You can remove the ID of that monster so it wont attack it.
unbelromano:
--- Quote from: The Ghost on May 04, 2022, 05:40:24 PM ---you can try to add a find rep so it ignor it. You can remove the ID of that monster so it wont attack it.
--- End quote ---
what you mean with "find rep"?
a find cicle? its slow... and i have to ignore the 1000000 creature on ground
the problem in the code above is that even if put the #LOBJECTTYPE = "energy vortex and reaper" it wont ignore it,
maybe becase its a monsters and not a object?
can you help me with a simple example?
thx :-* 8)
Navigation
[0] Message Index
Go to full version