Difference between revisions of "Macro"

From OpenEUO
Jump to: navigation, search
m (Example Usage)
m (Description)
Line 23: Line 23:
 
== Description ==
 
== Description ==
  
The macro table provides nmemonic access to UO.Macro calls. Instead of specifying macro numbers, a method name is invoked. Methods which take an argument: Delay(number), SetUpdateRange(number), ModifyUpdateRange(number), Walk(number), Say(text), Emote(text),Whisper(text), and Yell(text). All others are parameter free.  Thanks to WarLocke for building table. Methods correspond 1:1 with all the UO.Macro calls.
+
The macro table provides nmemonic access to UO.Macro calls. Instead of specifying macro numbers, a method name is invoked. Methods which take an argument: Delay(number), SetUpdateRange(number), ModifyUpdateRange(number), Walk(number), Say(text), Emote(text),Whisper(text), and Yell(text). All others are parameter free.  Thanks to WarLocke for building table. Methods correspond 1:1 with all the [[UO.Macro]] calls.
  
 
== Macro Table Methods ==
 
== Macro Table Methods ==

Revision as of 17:45, 2 November 2010

Calling Pattern

Call

local m = sl.macro

Args

n/a

Results

m is a table with all macro methods

Example Usage

local m = sl.macro

m.PrimaryAbility()
m.SelectNearestHostile()
m.AttackSelected()
m.CastHarm()
wait(500)
m.LastTarget()
wait(500)
m.BandageSelf()

Description

The macro table provides nmemonic access to UO.Macro calls. Instead of specifying macro numbers, a method name is invoked. Methods which take an argument: Delay(number), SetUpdateRange(number), ModifyUpdateRange(number), Walk(number), Say(text), Emote(text),Whisper(text), and Yell(text). All others are parameter free. Thanks to WarLocke for building table. Methods correspond 1:1 with all the UO.Macro calls.

Macro Table Methods

 Say
 Emote
 Whisper
 Yell
 Walk
 WalkNorthWest
 WalkNorth
 WalkNorthEast
 WalkEast
 WalkSouthEast
 WalkSouth
 WalkSouthWest
 WalkWest
 ToggleWarPeace
 Paste
 OpenConfiguration
 OpenPaperdoll
 OpenStatus
 OpenJournal
 OpenSkills
 OpenSpellbook
 OpenChat
 OpenBackpack
 OpenOverview
 OpenMail
 OpenPartyManifest
 OpenPartyChat
 OpenNecroSpellbook
 OpenPaladinSpellbook
 OpenCombatBook
 OpenBushidoSpellbook
 OpenNinjitsuSpellbook
 OpenGuild
 OpenSpellweavingSpellbook
 OpenQuestLog
 CloseConfiguration
 ClosePaperdoll
 CloseStatus
 CloseJournal
 CloseSkills
 CloseSpellbook
 CloseChat
 CloseBackpack
 CloseOverview
 CloseMail
 ClosePartyManifest
 ClosePartyChat
 CloseNecroSpellbook
 ClosePaladinSpellbook
 CloseCombatBook
 CloseBushidoSpellbook
 CloseNinjitsuSpellbook
 CloseGuild
 CloseSpellweavingSpellbook
 CloseQuestLog
 MinimizePaperdoll
 MinimizeStatus
 MinimizeJournal
 MinimizeSkills
 MinimizeSpellbook
 MinimizeChat
 MinimizeBackpack
 MinimizeOverview
 MinimizeMail
 MinimizePartyManifest
 MinimizePartyChat
 MinimizeNecroSpellbook
 MinimizePaladinSpellbook
 MinimizeCombatBook
 MinimizeBushidoSpellbook
 MinimizeNinjitsuSpellbook
 MinimizeGuild
 MinimizeSpellweavingSpellbook
 MaximizePaperdoll
 MaximizeStatus
 MaximizeJournal
 MaximizeSkills
 MaximizeSpellbook
 MaximizeChat
 MaximizeBackpack
 MaximizeOverview
 MaximizeMail
 MaximizePartyManifest
 MaximizePartyChat
 MaximizeNecroSpellbook
 MaximizePaladinSpellbook
 MaximizeCombatBook
 MaximizeBushidoSpellbook
 MaximizeNinjitsuSpellbook
 MaximizeGuild
 MaximizeSpellweavingSpellbook
 OpenDoor
 UseAnatomy
 UseAnimalLore
 UseAnimalTaming
 UseArmsLore
 UseBegging
 UseCartography
 UseDetectingHidden
 UseDiscordance
 UseEvaluatingIntelligence
 UseForensicEvaluation
 UseHiding
 UseInscription
 UseItemIdentification
 UseMeditation
 UsePeacemaking
 UsePoisoning
 UseProvocation
 UseRemoveTrap
 UseSpiritSpeak
 UseStealing
 UseStealth
 UseTasteIdentification
 UseTracking
 LastSkill
 CastClumsy
 CastCreateFood
 CastFeeblemind
 CastHeal
 CastMagicArrow
 CastNightSight
 CastReactiveArmor
 CastWeaken
 CastAgility
 CastCunning
 CastCure
 CastHarm
 CastMagicTrap
 CastMagicUntrap
 CastProtection
 CastStrength
 CastBless
 CastFireball
 CastMagicLock
 CastPoison
 CastTelekinesis
 CastTeleport
 CastUnlock
 CastWallOfStone
 CastArchCure
 CastArchProtection
 CastCurse
 CastFireField
 CastGreaterHeal
 CastLightning
 CastManaDrain
 CastRecall
 CastBladeSpirits
 CastDispelField
 CastIncognito
 CastMagicReflection
 CastMindBlast
 CastParalyze
 CastPoisonField
 CastSummonCreature
 CastDispel
 CastEnergyBolt
 CastExplosion
 CastInvisibility
 CastMark
 CastMassCurse
 CastParalyzeField
 CastReveal
 CastChainLightning
 CastEnergyField
 CastFlameStrike
 CastGateTravel
 CastManaVampire
 CastMassDispel
 CastMeteorSwarm
 CastPolymorph
 CastEarthquake
 CastEnergyVortex
 CastResurrection
 CastAirElemental
 CastSummonDaemon
 CastEarthElemental
 CastFireElemental
 CastWaterElemental
 CastAnimateDead
 CastBloodOath
 CastCorpseSkin
 CastCurseWeapon
 CastEvilOmen
 CastHorrificBeast
 CastLichForm
 CastMindRot
 CastPainSpike
 CastPoisonStrike
 CastStrangle
 CastSummonFamiliar
 CastVampiricEmbrace
 CastVengefulSpirit
 CastWither
 CastWraithForm
 CastExorcism
 CastHonorableExecution
 CastConfidence
 CastEvasion
 CastCounterAttack
 CastLightningStrike
 CastMomentumStrike
 CastCleanseByFire
 CastCloseWounds
 CastConsecrateWeapon
 CastDispelEvil
 CastDivineFury
 CastEnemyOfOne
 CastHolyLight
 CastNobleSacrifice
 CastRemoveCurse
 CastSacredJourney
 CastFocusAttack
 CastDeathStrike
 CastAnimalForm
 CastKiAttack
 CastSurpriseAttack
 CastBackstab
 CastShadowjump
 CastMirrorImage
 CastArcaneCircle
 CastGiftOfRenewal
 CastImmolatingWeapon
 CastAttunement
 CastThunderstorm
 CastNaturesFury
 CastSummonFey
 CastSummonFiend
 CastReaperForm
 CastWildfire
 CastEssenceOfWind
 CastDryadAllure
 CastEtherealVoyage
 CastWordOfDeath
 CastGiftOfLife
 CastArcaneEmpowerment
 LastSpell
 LastObject
 Bow
 Salute
 QuitGame
 AllNames
 LastTarget
 TargetSelf
 ArmDisarmLeft
 ArmDisarmRight
 WaitForTarget
 TargetNext
 AttackLast
 Delay
 CircleTrans
 CloseGumps
 AlwaysRun
 SaveDesktop
 KillGumpOpen
 PrimaryAbility
 SecondaryAbility
 EquipLastWeapon
 SetUpdateRange
 ModifyUpdateRange
 IncreaseUpdateRange
 DecreaseUpdateRange
 MaximumUpdateRange
 MinimumUpdateRange
 DefaultUpdateRange
 UpdateUpdateRange
 EnableUpdateRangeColor
 DisableUpdateRangeColor
 ToggleUpdateRangeColor
 InvokeHonorVirtue
 InvokeSacrificeVirtue
 InvokeValorVirtue
 InvokeCompassionVirtue
 InvokeJusticeProtection
 SelectNextHostile
 SelectNextPartyMember
 SelectNextFollower
 SelectNextObject
 SelectNextMobile  
 SelectPreviousHostile
 SelectPreviousPartyMember
 SelectPreviousFollower 
 SelectPreviousObject
 SelectPreviousMobile
 SelectNearestHostile
 SelectNearestPartyMember
 SelectNearestFollower
 SelectNearestObject 
 SelectNearestMobile
 AttackSelected 
 UseSelected
 CurrentTarget
 TargetingSystemOnOff
 ToggleBuffWindow
 BandageSelf
 BandageTarget

TODO: build a table with shorter names ;)

See Also