Difference between revisions of "LUA:AllFunctions"

 
Line 102: Line 102:
 
|-
 
|-
 
|[[LUA:CastSpell|CastSpell()]]
 
|[[LUA:CastSpell|CastSpell()]]
 +
|[[LUA:ChangeFaction|ChangeFaction()]]
 
|[[LUA:ChangeHandIcon|ChangeHandIcon()]]
 
|[[LUA:ChangeHandIcon|ChangeHandIcon()]]
 
|[[LUA:CastCustomSpell|CastCustomSpell()]]
 
|[[LUA:CastCustomSpell|CastCustomSpell()]]
 +
|-
 
|[[LUA:CanSeeInvis|CanSeeInvis()]]
 
|[[LUA:CanSeeInvis|CanSeeInvis()]]
|-
 
 
|[[LUA:Charm|Charm()]]
 
|[[LUA:Charm|Charm()]]
 
|[[LUA:CheckLOS|CheckLOS()]]
 
|[[LUA:CheckLOS|CheckLOS()]]
 
|[[LUA:CheckLOSByCoordinates|CheckLOSByCoordinates()]]
 
|[[LUA:CheckLOSByCoordinates|CheckLOSByCoordinates()]]
 +
|-
 
|[[LUA:CheckRaceType|CheckRaceType()]]
 
|[[LUA:CheckRaceType|CheckRaceType()]]
|-
 
 
|[[LUA:ClearEncounter|ClearEncounter()]]
 
|[[LUA:ClearEncounter|ClearEncounter()]]
 
|[[LUA:ClearHate|ClearHate()]]
 
|[[LUA:ClearHate|ClearHate()]]
 +
|[[LUA:ClearRunback|ClearRunback()]]
 +
|-
 
|[[LUA:ClearRunningLocations|ClearRunningLocations()]]
 
|[[LUA:ClearRunningLocations|ClearRunningLocations()]]
 
|[[LUA:CloseConversation|CloseConversation()]]
 
|[[LUA:CloseConversation|CloseConversation()]]
|-
 
 
|[[LUA:CloseDoor|CloseDoor()]]
 
|[[LUA:CloseDoor|CloseDoor()]]
 
|[[LUA:CreateOptionWindow|CreateOptionWindow()]]
 
|[[LUA:CreateOptionWindow|CreateOptionWindow()]]
 +
|-
 
|[[LUA:CloseItemConversation|CloseItemConversation()]]
 
|[[LUA:CloseItemConversation|CloseItemConversation()]]
 
|[[LUA:CompareSpawns|CompareSpawns()]]
 
|[[LUA:CompareSpawns|CompareSpawns()]]
|-
 
 
|[[LUA:CompleteTransmute|CompleteTransmute()]]
 
|[[LUA:CompleteTransmute|CompleteTransmute()]]
 
|[[LUA:CopySpawnAppearance|CopySpawnAppearance()]]
 
|[[LUA:CopySpawnAppearance|CopySpawnAppearance()]]
 +
|-
 
|[[LUA:CreateConversation|CreateConversation()]]
 
|[[LUA:CreateConversation|CreateConversation()]]
 
|[[LUA:CreateOptionWindow|CreateOptionWindow()]]
 
|[[LUA:CreateOptionWindow|CreateOptionWindow()]]
|-
 
 
|[[LUA:CreateSpawnList|CreateSpawnList()]]
 
|[[LUA:CreateSpawnList|CreateSpawnList()]]
 
|[[LUA:CureByControlEffect|CureByControlEffect()]]
 
|[[LUA:CureByControlEffect|CureByControlEffect()]]
 +
|-
 
|[[LUA:CureByType|CureByType()]]
 
|[[LUA:CureByType|CureByType()]]
 
|}
 
|}
Line 352: Line 355:
 
|-
 
|-
 
|[[LUA:HasControlEffect|HasControlEffect()]]
 
|[[LUA:HasControlEffect|HasControlEffect()]]
 +
|[[LUA:HasCoin|HasCoin()]]
 
|[[LUA:HasFreeSlot|HasFreeSlot()]]
 
|[[LUA:HasFreeSlot|HasFreeSlot()]]
 
|[[LUA:HasGroup|HasGroup()]]
 
|[[LUA:HasGroup|HasGroup()]]
 +
|-
 
|[[LUA:HasItem|HasItem()]]
 
|[[LUA:HasItem|HasItem()]]
|-
 
 
|[[LUA:HasItemEquipped|HasItemEquipped()]]
 
|[[LUA:HasItemEquipped|HasItemEquipped()]]
 
|[[LUA:HasLanguage|HasLanguage()]]
 
|[[LUA:HasLanguage|HasLanguage()]]
 
|[[LUA:HasLootItem|HasLootItem()]]
 
|[[LUA:HasLootItem|HasLootItem()]]
 +
|-
 
|[[LUA:HasMoved|HasMoved()]]
 
|[[LUA:HasMoved|HasMoved()]]
|-
 
 
|[[LUA:HasPendingLoot|HasPendingLoot()]]
 
|[[LUA:HasPendingLoot|HasPendingLoot()]]
 
|[[LUA:HasPendingLootItem|HasPendingLootItem()]]
 
|[[LUA:HasPendingLootItem|HasPendingLootItem()]]
 
|[[LUA:HasQuest|HasQuest()]]
 
|[[LUA:HasQuest|HasQuest()]]
 +
|-
 
|[[LUA:HasQuestRewardItem|HasQuestRewardItem()]]
 
|[[LUA:HasQuestRewardItem|HasQuestRewardItem()]]
|-
 
 
|[[LUA:HasRecipeBook|HasRecipeBook()]]
 
|[[LUA:HasRecipeBook|HasRecipeBook()]]
 
|[[LUA:HasRecovered|HasRecovered()]]
 
|[[LUA:HasRecovered|HasRecovered()]]
 
|[[LUA:HasSkill|HasSkill()]]
 
|[[LUA:HasSkill|HasSkill()]]
 +
|-
 
|[[LUA:HasSpell|HasSpell()]]
 
|[[LUA:HasSpell|HasSpell()]]
|-
 
 
|[[LUA:HasSpellEffect|HasSpellEffect()]]
 
|[[LUA:HasSpellEffect|HasSpellEffect()]]
 
|[[LUA:HasSpellImmunity|HasSpellImmunity()]]
 
|[[LUA:HasSpellImmunity|HasSpellImmunity()]]

Latest revision as of 11:25, 19 June 2022

LUA - AllFunctions

Return to: LUA | Tutorials | Portal | Forum | Project Manager | Bug Tracker

EQ2Emulator: All LUA Functions

This is a list of all the LUA functions currently in EQ2Emu.

A

AddCharacterTitle() AddCoin() AddControlEffect() AddConversationOption()
AddHate() AddIconValue() AddImmunitySpell() AddItem()
AddLanguage() AddLootCoin() AddLootItem() AddMasterTitle()
AddMultiFloorLift() AddOptionWindowOption() AddPlayerMail() AddPlayerMailByCharID()
AddPrimaryEntityCommand() AddPrimaryEntityCommandAllSpawns() AddProc() AddQuestPrereqClass()
AddQuestPrereqFaction() AddQuestPrereqItem() AddQuestPrereqModelType() AddQuestPrereqQuest()
AddQuestPrereqRace() AddQuestPrereqTradeskillClass() AddQuestPrereqTradeskillLevel() AddQuestRewardCoin()
AddQuestRewardFaction() AddQuestRewardItem() AddQuestSelectableRewardItem() AddQuestStep()
AddQuestStepChat() AddQuestStepCompleteAction() AddQuestStepCraft() AddQuestStepFailureAction()
AddQuestStepHarvest() AddQuestStepKill() AddQuestStepKillByRace() AddQuestStepLocation()
AddQuestStepObtainItem() AddQuestStepProgressAction() AddQuestStepSpell() AddQuestStepZoneLoc()
AddSkill() AddSkillBonus() AddSpawnAccess() AddSpawnIDAccess()
AddSpawnProximity() AddSpawnSpellBonus() AddSpawnToGroup() AddSpawnToSpawnList()
AddSpellBonus() AddSpellBookEntry() AddSpellTimer() AddStepProgress()
AddThreatTransfer() AddTimer() AddToWard() AddTransportSpawn()
AddWard() AddWaypoint() ApplySpellVisual() Attack()

B

Bind() BlurVision() BreatheUnderwater()

C

CancelSpell() CanHarvest() CanReceiveQuest() CastEntityCommand()
CastSpell() ChangeFaction() ChangeHandIcon() CastCustomSpell()
CanSeeInvis() Charm() CheckLOS() CheckLOSByCoordinates()
CheckRaceType() ClearEncounter() ClearHate() ClearRunback()
ClearRunningLocations() CloseConversation() CloseDoor() CreateOptionWindow()
CloseItemConversation() CompareSpawns() CompleteTransmute() CopySpawnAppearance()
CreateConversation() CreateOptionWindow() CreateSpawnList() CureByControlEffect()
CureByType()

D

DamageSpawn() DeleteDBShardID() Despawn() DismissPet()
DisplayText()

E

Emote() EnableGameEvent() EndAutoMount() Evac()

F

FaceTarget() FlashWindow()

G

Gate() GetAAInfo() GetAgi() GetAgiBase()
GetAggroRadius() GetAlignment() GetArchetypeName() GetArrowColor()
GetBaseAggroRadius() GetBoundZoneID() GetCharacterID() GetCharmedPet()
GetClass() GetClassName() GetClientVersion() GetCoinMessage()
GetCosmeticPet() GetCurrentZoneSafeLocation() GetDeity() GetDeityPet()
GetDistance() GetEncounter() GetEncounterSize() GetEquippedItemByID()
GetEquippedItemBySlot() GetFactionAmount() GetFactionID() GetFollowTarget()
GetGender() GetGroup() GetHateList() GetHeading()
GetHP() GetInfoStructFloat() GetInfoStructSInt() GetInfoStructString()
GetInfoStructUInt() GetInt() GetIntBase() GetItemByID()
GetItemCount() GetItemID() GetItemSkillReq() GetItemType()
GetLevel() GetLootCoin() GetLootDropType() GetLootTier()
GetMaxHP() GetMaxHPBase() GetMaxPower() GetMaxPowerBase()
GetModelType() GetMostHated() GetMount() GetName()
GetOrigX() GetOrigY() GetOrigZ() GetOwner()
GetPassengerSpawnList() GetPCTOfHP() GetPCTOfPower() GetPet()
GetPlayerHistory() GetPlayersInZone() GetPower() GetQuest()
GetQuestCompleteCount() GetQuestFlags() GetQuestStep() GetQuestStepProgress()
GetRace() GetRaceBaseType() GetRaceType() GetRandomSpawnByID()
GetRaceName() GetRunbackDistance() GetRuleFlagBool() GetRuleFlagFloat()
GetRuleFlagInt32() GetServerVariable() GetShardCharID() GetShardCreatedTimestamp()
GetShardID() GetSkill() GetSkillIDByName() GetSkillMaxValue()
GetSkillName() GetSkillValue() GetSpawn() GetSpawnByGroupID()
GetSpawnByLocationID() GetSpawnByRailID() GetSpawnFromList() GetSpawnGroupID()
GetSpawnID() GetSpawnListByRailID() GetSpawnListBySpawnID() GetSpawnListSize()
GetSpawnLocationID() GetSpawnLocationPlacementID() GetSpeed() GetSpell()
GetSpellData() GetSpellDataIndex() GetSpellDisplayEffect() GetSpellID()
GetSpellName() GetSpellTriggerCount() GetSta() GetStaBase()
GetStr() GetStrBase() GetTarget() GetTaskGroupStep()
GetTemporaryTransportID() GetTempVariable() GetTradeskillClass() GetTradeskillClassName()
GetTradeskillLevel() GetTSArrowColor() GetTutorialStep() GetVariableValue()
GetWardAmountLeft() GetWardValue() GetWis() GetWisBase()
GetWorldTimeHour() GetWorldTimeMinute() GetWorldTimeMonth() GetWorldTimeYear()
GetX() GetY() GetZ() GetZone()
GetZoneExpansionFlag() GetZoneHolidayFlag() GetZoneID() GetZoneLockoutTimer()
GetZoneName() GiveExp() GiveLoot() GiveQuestItem()
GiveQuestReward() GetSpellTier()

H

HandInCollections() Harvest() HasCollectionsToHandIn() HasCompletedQuest()
HasControlEffect() HasCoin() HasFreeSlot() HasGroup()
HasItem() HasItemEquipped() HasLanguage() HasLootItem()
HasMoved() HasPendingLoot() HasPendingLootItem() HasQuest()
HasQuestRewardItem() HasRecipeBook() HasRecovered() HasSkill()
HasSpell() HasSpellEffect() HasSpellImmunity()

I

IncreaseSkillCapsByType() InLava() InstructionWindow() InstructionWindowClose()
InstructionWindowGoal() Interrupt() InWater() IsAlive()
IsBehind() IsBindAllowed() IsCasting() IsDoor()
IsEntity() IsEpic() IsFlanking() IsFollowing()
IsGateAllowed() IsGroundSpawn() IsHeroic() IsInCombat()
IsInvis() IsInvulnerable() IsMezzed() IsMezzedOrStunned()
IsNight() IsOnAutoMount() IsOpen() IsPet()
IsPlayer() IsRunning() IsStealthed() IsStunned()
IsTransportSpawn() IsZoneLoading()

K

KillSpawn() KillSpawnByDistance() Knockback()

L

LastSpellAttackHit()

M

MakeRandomFloat() MakeRandomInt() ModifyHP() ModifyPower()
MovementLoopAdd() MovementLoopAddLocation() MoveToLocation()

O

OfferQuest() OpenDoor()

P

PauseMovement() PerformCameraShake() PlayAnimation() PlayFlavor()
PlaySound() PlayVoice() ProcDamage() ProcessMelee()
ProcessSpell() ProcHate() ProvidesQuest()

Q

QuestIsComplete() QuestReturnNPC() QuestStepIsComplete()

R

RegisterQuest() RemoveCoin() RemoveControlEffect() RemoveIconValue()
RemoveImmunitySpell() RemoveInvis() RemoveItem() RemoveLootItem()
RemovePrimaryEntityCommand() RemoveProc() RemoveQuestStep() RemoveSkill()
RemoveSkillBonus() RemoveSpawnAccess() RemoveSpawnFromSpawnList() RemoveSpawnIDAccess()
RemoveSpawnSpellBonus() RemoveSpellBonus() RemoveStealth() RemoveThreatTransfer()
RemoveTriggerFromSpell() RemoveWard() RemoveWaypoint() ResetCharacterTitlePrefix()
ResetCharacterTitleSuffix() ResetIllusion() ResetQuestStep() Resurrect()
Runback()

S

Say() SayOOC() SendMessage() SendOptionWindow()
SendPopUpMessage() SendStateCommand() SendTimeUpdate() SendTransporters()
SendUpdateDefaultCommand() SendWaypoints() SetAAInfo() SetAccessToEntityCommand()
SetAccessToEntityCommandByCharID() SetAdventureClass() SetAggroRadius() SetAgi()
SetAgiBase() SetAlignment() SetAttackable() SetBrainTick()
SetCharacterTitlePrefix() SetCharacterTitleSuffix() SetCharSheetChanged() SetCoinTmpReward()
SetCompletedDescription() SetCompleteFlag() SetDeity() SetEquipment()
SetEquippedItem() SetEquippedItemByID() SetFactionID() SetFailureTimer()
SetFollowTarget() SetGridID() SetHeading() SetHP()
SetIllusion() SetInCombat() SetInfoFlag() SetInfoStructFloat()
SetInfoStructSInt() SetInfoStructString() SetInfoStructUInt() SetInt()
SetIntBase() SetInvulnerable() SetItemCount() SetLocationProximityFunction()
SetLootCoin() SetLootDrop() SetLootTier() SetLuaBrain()
SetMaxHP() SetMaxHPBase() SetMaxPower() SetMaxPowerBase()
SetModelType() SetMount() SetMountColor() SetPlayerHistory()
SetPlayerLevel() SetPlayerProximityFunction() SetPosition() SetPower()
SetQuestCompleteAction() SetQuestFeatherColor() SetQuestFlags() SetQuestPrereqLevel()
SetQuestRepeatable() SetQuestRewardComment() SetQuestRewardExp() SetQuestRewardStatus()
SetQuestTimer() SetQuestTimerComplete() SetQuestYellow() SetRailID()
SetRequiredHistory() SetRequiredQuest() SetSeeHide() SetSeeInvis()
SetServerControlFlag() SetServerVariable() SetSkillMaxValue() SetSkillValue()
SetSpawnAnimation() SetSpawnGroupID() SetSpeed() SetSpeedMultiplier()
SetSpellData() SetSpellDataIndex() SetSpellDisplayEffect() SetSpellList()
SetSpellSnareValue() SetSpellTriggerCount() SetSta() SetStaBase()
SetStatusTmpReward() SetStepComplete() SetStepFailed() SetStr()
SetStrBase() SetSuccessTimer() SetTarget() SetTemporaryTransportID()
SetTempVariable() SetTradeskillClass() SetTradeskillLevel() SetTutorialStep()
SetVision() SetVisualFlag() SetWis() SetWisBase()
SetWorldTime() SetZoneExpansionFlag() SetZoneHolidayFlag() Shout()
ShowLootWindow() ShowWindow() SpawnByLocationID() SpawnGroupByID()
SpawnMob() SpawnMove() SpawnSet() SpawnSetByDistance()
SpellDamage() SpellHeal() SpellHealPct() StartAutoMount()
StartConversation() StartDialogConversation() StartHeroicOpportunity() StartItemConversation()
StartTransmute() Stealth() StopMovement() StopTimer()
SummonCosmeticPet() SummonDeityPet() SummonDumbFirePet() SummonItem()
SummonPet()

T

ToggleFollow() ToggleTracking()

U

UpdateQuestDescription() UpdateQuestStepDescription() UpdateQuestTaskGroupDescription() UpdateQuestZone()
UseWidget() UnequipSlot()

Z

Zone()