ScriptUO

Scripting Resources & Utilities => UOSteam => Topic started by: kbus on August 27, 2015, 02:20:58 PM

Title: First Script for tammers
Post by: kbus on August 27, 2015, 02:20:58 PM
my first script, basically it does the following:
when you see a criminal target
disassembles the mount
speaks all guard
casting invisible on you!

@Getenemy 'murderer' 'Enemy' 'criminal' 'gray' 'closest'
if @findobject 'enemy'
  useobject 'self'
  msg "All Guard" Color
  cast "Invisibility"
  waitfortarget 15000
  target! 'self'
  pause '40000'
else
  useobject 'mount'
  cast "Invisibility"
  waitfortarget 15000
  target! 'self'
  pause '100000'
endif