Back to "all kill no skill" tags
jaseowns_PetOne Silent Pet Commands using Menu (Earth/Mummy only atm) by Jaseowns
1# Silent All Kill using Menu by Jaseowns
2# UO Outlands
3# WIP: ONLY EARTH ELEMENTAL OR MUMMY ATM
4# Live stream: https://youtube.com/live/xdcZhPSpuiM?feature=share
5
6// Copy/Paste as many times as you need
7// Set Hotkey Type Based on Your Preference
8// Hotkey Type
9// -- 1 = Kill
10// -- 2 = Patrol
11// -- 3 = Guard
12// -- 4 = Follow
13// -- 5 = Come
14// -- 6 = Move
15// -- 7 = Stay
16// -- 8 = Release
17@setvar! jaseowns_HotKeyType 3
18
19if not varexist jaseowns_PetOne
20 @setvar! jaseowns_PetOne 0
21endif
22
23
24@clearignore
25while jaseowns_PetOne = 0 and findtype 158|14 ground -1 -1 2 as jaseowns_PotentialPet
26 if noto jaseowns_PotentialPet = "friend"
27 overhead "Potential Pet" 66 jaseowns_PotentialPet
28 rename jaseowns_PotentialPet "Jaseowns"
29 getlabel jaseowns_PotentialPet jaseowns_PetDescription
30 if "Jaseowns" in jaseowns_PetDescription or insysmsg "That name is unacceptable"
31 @setvar! jaseowns_PetOne jaseowns_PotentialPet
32 else
33 @ignore jaseowns_PotentialPet
34 endif
35 else
36 @ignore jaseowns_PotentialPet
37 endif
38endwhile
39if find jaseowns_PetOne ground -1 -1 18
40 menu jaseowns_PetOne jaseowns_HotKeyType
41 if jaseowns_HotKeyType = 1
42 overhead "� Attacking �" 88 jaseowns_PetOne
43 elseif jaseowns_HotKeyType = 2
44 overhead "� Patrolling �" 88 jaseowns_PetOne
45 elseif jaseowns_HotKeyType = 3
46 overhead "� Guarding �" 88 jaseowns_PetOne
47 elseif jaseowns_HotKeyType = 4
48 overhead "� Following �" 88 jaseowns_PetOne
49 elseif jaseowns_HotKeyType = 5
50 overhead "� Coming �" 88 jaseowns_PetOne
51 elseif jaseowns_HotKeyType = 6
52 overhead "� Moving �" 88 jaseowns_PetOne
53 elseif jaseowns_HotKeyType = 7
54 overhead "� Staying �" 88 jaseowns_PetOne
55 endif
56 if timerexists jaseowns_NoFoundPetTimer
57 removetimer jaseowns_NoFoundPetTimer
58 endif
59else
60 sysmsg "No pet found..." 38
61 if not timerexists jaseowns_NoFoundPetTimer
62 settimer jaseowns_NoFoundPetTimer 0
63 endif
64
65 if timer jaseowns_NoFoundPetTimer >= 5000
66 unsetvar jaseowns_PetOne
67 endif
68 getlabel backpack jaseowns_PingCheck
69 replay
70endif
71@clearignore
72
73# we want to use the context menu
74# of our pets to attack
75# -- all of them at once?
76# -- individual keys?
77# -- if pet dies, auto retarget
78####
79# How to handle pet off screen but still around?
80# - a timer... if pet off screen for certain time then retry?
81# - followers changing.. did it die?
82# --- if timer, followers a certain for a certain time, then it chagnes? dead?
83