Kriegermenue

Aus UO-Sigena Wiki
Version vom 25. Mai 2017, 21:50 Uhr von Bonbori (Diskussion | Beiträge) (Kategorisierung)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche
initevents
;{---------------------------------------------------}
;{ EUO.1.5Version130                                 }
;{ Client:                                           }
;{ Shard: www.uosigena.de                            }
;{ Autor: Umbreon[ZOF]// Skype: flammie89            }
;{---------------------------------------------------}
;{ Dieses Script bietet Kriegern die Möglichkeit ihre}
;{ Specialskills, per Knopfdruck, einzusetzen, Ohne  }
;{ Macros einzustellen                               }
;{ Für die Benutzung der Tränke/Bandagen             }
;{ wird Sijection vorrausgesetzt                     }
;{---------------------------------------------------}
set #menuButton N/A

menu clear
menu Window Color gray
menu Show 0 0
menu Window Title Kriegermenu
menu Window Size 252 175
menu Font Size 8
menu Font BGColor gray
menu Button T10 5  20 60 50 Defend
menu Button T20 5  70 60 50 Berserk
menu Button T30 5 120 60 50  Normal
menu Button T40 66 20 60 50  Exeptional
menu Button T50 66 70 60 50  Paralyse
menu Button T60 66 120 60 50  Dismount
menu Button T70 126 20 60 50  Disarm
menu Button T80 126 70 60 50  Runspeed
menu Button T90 126 120 60 50 Bandage
menu Font BGColor yellow
menu Button T11 192 20 60 50 Healtrank
menu Font BGColor green
menu Button T12 192 70 60 50 Gegengift
menu Font BGColor red
menu Button T13 192 120 60 50 Refresh
menu Font Style "i"
menu Font Size 5

loop:
if N/A notin #menuButton
{
gosub buttons
}
goto loop


sub buttons
if T10 in #menubutton
{
event macro 1 0 Stand back!
event macro 1 0 .noise hey
event macro 2 0 Geht in eine defensive Haltung.
event macro 1 0 .combat_move defend
set %name Verteidungshaltung
wait 1s
}
if T20 in #menubutton
{
event macro 1 0 Bring it on !
event macro 1 0 .noise yell
event macro 2 0 Geht in eine offensive Haltung.
event macro 1 0 .combat_move berserker
set %name Berserkerhaltung
wait 1s
}
if T30 in #menubutton
{
event macro 1 0 .noise shush
event macro 1 0 .combat_move normal
set %name Kampfhaltung
wait 1s
}
if T40 in #menubutton
{
event macro 1 0 Take this !
event macro 1 0 .combat_move exceptional
set %name Exeptional
wait 1s
}
if T50 in #menubutton
{
event macro 1 0 .combat_move stunning
event macro 1 0 STOP Hammertime !
set %name Paralyse
wait 1s
}
if T60 in #menubutton
{
event macro 1 0 Get down!
event macro 1 0 .noise laugh
event macro 1 0 .combat_move dismount
set %name Dismount
wait 1s
}
if T70 in #menubutton
{
event macro 2 0 yoink
event macro 1 0 .combat_move disarm
set %name Entwaffnung
wait 1s
}
if T80 in #menubutton
{
event macro 1 0 .combat_move runspeed
set %name Runspeed
wait 1s
}

if T90 in #menubutton
{
event macro 1 0 ,setarm 5
event macro 1 0 ,disarm
event macro 1 0 ,bandageself
wait 4s
event macro 1 0 ,arm 5
}
if T11 in #menubutton
{
event macro 1 0 ,setarm 5
event macro 1 0 ,disarm
event macro 1 0 ,usetype UUF
event macro 1 0 ,arm 5

set %name Healtrank
}
if T12 in #menubutton
{
event macro 1 0 ,setarm 5
event macro 1 0 ,disarm
event macro 1 0 ,usetype NUF
event macro 1 0 ,arm 5
set %name Gegengifttrank
}
if T13 in #menubutton
{
event macro 1 0 ,setarm 5
event macro 1 0 ,disarm
event macro 1 0 ,usetype ZUF
event macro 1 0 ,arm 5
set %name Erholungstrank
}



event ExMsg #charid 3 133 %name eingesetzt!

set #MenuButton N/A
return


;crafted by Umbreon