Difference between revisions of "LUA:AllFunctions"

Line 425: Line 425:
 
|-
 
|-
 
|[[LUA:SendPopUpMessage|SendPopUpMessage()]]
 
|[[LUA:SendPopUpMessage|SendPopUpMessage()]]
 +
|[[LUA:SendTransporters|SendTransporters()]]
 +
|[[LUA:SendUpdateDefaultCommand|SendUpdateDefaultCommand()]]
 +
[[LUA:SendWaypoints|SendWaypoints()]]
 +
|-
 +
|[[LUASetAccessToEntityCommand|SetAccessToEntityCommand()]]
 
|[[LUASetAccessToEntityCommandByCharID|SetAccessToEntityCommandByCharID()]]
 
|[[LUASetAccessToEntityCommandByCharID|SetAccessToEntityCommandByCharID()]]
 
|[[LUA:SetAdventureClass|SetAdventureClass()]]
 
|[[LUA:SetAdventureClass|SetAdventureClass()]]
Line 430: Line 435:
 
|-
 
|-
 
|[[LUA:SetAgiBase|SetAgiBase()]]
 
|[[LUA:SetAgiBase|SetAgiBase()]]
 +
|[[LUA:SetAlignment|SetAlignment()]]
 +
|[[LUA:SetAggroRadius|SetAggroRadius()]]
 
|[[LUA:SetBrainTick|SetBrainTick()]]
 
|[[LUA:SetBrainTick|SetBrainTick()]]
 +
|-
 
|[[LUA:SetCharacterTitlePrefix|SetCharacterTitlePrefix()]]
 
|[[LUA:SetCharacterTitlePrefix|SetCharacterTitlePrefix()]]
 
|[[LUA:SetCharacterTitleSuffix|SetCharacterTitleSuffix()]]
 
|[[LUA:SetCharacterTitleSuffix|SetCharacterTitleSuffix()]]
|-
 
 
|[[LUA:SetCompletedDescription|SetCompletedDescription()]]
 
|[[LUA:SetCompletedDescription|SetCompletedDescription()]]
 
|[[LUA:SetCompleteFlag|SetCompleteFlag()]]
 
|[[LUA:SetCompleteFlag|SetCompleteFlag()]]
 +
|-
 +
|[[LUA:SetDeity|SetDeity()]]
 +
|[[LUA:SetEquipment|SetEquipment()]]
 +
|[[LUA:SetEquippedItem|SetEquippedItem()]]
 +
|[[LUA:SetEquippedItemByID|SetEquippedItemByID()]]
 +
|-
 
|[[LUA:SetFactionID|SetFactionID()]]
 
|[[LUA:SetFactionID|SetFactionID()]]
 
|[[LUA:SetFailureTimer|SetFailureTimer()]]
 
|[[LUA:SetFailureTimer|SetFailureTimer()]]
|-
 
 
|[[LUA:SetFollowTarget|SetFollowTarget()]]
 
|[[LUA:SetFollowTarget|SetFollowTarget()]]
 
|[[LUA:SetGridID|SetGridID()]]
 
|[[LUA:SetGridID|SetGridID()]]
 +
|-
 
|[[LUA:SetHeading|SetHeading()]]
 
|[[LUA:SetHeading|SetHeading()]]
 
|[[LUA:SetHP|SetHP()]]
 
|[[LUA:SetHP|SetHP()]]
|-
 
 
|[[LUA:SetIllusion|SetIllusion()]]
 
|[[LUA:SetIllusion|SetIllusion()]]
 
|[[LUA:SetInCombat|SetInCombat()]]
 
|[[LUA:SetInCombat|SetInCombat()]]
 +
|-
 +
|[[LUA:SetInfoFlag|SetInfoFlag()]]
 
|[[LUA:SetInt|SetInt()]]
 
|[[LUA:SetInt|SetInt()]]
 
|[[LUA:SetIntBase|SetIntBase()]]
 
|[[LUA:SetIntBase|SetIntBase()]]
 +
|[[LUA:SetItemCount|SetItemCount()]]
 
|-
 
|-
|[[LUA:SetItemCount|SetItemCount()]]
 
 
|[[LUA:SetLocationProximityFunction|SetLocationProximityFunction()]]
 
|[[LUA:SetLocationProximityFunction|SetLocationProximityFunction()]]
 
|[[LUA:SetLootCoin|SetLootCoin()]]
 
|[[LUA:SetLootCoin|SetLootCoin()]]
 
|[[LUA:SetLuaBrain|SetLuaBrain()]]
 
|[[LUA:SetLuaBrain|SetLuaBrain()]]
 +
|[[LUA:SetMaxHP|SetMaxHP()]]
 
|-
 
|-
|[[LUA:SetMaxHP|SetMaxHP()]]
 
 
|[[LUA:SetMaxHPBase|SetMaxHPBase()]]
 
|[[LUA:SetMaxHPBase|SetMaxHPBase()]]
 
|[[LUA:SetMaxPower|SetMaxPower()]]
 
|[[LUA:SetMaxPower|SetMaxPower()]]
 
|[[LUA:SetMaxPowerBase|SetMaxPowerBase()]]
 
|[[LUA:SetMaxPowerBase|SetMaxPowerBase()]]
 +
|[[LUA:SetModelType|SetModelType()]]
 
|-
 
|-
|[[LUA:SetModelType|SetModelType()]]
 
 
|[[LUA:SetMount|SetMount()]]
 
|[[LUA:SetMount|SetMount()]]
 
|[[LUA:SetMountColor|SetMountColor()]]
 
|[[LUA:SetMountColor|SetMountColor()]]
 
|[[LUA:SetPlayerLevel|SetPlayerLevel()]]
 
|[[LUA:SetPlayerLevel|SetPlayerLevel()]]
 +
|[[LUA:SetPlayerProximityFunction|SetPlayerProximityFunction()]]
 
|-
 
|-
|[[LUA:SetPlayerProximityFunction|SetPlayerProximityFunction()]]
 
 
|[[LUA:SetPlayerHistory|SetPlayerHistory()]]
 
|[[LUA:SetPlayerHistory|SetPlayerHistory()]]
 
|[[LUA:SetPosition|SetPosition()]]
 
|[[LUA:SetPosition|SetPosition()]]
 
|[[LUA:SetPower|SetPower()]]
 
|[[LUA:SetPower|SetPower()]]
 +
|[[LUA:SetQuestCompleteAction|SetQuestCompleteAction()]]
 
|-
 
|-
|[[LUA:SetQuestCompleteAction|SetQuestCompleteAction()]]
 
 
|[[LUA:SetQuestFeatherColor|SetQuestFeatherColor()]]
 
|[[LUA:SetQuestFeatherColor|SetQuestFeatherColor()]]
 
|[[LUA:SetQuestFlags|SetQuestFlags()]]
 
|[[LUA:SetQuestFlags|SetQuestFlags()]]
 
|[[LUA:SetQuestPrereqLevel|SetQuestPrereqLevel()]]
 
|[[LUA:SetQuestPrereqLevel|SetQuestPrereqLevel()]]
 +
|[[LUA:SetQuestRepeatable|SetQuestRepeatable()]]
 
|-
 
|-
|[[LUA:SetQuestRepeatable|SetQuestRepeatable()]]
 
 
|[[LUA:SetQuestRewardComment|SetQuestRewardComment()]]
 
|[[LUA:SetQuestRewardComment|SetQuestRewardComment()]]
 
|[[LUA:SetQuestRewardExp|SetQuestRewardExp()]]
 
|[[LUA:SetQuestRewardExp|SetQuestRewardExp()]]
 
|[[LUA:SetQuestRewardStatus|SetQuestRewardStatus()]]
 
|[[LUA:SetQuestRewardStatus|SetQuestRewardStatus()]]
 +
|[[LUA:SetQuestTimer|SetQuestTimer()]]
 
|-
 
|-
|[[LUA:SetQuestTimer|SetQuestTimer()]]
 
 
|[[LUA:SetQuestTimerComplete|SetQuestTimerComplete()]]
 
|[[LUA:SetQuestTimerComplete|SetQuestTimerComplete()]]
 
|[[LUA:SetQuestYellow|SetQuestYellow()]]
 
|[[LUA:SetQuestYellow|SetQuestYellow()]]
 
|[[LUA:SetRequiredHistory|SetRequiredHistory()]]
 
|[[LUA:SetRequiredHistory|SetRequiredHistory()]]
 +
|[[LUA:SetRequiredQuest|SetRequiredQuest()]]
 
|-
 
|-
|[[LUA:SetRequiredQuest|SetRequiredQuest()]]
 
 
|[[LUA:SetSeeHide|SetSeeHide()]]
 
|[[LUA:SetSeeHide|SetSeeHide()]]
 
|[[LUA:SetSeeInvis|SetSeeInvis()]]
 
|[[LUA:SetSeeInvis|SetSeeInvis()]]
 
|[[LUA:SetServerControlFlag|SetServerControlFlag()]]
 
|[[LUA:SetServerControlFlag|SetServerControlFlag()]]
 +
|[[LUA:SetServerVariable|SetServerVariable()]]
 
|-
 
|-
|[[LUA:SetServerVariable|SetServerVariable()]]
 
 
|[[LUA:SetSkillMaxValue|SetSkillMaxValue()]]
 
|[[LUA:SetSkillMaxValue|SetSkillMaxValue()]]
 
|[[LUA:SetSkillValue|SetSkillValue()]]
 
|[[LUA:SetSkillValue|SetSkillValue()]]
 
|[[LUA:SetSpawnAnimation|SetSpawnAnimation()]]
 
|[[LUA:SetSpawnAnimation|SetSpawnAnimation()]]
 +
|[[LUA:SetSpeed|SetSpeed()]]
 
|-
 
|-
|[[LUA:SetSpeed|SetSpeed()]]
 
 
|[[LUA:SetSpeedMultiplier|SetSpeedMultiplier()]]
 
|[[LUA:SetSpeedMultiplier|SetSpeedMultiplier()]]
 
|[[LUA:SetSpellData|SetSpellData()]]
 
|[[LUA:SetSpellData|SetSpellData()]]
 
|[[LUA:SetSpellDataIndex|SetSpellDataIndex()]]
 
|[[LUA:SetSpellDataIndex|SetSpellDataIndex()]]
 +
|[[LUA:SetSpellDisplayEffect|SetSpellDisplayEffect()]]
 
|-
 
|-
|[[LUA:SetSpellDisplayEffect|SetSpellDisplayEffect()]]
 
 
|[[LUA:SetSpellList|SetSpellList()]]
 
|[[LUA:SetSpellList|SetSpellList()]]
 
|[[LUA:SetSpellSnareValue|SetSpellSnareValue()]]
 
|[[LUA:SetSpellSnareValue|SetSpellSnareValue()]]
 
|[[LUA:SetSpellTriggerCount|SetSpellTriggerCount()]]
 
|[[LUA:SetSpellTriggerCount|SetSpellTriggerCount()]]
 +
|[[LUA:SetSta|SetSta()]]
 
|-
 
|-
|[[LUA:SetSta|SetSta()]]
 
 
|[[LUA:SetStaBase|SetStaBase()]]
 
|[[LUA:SetStaBase|SetStaBase()]]
 
|[[LUA:SetStepComplete|SetStepComplete()]]
 
|[[LUA:SetStepComplete|SetStepComplete()]]
 
|[[LUA:SetStepFailed|SetStepFailed()]]
 
|[[LUA:SetStepFailed|SetStepFailed()]]
 +
|[[LUA:SetStr|SetStr()]]
 
|-
 
|-
|[[LUA:SetStr|SetStr()]]
 
 
|[[LUA:SetStrBase|SetStrBase()]]
 
|[[LUA:SetStrBase|SetStrBase()]]
 
|[[LUA:SetSuccessTimer|SetSuccessTimer()]]
 
|[[LUA:SetSuccessTimer|SetSuccessTimer()]]
 
|[[LUA:SetTarget|SetTarget()]]
 
|[[LUA:SetTarget|SetTarget()]]
 +
|[[LUA:SetTemporaryTransportID|SetTemporaryTransportID()]]
 
|-
 
|-
 
|[[LUA:SetTempVariable|SetTempVariable()]]
 
|[[LUA:SetTempVariable|SetTempVariable()]]
 
|[[LUA:SetTradeskillClass|SetTradeskillClass()]]
 
|[[LUA:SetTradeskillClass|SetTradeskillClass()]]
 
|[[LUA:SetTradeskillLevel|SetTradeskillLevel()]]
 
|[[LUA:SetTradeskillLevel|SetTradeskillLevel()]]
 +
|[[LUA:SetVisualFlag|SetVisualFlag()]]
 +
|-
 
|[[LUA:SetVision|SetVision()]]
 
|[[LUA:SetVision|SetVision()]]
|-
 
 
|[[LUA:SetWis|SetWis()]]
 
|[[LUA:SetWis|SetWis()]]
 
|[[LUA:SetWisBase|SetWisBase()]]
 
|[[LUA:SetWisBase|SetWisBase()]]
 
|[[LUA:Shout|Shout()]]
 
|[[LUA:Shout|Shout()]]
 +
|-
 
|[[LUA:SpawnByLocationID|SpawnByLocationID()]]
 
|[[LUA:SpawnByLocationID|SpawnByLocationID()]]
|-
 
 
|[[LUA:SpawnMob|SpawnMob()]]
 
|[[LUA:SpawnMob|SpawnMob()]]
 
|[[LUA:SpawnMove|SpawnMove()]]
 
|[[LUA:SpawnMove|SpawnMove()]]
 
|[[LUA:SpawnSet|SpawnSet()]]
 
|[[LUA:SpawnSet|SpawnSet()]]
 +
|-
 
|[[LUA:SpawnSetByDistance|SpawnSetByDistance()]]
 
|[[LUA:SpawnSetByDistance|SpawnSetByDistance()]]
|-
 
 
|[[LUA:SpellDamage|SpellDamage()]]
 
|[[LUA:SpellDamage|SpellDamage()]]
 
|[[LUA:SpellHeal|SpellHeal()]]
 
|[[LUA:SpellHeal|SpellHeal()]]
 +
|[[LUA:SpellHealPct|SpellHealPct()]]
 +
|-
 
|[[LUA:StartAutoMount|StartAutoMount()]]
 
|[[LUA:StartAutoMount|StartAutoMount()]]
 
|[[LUA:StartConversation|StartConversation()]]
 
|[[LUA:StartConversation|StartConversation()]]
|-
 
 
|[[LUA:StartDialogConversation|StartDialogConversation()]]
 
|[[LUA:StartDialogConversation|StartDialogConversation()]]
 
|[[LUA:StartHeroicOpportunity|StartHeroicOpportunity()]]
 
|[[LUA:StartHeroicOpportunity|StartHeroicOpportunity()]]
 +
|-
 
|[[LUA:Stealth|Stealth()]]
 
|[[LUA:Stealth|Stealth()]]
 
|[[LUA:SummonCosmeticPet|SummonCosmeticPet()]]
 
|[[LUA:SummonCosmeticPet|SummonCosmeticPet()]]
|-
 
 
|[[LUA:SummonDeityPet|SummonDeityPet()]]
 
|[[LUA:SummonDeityPet|SummonDeityPet()]]
 
|[[LUA:SummonDumbFirePet|SummonDumbFirePet()]]
 
|[[LUA:SummonDumbFirePet|SummonDumbFirePet()]]
 +
|-
 
|[[LUA:SummonItem|SummonItem()]]
 
|[[LUA:SummonItem|SummonItem()]]
 
|[[LUA:SummonPet|SummonPet()]]
 
|[[LUA:SummonPet|SummonPet()]]
Line 561: Line 579:
 
|-
 
|-
 
|[[LUA:UseWidget|UseWidget()]]
 
|[[LUA:UseWidget|UseWidget()]]
 +
|[[LUA:UnequipSlot|UnequipSlot()]]
 
|}
 
|}
  

Revision as of 15:58, 9 February 2021

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() AddImmunitySpell() AddItem() AddLanguage()
AddLootCoin() AddLootItem() AddMasterTitle() AddMultiFloorLift()
AddOptionWindowOption() AddPrimaryEntityCommand() AddProc() AddQuestPrereqClass()
AddQuestPrereqFaction() AddQuestPrereqItem() AddQuestPrereqModelType() AddQuestPrereqQuest()
AddQuestPrereqRace() AddQuestPrereqTradeskillClass() AddQuestPrereqTradeskillLevel() AddQuestRewardCoin()
AddQuestRewardFaction() AddQuestRewardItem() AddQuestSelectableRewardItem() AddQuestStep()
AddQuestStepChat() AddQuestStepCompleteAction() AddQuestStepCraft() AddQuestStepFailureAction()
AddQuestStepHarvest() AddQuestStepKill() AddQuestStepLocation() AddQuestStepObtainItem()
AddQuestStepProgressAction() AddQuestStepSpell() AddSkillBonus() AddSpawnAccess()
AddSpawnIDAccess() AddSpawnSpellBonus() AddSpellBonus() AddSpellBookEntry()
AddSpellTimer() AddStepProgress() AddThreatTransfer() AddTimer()
AddToWard() AddTransportSpawn() AddWard() ApplySpellVisual()
Attack()

B

Bind() BlurVision() BreatheUnderwater()

C

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

D

DeleteDBShardID() Despawn() DismissPet()

E

Emote() EndAutoMount() Evac()

F

FaceTarget()

G

Gate() GetAgi() GetAgiBase() GetCharmedPet()
GetCharacterID() GetArchetypeName() GetClass() GetClassName()
GetClientVersion() GetCoinMessage() GetCosmeticPet() GetCurrentZoneSafeLocation()
GetDeityPet() GetDistance() GetEncounter() GetEncounterSize() GetEquippedItemByID() GetEquippedItemBySlot() GetFactionAmount() GetFactionID()
GetFollowTarget() GetGender() GetGroup() GetHateList()
GetHeading() GetHP() GetInt() GetIntBase()
GetItemByID() GetItemCount() GetItemID() GetItemSkillReq()
GetItemType() GetLevel() GetLootCoin() GetMaxHP()
GetMaxHPBase() GetMaxPower() GetMaxPowerBase() GetModelType()
GetMostHated() GetMount() GetName() GetOrigX()
GetOrigY() GetOrigZ() GetOwner() GetPet()
GetPlayerHistory() GetPlayersInZone() GetPower() GetQuest()
GetQuestCompleteCount() GetQuestFlags() GetQuestStep() GetQuestStepProgress()
GetRace() GetRaceBaseType() GetRaceType() GetRaceName()
GetRunbackDistance() GetRuleFlagBool() GetRuleFlagFloat() GetServerVariable()
GetShardCharID() GetShardCreatedTimestamp() GetShardID() GetSkill()
GetSkillMaxValue() GetSkillName() GetSkillValue() GetSpawn()
GetSpawnByGroupID() GetSpawnByLocationID() GetSpawnGroupID() GetSpawnID()
GetSpawnLocationID() GetSpawnLocationPlacementID() GetSpeed() GetSpellDataIndex()
GetSpellDisplayEffect() GetSpellTriggerCount() GetSta() GetStaBase()
GetStr() GetStrBase() GetTarget() GetTaskGroupStep()
GetTempVariable() GetTradeskillClass() GetTradeskillClassName() GetTradeskillLevel()
GetVariableValue() GetWardAmountLeft() GetWis() GetWisBase()
GetX() GetY() GetZ() GetZone()
GetZoneID() GetZoneName() GiveLoot() GiveQuestItem()
GiveQuestReward() GetSpellTier()

H

HandInCollections() Harvest() HasCollectionsToHandIn() HasCompletedQuest()
HasFreeSlot() HasGroup() HasItem() HasLanguage()
HasMoved() HasPendingLootItem() HasPendingLoot() HasQuest()
HasRecipeBook() HasRecovered() HasSpellEffect()

I

Interrupt() IsAlive() IsBehind() IsBindAllowed()
IsCasting() IsDoor() IsEntity() IsEpic()
IsFlanking() IsFollowing() IsGateAllowed() IsGroundSpawn()
IsHeroic() IsInCombat() IsInvis() IsMezzed()
IsMezzedOrStunned() IsNight() IsOnAutoMount() IsPlayer()
IsPet() IsStealthed() IsStunned()

K

KillSpawn() KillSpawnByDistance() Knockback()

L

LastSpellAttackHit()

M

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

O

OfferQuest() OpenDoor()

P

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

Q

QuestIsComplete() QuestReturnNPC() QuestStepIsComplete()

R

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

S

Say() SayOOC() SendMessage() SendOptionWindow()
SendPopUpMessage() SendTransporters() SendUpdateDefaultCommand()

SendWaypoints()

SetAccessToEntityCommand() SetAccessToEntityCommandByCharID() SetAdventureClass() SetAgi()
SetAgiBase() SetAlignment() SetAggroRadius() SetBrainTick()
SetCharacterTitlePrefix() SetCharacterTitleSuffix() SetCompletedDescription() SetCompleteFlag()
SetDeity() SetEquipment() SetEquippedItem() SetEquippedItemByID()
SetFactionID() SetFailureTimer() SetFollowTarget() SetGridID()
SetHeading() SetHP() SetIllusion() SetInCombat()
SetInfoFlag() SetInt() SetIntBase() SetItemCount()
SetLocationProximityFunction() SetLootCoin() SetLuaBrain() SetMaxHP()
SetMaxHPBase() SetMaxPower() SetMaxPowerBase() SetModelType()
SetMount() SetMountColor() SetPlayerLevel() SetPlayerProximityFunction()
SetPlayerHistory() SetPosition() SetPower() SetQuestCompleteAction()
SetQuestFeatherColor() SetQuestFlags() SetQuestPrereqLevel() SetQuestRepeatable()
SetQuestRewardComment() SetQuestRewardExp() SetQuestRewardStatus() SetQuestTimer()
SetQuestTimerComplete() SetQuestYellow() SetRequiredHistory() SetRequiredQuest()
SetSeeHide() SetSeeInvis() SetServerControlFlag() SetServerVariable()
SetSkillMaxValue() SetSkillValue() SetSpawnAnimation() SetSpeed()
SetSpeedMultiplier() SetSpellData() SetSpellDataIndex() SetSpellDisplayEffect()
SetSpellList() SetSpellSnareValue() SetSpellTriggerCount() SetSta()
SetStaBase() SetStepComplete() SetStepFailed() SetStr()
SetStrBase() SetSuccessTimer() SetTarget() SetTemporaryTransportID()
SetTempVariable() SetTradeskillClass() SetTradeskillLevel() SetVisualFlag()
SetVision() SetWis() SetWisBase() Shout()
SpawnByLocationID() SpawnMob() SpawnMove() SpawnSet()
SpawnSetByDistance() SpellDamage() SpellHeal() SpellHealPct()
StartAutoMount() StartConversation() StartDialogConversation() StartHeroicOpportunity()
Stealth() SummonCosmeticPet() SummonDeityPet() SummonDumbFirePet()
SummonItem() SummonPet()

T

ToggleFollow() ToggleTracking()

U

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

Z

Zone()