Messages
Messages used in the vanilla game:
trap:SendMessage("Activate")
-- used for activating traps: trap:Send....
SendMessage("AddBuffIcon",buff,timeSecs)
-- function(buff,timeSecs)
SendMessage("AddCoins",arg)
-- this takes a amount table ({Copper = 10}) or another coin object
-- function AddCoins(arg)
SendMessage("AddCombatAbility")
-- AddCombatAbility() is undocumented and unused function
SendMessage("AddFollowerMessage",{pet=(gameObj)})
-- function AddFollower(args)
SendMessage("AddFreezeEffectMessage",freezeEffect,freezeDelayMS,freezeMove,freezeFace)
-- function HandleMobFreezeAddRequest(freezeEffect,freezeDelayMS,freezeMove,freezeFace)
SendMessage("AddInvisEffect",effectName)
-- function AddInvisibilityEffect(effectName)
SendMessage("AddMoveSpeedEffectMessage",effectName, effectType, efValue)
-- function AddMoveSpeedEffect(effectName, effectType, efValue)
SendMessage("AddPetFriendMessage")
-- Empty and unused function
-- function AddFriend(funArgs)
SendMessage("addpoints",team,points)
-- function(team,points)
SendMessage("AddSkillBuff",target,skillName,amount,timeSpan,identifier,notify)
-- function HandleAddSkillBuff(target,skillName,amount,timeSpan,identifier,notify)
SendMessage("AddSkillToTracker", skillName)
-- function(skillName)
SendMessage("AddStatMod",statModName,statModIdentifier,statModType,statModValue,statModTime)
-- function HandleAddStatMod(statModName,statModIdentifier,statModType,statModValue,statModTime)
SendMessage("AddStealthMovementRevealModifier",{src=(gameObj),val=(number)} )
-- function(args)
-- example this:SendMessage("AddStealthMovementRevealModifier", {["source"] = "Sprint" , ["value"] = .7 })
SendMessage("AddThreat", target,amount)
-- function(target,amount)
SendMessage("AddUserActionToSlot",actionData)
-- function AddUserActionToSlot(actionData)
SendMessage("AddXPLevel",skillName,amount)
-- function(skillName,amount)
SendMessage("AdjustStack",amount)
-- function(amount)
SendMessage("AdjustWeight",delta)
-- function AdjustWeightRecursive(delta)
SendMessage("AdvanceQuest",questName,questTaskName,prerequisiteTask)
-- function AdvanceTask(questName,questTaskName,prerequisiteTask)
SendMessage("AlertEnemy", target)
-- function(target)
SendMessage("AlterBaseDurabilityMessage", duraAlt)
-- function(duraAlt)
SendMessage("AssignWaveController", WaveSource)
-- function(WaveSource)
SendMessage("AssignWaveTarget", target)
-- function(target)
SendMessage("AssistOnTarget", newTarget)
-- function HandleAssistTeam(newTarget)
SendMessage("AteFood")
--function()
SendMessage("AttackedByCombatAbility",attacker,abilityName)
-- function(attacker,abilityName)
SendMessage("AttackedBySpell",attacker,abilityName)
-- function(attacker,abilityName)
SendMessage("AttackEnemy",target,force)
-- function(target,force)
SendMessage("AttackerMissedMessage",msgInfo)
--function(msgInfo)
SendMessage("AttackSwingCompleted")
-- function()
SendMessage("AttackTarget",target)
-- function(target)
SendMessage("AttackTarget",target)
-- function HandleAttackTarget(target)
SendMessage("AttackWithAbilityMessage",abilityInfo)
-- function HandleAttackWithAbilityRequest(abilityInfo)
SendMessage("AttemptCurePoison",cureSkill,cureSource)
-- function(cureSkill,cureSource)
SendMessage("AwardLoyaltyPoints",awardType,amount)
-- function(awardType,amount)
SendMessage("Backstab",specName, attacker, defender)
-- function StartBackstab(specName, attacker, defender)
SendMessage("BeginRestState")
-- function BeginRestState()
SendMessage("BindToLocation",targetLoc,quiet)
-- function(targetLoc,quiet)
SendMessage("BlockedAttackMessage")
-- function(msgInfo)
SendMessage("BreakAtRestState")
-- function EndEffect()
SendMessage("BreakAtRestState",howLong)
-- function EndRestRegen(howLong)
SendMessage("BreakInvisEffect")
-- function()
SendMessage("BreakInvisEffect",reason)
-- function(reason)
SendMessage("ca_bat_transform_script_init")
-- function()
SendMessage("ca_blind_charge_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_charge_script_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_deathspin_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_deathwave_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_devilhand_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_dragon_lunge_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_energyrupture_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_evasion_user_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_eviscerate_user_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_fly_script_init")
-- function()
SendMessage("ca_forcestab_effect_init",specName,punchSource,punchTarget)
-- function(specName,punchSource,punchTarget)
SendMessage("ca_freeze_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_magicblast_script_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_megastrike_effect_init",specName,punchSource,punchTarget)
-- function(specName,punchSource,punchTarget)
SendMessage("ca_onslaught_user_effect_init")
-- function InitiateOnslaught()
SendMessage("ca_perforate_user_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_poison_breath_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_regen_vampire_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_rend_target_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_shockwave_script_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_slow_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_spawn_imps_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_spawn_nest_init")
-- function()
SendMessage("ca_spinattack_script_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_sprint_script_init")
-- function()
SendMessage("ca_sunder_target_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_tailstrike_script_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_tailwhip_script_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_vampire_bite_target_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("ca_wideswipe_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("CancelHarvesting",user)
-- function(user)
SendMessage("CancelSpellCast")
-- function CancelSpellCast()
SendMessage("CastSpellMessage")
-- function(...) -- ... is unused in the function
SendMessage("CastSpellMessage",spellName,spellSource,preDefTarg,targetLoc)
-- function HandleSpellCastRequest(spellName,spellSource,preDefTarg,targetLoc)
SendMessage("ChangeAge")
-- function(newAge)
SendMessage("ChangeConfiguration",index)
-- function ChangeCatacombsConfig(index)
SendMessage("ChangeMobileToTemplate",template,options)
-- function ChangeToTemplate(template,options)
--[[
local defaultOptions = {
Quiet = true,
KeepAppearance = false,
LoadEquipmentAndLoot = true,
DestroyExistingItems = true,
ChangeMobileType = false,
EquipMob = true,
}--]]
SendMessage("ChangeOwnerMessage",newOwner)
-- function(newOwner)
SendMessage("ChangePetName")
-- function NamePet(???) -- nonexisting or undocumented function
SendMessage("ChangeUp")
-- function(arg) -- arg not used in function
SendMessage("CheckTaskComplete",user,taskName)
-- function(user,taskName)
SendMessage("ClearMoveSpeedEffects")
-- function()
SendMessage("ClearTarget")
-- function()
SendMessage("CloseDoor")
-- function CloseDoor()
SendMessage("CompletionEffectsp_bind_teleport_effect")
-- function()
SendMessage("CompletionEffectsp_earthquake_effect")
-- function()
SendMessage("CompletionEffectsp_flameaura_effect")
-- function()
SendMessage("ConsumeIngredients")
-- function()
SendMessage("ConsumeResource",resourceType,amount,transactionId,responseObj)
-- function HandleConsumeResource(resourceType,amount,transactionId,responseObj)
SendMessage("ConsumeResourceResponse",success,transactionId,user)
-- function HandleConsumeResourceResponse(success,transactionId,buyer)
-- function (success,transactionId,user)
SendMessage("COOKING_CRAFTING_REQUEST")
-- PrepareFood(???) -- nonexistent or undocumented function
SendMessage("CookOverFire",cookArgs)
-- function(cookArgs)
SendMessage("CopyOtherMobile",otherMob,appearanceOnly,takeEquipment)
-- function CopyOtherMobile(otherMob,appearanceOnly,takeEquipment)
SendMessage("CopyOtherMobile")
-- function(...)
SendMessage("CraftItem",this,recipe,variation,skill,nearbyTool)
-- function HandleCraftItem(user,recipe,quality,skill,tool)
-- function HandleCraftItem(recipe, variation, skill)
-- example (only this one):
-- this:SendMessage("CraftItem", this,recipe,variation,skill,nearbyTool)
SendMessage("CreateObject",template,targetLoc,targetModules,targetObjVars)
-- function(template,targetLoc,targetModules,targetObjVars)
----------------------------------------
-- Crit Damage Effects
----------------------------------------
SendMessage("CritDamageEffect_Init_ce_bleed_effect",{ ["class"]="???", ["type"] ="???", ["attacker"]=(gameObj), ["weapon"]="???"})
-- function(args)
-- InitiateBleedEffect(args.attacker, args.weapon)
--[[
victim:SendMessage(
"CritDamageEffect_Init_" ..m,
{
["class"] = damInfo.Class,
["type"] = damInfo.damType ,
["attacker"] = this,
["weapon"] = damInfo.wSource
})
--]]
SendMessage("CritDamageEffect_Init_ce_staggered_effect")
-- function(args)
----------------------------------------
-- Spell Crit Effects
----------------------------------------
SendMessage("CritEffectsp_burn_effect", damager)
-- function(source)
-- spTarget:SendMessage("CritEffect" .. spTargetCritScript, this)
SendMessage("CritEffectsp_drain_regen")
-- function()
SendMessage("CritEffectsp_freeze_effect")
-- function()
SendMessage("CritEffectsp_heal_effect")
-- function()
SendMessage("CritEffectsp_resurrect_effect")
-- function()
SendMessage("CritEffectsp_shaken_slow_effect")
-- function()
SendMessage("CritEffectsp_shocked_slow_effect")
-- function()
----------------------------------------
SendMessage("CritEffectUsersp_soul_drain_user_effect",target)
-- function(target)
SendMessage("cubDamaged")
-- function(damager)
SendMessage("cultist_death",objRef)
-- function(objRef)
SendMessage("DamageInflicted",...) -- Depends heavily on the various mob-specific handlers
-- function ()
-- function (attacker)
-- function (attacker,damageAmt)
-- function (attacker,damagetAmt,isCrit)
-- function (damager)
-- function (damager,damageAmt)
-- function (damager,damageAmt,isCrit)
-- function (damager,damAmount,damArg, damAtt)
-- function (damager,damAmount,damArg,damAtt)
-- function (damager,procDam)
-- function (damger)
-- function HandleDamageReceived(damager, damageAmt, isCrit)
-- function RevealMyself(user,procDam)
-- function ValidateDamage(damager,procDam)
SendMessage("Deactivate") -- for traps
-- function(...)
SendMessage("DealtDamage", { [class]="", ...} ) -- ???
-- function(args)
-- if args.class ~= "Melee" ...
SendMessage("DecipherReadObject",user)
-- function(user)
SendMessage("DelayNextSwing")
-- function(args)
-- example:
-- this:SendMessage("DelayNextSwing", {["delay"] = myCastTime, ["timer"] = "All" })
SendMessage("demon_death",objRef)
-- function(objRef)
SendMessage("DestroyPortal",decayTime)
-- function(decayTime)
SendMessage("DigItem",shovelUser,digLoc)
-- function(shovelUser,digLoc)
SendMessage("DisableAI")
-- function()
SendMessage("DisableTrap",time)
-- function(time)
SendMessage("DisableTrap",time,user)
-- function(time,user)
SendMessage("DodgedAttackMessage",msgInfo)
-- function(msgInfo)
SendMessage("DoorLocked")
-- function()
SendMessage("DoorUnlocked")
-- function()
SendMessage("DurabilityLossCheckMessage",damType,isCrit,damager,damageWep,damageAmount)
-- function(damType,isCrit,damager,damageWep,damageAmount)
SendMessage("DynamicWindowRangeCheck",targetObj,windowHandle,maxDistance)
-- function(...) --> calls:
-- function AddDynamicWindowRangeCheck(targetObj,windowHandle,maxDistance)
SendMessage("EnableAI")
-- function()
SendMessage("EnableHowling")
-- function()
SendMessage("EndCombatMessage")
-- function()
SendMessage("EndCombatMessage",reason)
-- function(reason)
SendMessage("EndEffect")
-- function()
SendMessage("EndFlyMessage")
-- function EndFlyMessage(quiet) -- quiet param is ignored
SendMessage("EndPoisonEffect")
-- function()
SendMessage("EndPrayMessage",objRef)
-- function(objRef)
SendMessage("EndSummoning")
-- function()
SendMessage("EnhanceActivityComlete",result)
-- function(result)
SendMessage("EnterWorld")
-- function()
SendMessage("EquipLoot")
-- function()
SendMessage("EquipMobile",equipTable,lootTables,destroyExistingItems)
-- function(equipTable,lootTables,destroyExistingItems)
SendMessage("faction_thief_duration_update",time)
-- function(time)
SendMessage("FactionUpdate")
-- function()
SendMessage("FailQuest",questName)
--function FailQuest(questName)
SendMessage("FallAsleep",bed)
-- function HaveMobileSleep(bed)
SendMessage("FinishQuest",questName,runFinishActions)
-- function FinishQuest(questName,runFinishActions)
SendMessage("FlamewaveSpellTargetResult",targetLoc)
-- function(targetLoc)
SendMessage("follow")
-- function()
SendMessage("FollowPath",pathName)
-- function(pathName)
SendMessage("food_eaten")
-- function()
SendMessage("ForceChangeState",nextState)
-- function(nextState)
SendMessage("ForceCharge")
-- function(...) -- args unused - Cerberus special Ability
-- code: AI.StateMachine.ChangeState("SpecialAbility")
SendMessage("ForceCloakReveal")
-- function()
SendMessage("ForceDestroy")
-- function(...)
-- houseObj:SendMessageGlobal("ForceDestroy")
SendMessage("ForceFlee",target) -- force flee from target
-- function(target)
SendMessage("ForceFollow")
-- function()
-- ai_follower.lua
SendMessage("ForcePvPEnabled")
-- function ForcePvPEnabled()
SendMessage("ForceUpdateSpecials")
-- function HandleForceUpdateSpecials()
SendMessage("FoundTreasure",user)
-- function(user)
SendMessage("GoPrayMessage",objRef)
-- function(objRef)
SendMessage("GrimauraSpellTargetResult",targetLoc)
-- function(targetLoc)
SendMessage("GroupChat",name,line)
-- function(name,line)
SendMessage("GuildChat",name,line)
-- function(name,line)
SendMessage("halloween_ca_bite_target_effect_init",specName,attacker,defender)
-- function(specName,attacker,defender)
SendMessage("HarvestObject",objRef,user)
-- function(objRef,user)
SendMessage("HasDied")
-- function EndAmbienceEffect()
SendMessage("HasDied")
-- function EndEffect()
-- function EndSlowEffect()
-- function ModuleCleanUp()
SendMessage("HasDiedMessage")
-- function ()
-- function (...)
-- function (args)
-- function (killer)
-- function CancelSpellCast()
-- function HandleDeath(killer)
SendMessage("HealRequest",healAmount,healer)
-- function HandleHealRequest(healAmount,healer)
SendMessage("HolyWaterPour",user)
-- function(user)
SendMessage("HowlMessage",faceObject)
-- function(faceObject)
SendMessage("HungryUpdate",{["fill"]=fullLevel, ["status"] = foodState})
-- function(args)
-- example:
-- this:SendMessage("HungryUpdate",{["fill"]=fullLevel, ["status"] = foodState})
SendMessage("IcerainSpellTargetResult",targetLoc)
-- function(targetLoc)
SendMessage("Initialize",houseArgs)
-- function(houseArgs)
SendMessage("InitiateCrafting",fabTool,skill)
-- function(fabTool,skill)
SendMessage("InitiateCrafting",tool,craftType)
-- function(tool,craftType)
SendMessage("InitSaleItem",itemPrice,merchantObj,stackCount)
-- function(itemPrice,merchantObj,stackCount)
SendMessage("InterruptSummoning")
-- function InterruptSummon()
SendMessage("ItemUsedMessage")
-- function()
SendMessage("JoinGroup",groupId)
-- function(groupId)
SendMessage("JoinGuild",guildId)
-- function(guildId)
SendMessage("knockback_init",myTarg,distance)
-- function(myTarg,distance)
SendMessage("LearnSkillMessage",skillName,initialAmount)
-- function HandleLearnSkill(skillName,initialAmount)
SendMessage("Lock",user,key) -- container, door
-- function Lock(user,key)
SendMessage("LockPicked")
-- function()
SendMessage("LoggedIn")
-- function()
SendMessage("LootAll",targetContainer)
-- function StartLootAll(targetContainer)
SendMessage("MemorizeSpellMessage",spellName,spellSource,notify)
-- function (...)
-- function AddCastableSpell(spellName,spellSource,notify)
-- from spell_scroll.lua: user:SendMessage("MemorizeSpellMessage", mySpell, this)
-- from base_mobile.lua: this:SendMessage("MemorizeSpellMessage", v , this, not(quiet))
SendMessage("MonolithActivate")
-- function()
SendMessage("MonolithActivated", monolithNumber,monolith)
-- function(monolithNumber,monolith)
SendMessage("NestDestroyed",nest)
-- function(nest)
SendMessage("NPCAskPrice")
-- function SetNPCDialogTimer()
SendMessage("NPCInteraction",npc)
-- function(npc)
SendMessage("NPCTaskUIMessage",state,npc,taskName,taskDisplayName,description,finishDescription)
-- function UpdateNPCTaskUI(state,npc,taskName,taskDisplayName,description,finishDescription)
SendMessage("ObjectPlaced",objRef,userObj)
-- function(objRef,userObj)
SendMessage("OnDoorClose")
-- function()
SendMessage("OnDoorOpen")
-- function()
SendMessage("OnResurrect")
-- function()
SendMessage("OpenBank",bankSource)
-- function(bankSource)
SendMessage("OpenDoor")
-- function OpenDoor()
SendMessage("OpenKeyRing")
-- function()
SendMessage("OpenMapWindow",mapName)
-- function(mapName)
SendMessage("OpenPetsWindow")
-- function CreatePetListWindow()
SendMessage("OpenQuestWindow")
-- function OpenQuestWindow(user)
SendMessage("ownerAttackers",ownAt,damAmt)
-- function(ownAt,damAmt)
SendMessage("ownerAttackers")
-- function ProcessOwnerDamage(???) -- nonexistent or undocumented function
SendMessage("OwnerLoggedIn")
-- function (owner)
SendMessage("PathBehindDoor")
-- function(...) -- Cerberus Ai
-- this:PathTo(this:GetObjVar("SpawnLocation"),2.0,"PathHomeToDoor")
SendMessage("ParriedAttackMessage",msgInfo)
-- function(msgInfo)
SendMessage("PathToLocation",location)
-- function(location)
SendMessage("PerformEnhancementMessage",enName,enhancementUser)
-- function(enName,enhancementUser)
SendMessage("PerformSpecialAttackMessage")
-- function AttackTarget(???) -- function not found
SendMessage("PetReleasedMessage")
-- function ReleasePet(funArgs) -- args not used
SendMessage("petUseSpecialAbility")
-- function UsePetSpecial(funArgs) -- empty function stub
SendMessage("PickupObject",pickedUpObject)
-- function HandleRequestPickUp(pickedUpObject)
SendMessage("PillaroffireSpellTargetResult",targetLoc)
-- function(targetLoc)
SendMessage("PlayerDied",player) -- PvP stuff
-- function HandlePlayerDeath(player)
SendMessage("PlayerEquippedItemMessage",object)
-- function(object)
SendMessage("PlayerRejectEquippedItemMessage",object)
-- function(object)
SendMessage("potion_start")
-- function DoPotionStart(regenType,regenTimeMS,regenValue)
-- function DoPotionStart(regenType,regenTimeMS,regenValue,debuff,debuffAmount)
SendMessage("potion_stop")
-- function DoPotionStop()
SendMessage("PrivateMessage",sourceName,line)
-- function(sourceName,line)
SendMessage("ProcessDamage")
-- pet_controller.lua:
-- function HandleDamageReaction(damager,procDam)
-- combat.lua:
-- function HandleDamageReceived(damager,procDam,damageClass,damageType,damageSlot,isCrit,damageSrcWep, preProc)
SendMessage("Profession",profession)
-- function(profession)
SendMessage("PROTECT_LOCK",mMyProtBox)
-- function(mMyProtBox)
SendMessage("PushObject",target)
-- function(target)
SendMessage("QuestUpdate")
-- function()
SendMessage("ReassignSuperior",controller)
-- function(controller)
SendMessage("RecalculateStats")
-- function HandleRecalculateStats(recalculateStatsDict)
SendMessage("ReceiveTalk")
-- function(LastSpeaker,ReceivedSpeech,Subject,force)
SendMessage("RefreshQuestUI")
-- function RefreshQuestUI()
SendMessage("RefreshSkillsWindow")
-- function(...) -- parameters not used in function
SendMessage("RefreshWeight")
-- container.lua: function RefreshWeight()
SendMessage("RemoveBuffIcon", identifier)
-- function(identifier)
SendMessage("RemoveCombatAbility")
-- function RemoveCombatAbility() -- function nonexistent or undocumented
SendMessage("RemoveFreezeEffectMessage",effect)
-- function HandleMobFreezeRemoveRequest(effect)
SendMessage("RemoveFromSale",buyer)
-- hireling_merchant_sale_item.lua: function RemoveFromSale(buyer)
SendMessage("RemoveInvisEffect",effectName)
-- ska_shadow_run.lua: function(endedEffect) -- parameter unused in function
-- base_mobile: function RemoveInvisibilityEffect(effectName)
SendMessage("RemoveMoveSpeedEffectMessage",effectName)
-- function RemoveMoveSpeedEffect(effectName)
SendMessage("RemoveSpawnedObject",targetObj)
-- function(targetObj)
SendMessage("RemoveStatMod")
-- function HandleRemoveStatMod(statModName, statModIdentifier)
SendMessage("RemoveStealthMovementRevealModifier",src)
-- function(src)
SendMessage("RemoveUserActionFromSlot",slotIndex)
-- base_player_hotbar.lua: function RemoveUserActionFromSlot(slotIndex)
SendMessage("RepackObject")
-- function()
SendMessage("RequestCombatAbility",abilityName, abTarget, abilityArgs)
-- combat.lua: function HandleUseCombatAbilityRequest(abilityName, abTarget, abilityArgs)
SendMessage("RequestCombatStanceUpdate")
-- combat.lua function HandleCombatStanceUpdate( newStance)
SendMessage("RequestHelp",damager,crimeIndex,guard_caller)
-- ai_super_guard.lua: function(damager,crimeIndex,guard_caller)
-- ai_guard.lua, ai_founders_guard.lua, ai_catacombs_guard.lua:
-- function HandleRequestHelp(attacker,crimeIndex,victim)
SendMessage("RequestMagicalAttack",spellName,spTarg,spellSource,doNotRetarget,damagePvP) -- MArked as "LEGACY"
-- function HandleMagicalAttackRequest(spellName,spTarg,spellSource,doNotRetarget,damagePvP)
SendMessage("RequestResource",requester,user)
-- function(requester,user)
SendMessage("RequestResource",requester,user,objRef,depletionAmount)
-- function(requester,user,objRef,depletionAmount)
SendMessage("RequestResourceResponse",success,user,resourceType,failReason)
-- function(success,user,resourceType,failReason)
SendMessage("RequestSkillGainCheck",skillName, difficulty)
-- base_skill_sys.lua: function HandleRequestSkillGainCheck(skillName, difficulty)
SendMessage("reset")
-- function()
SendMessage("ResetSwingTimer",delay)
-- function(delay)
SendMessage("RESTART_REPAIR_PROCESS",user,station,skill)
-- function(user,station,skill)
SendMessage("RESTART_SALVAGE_PROCESS",user,station,skill)
-- function(user,station,skill)
SendMessage("Resurrect",statPct,resurrector)
-- player.lua: function(...) -- params unused
-- base_mobile: function(statPct,resurrector)
SendMessage("RobberySuccess")
-- function()
SendMessage("sca_backstab_init",specName, attacker, defender)
-- function StartBackstab(specName, attacker, defender)
SendMessage("SellItem",buyer,item)
-- function(buyer,item)
SendMessage("SellItem",buyer,item,amount)
-- base_merchant.lua: function HandleSellItem(buyer,item, amount)
SendMessage("SetActiveQuest",questName)
-- base_quest_sys.lua: function SetActiveQuest(questName)
SendMessage("SetCoins",amounts)
-- function(amounts)
SendMessage("SetFullLevelPct",fullLevelPct)
-- function(fullLevelPct)
SendMessage("SetItemCreationDurabilityMessage",item,durability)
-- function(item,durability)
SendMessage("SetSkillLevel",targMob,skillName,actualNewSkill,isGained)
-- function(targMob,skillName,actualNewSkill,isGained)
SendMessage("SetStackCount",amount)
-- function(amount)
SendMessage("SetTime",hours,minutes)
-- function(hours,minutes)
SendMessage("ShowGroup",groupName)
-- function(groupName)
SendMessage("ShowHint",hintStr)
-- function(hintStr)
SendMessage("ShowMobWindowMessage",targetObj)
-- function(targetObj)
SendMessage("ShowUserCommandWindow")
-- function(args)
-- example: pet:SendMessage("ShowUserCommandWindow" , {["user"] = this})
SendMessage("SitInChair")
-- base_mobile: function HaveMobileSitChair()
SendMessage("SoldSlaveMessage")
-- function()
SendMessage("SpawnAll")
-- function(...)
SendMessage("SpawnDestroyMessage")
-- function()
SendMessage("SpawnimpSpellTargetResult",location)
-- function(location)
SendMessage("SpellFired")
-- function()
SendMessage("SpellHitEffectsp_poison_effect",poisoner)
-- function(poisoner)
SendMessage("SpellHitUserEffectsp_chain_lightning_effect",target)
-- function(target)
SendMessage("SpellHitUserEffectsp_soul_drain_user_effect",target)
-- function(target)
SendMessage("SpikepathSpellTargetResult",targetLoc)
-- function(targetLoc)
SendMessage("Stabled",args)
-- function(args)
SendMessage("StackOnto",otherObj)
-- function(otherObj)
SendMessage("StackSplit",amount,destContainer,destLocation)
-- function(amount,destContainer,destLocation)
SendMessage("StartCookingMessage",cookingArgs)
-- function(cookingArgs)
SendMessage("StartFactionDecay",internalName)
-- function(internalName)
SendMessage("StartPath")
-- ai_PvPCreep.lua: function HandleStartPath(args) -- args unused
SendMessage("StartQuest",questName,startingTask)
-- base_quest_sys.lua: function StartNewQuest(questName,startingTask)
SendMessage("StartRespawnTimer")
-- function()
SendMessage("StartSermon",sender)
-- function(sender)
SendMessage("StartSermon",lengthInSecs)
-- worship_location.lua: function StartSermon(lengthInSecs)
SendMessage("StopSitting",standInstantly)
-- base_mobile: function(standInstantly) = interface to HaveMobileStandChair(standInstantly)
SendMessage("SummoningPet",{ ["pet"] = (gameObj) })
-- function(args)
-- example:
-- mMyOwner:SendMessage("SummoningPet", {["pet"] = this})
SendMessage("SystemMessage",message,type)
-- function(message,type)
SendMessage("TAMED_BY_MESSAGE")
-- function()
SendMessage("TeleportFailEventMessage",user)
-- function(user)
SendMessage("TeleportSpellTargetResult",targetLoc)
-- function(targetLoc)
SendMessage("TitleValueIncrease",actionId)
-- function CheckMoreTitleAchivements(actionId)
SendMessage("TooltipUpdate")
-- function()
SendMessage("traitor_duration_update",time)
-- function(time)
SendMessage("transfer",targetRegion)
-- function(targetRegion)
SendMessage("TriggerWall")
-- function()
SendMessage("TryEatFood",foodToEat)
-- function(foodToEat)
SendMessage("TryHarvest")
-- function(objRef)
SendMessage("Unlock",user,key)
-- container.lua, door.lua:
-- function Unlock(user,key)
SendMessage("UnStabled", {["user"] = gameObj})
-- function(args)
-- petObj:SendMessage("UnStabled", {["user"] = this})
SendMessage("UpdateAvailableSpells",spellList,quiet)
-- base_mobile: function UpdateAvailableSpells(spellList,quiet)
SendMessage("UpdateChatChannels")
-- function()
SendMessage("UpdateClientSkill",skillName,targetUser)
-- function UpdateClientSkill(skillName,targetUser)
SendMessage("UpdateDecay",decayTime)
-- function(decayTime)
SendMessage("UpdateDurabilityTooltip")
-- function()
SendMessage("UpdateGuildMemberInfo")
-- function()
SendMessage("UpdateKeyRingWindow")
-- function()
SendMessage("UpdateMatchingUserActions",updatedActions)
-- base_player_hotbar.lua: function UpdateMatchingUserActions(updatedActions)
SendMessage("UpdateName")
-- player.lua: function UpdateName()
SendMessage("UpdateQuestUI",questName,isTask)
-- function UpdateQuestUI(questName,isTask)
SendMessage("UpdateSkillTracker")
-- base_skill_tracker.lua: function(...) -- parameters unused
SendMessage("UpdateSlayDecay",decayTime)
-- function(decayTime)
SendMessage("UpdateTitle")
-- player.lua: function UpdateTitle()
SendMessage("UpdateTooltip")
-- function ()
-- function (...)
SendMessage("UseObject",user,useCase)
-- function (user)
-- function (user,useCase)
-- function (user,usedType)
-- function (user,useType)
-- function HandleInteract (user,usedType)
-- function HandleUseObject (user,usedType)
-- function HandleUsePotion (user,usedType)
-- function HandleUseTool (user,useType)
SendMessage("UserEndAbilityRequest")
-- function (abName)
-- function EndManaGathering(abilityName)
-- function EndRegenFocus(abilityName)
-- function EndShadowRun(abilityName)
-- function ModuleCleanUp()
-- function TryAdrenalineRush(abilityName)
SendMessage("UserLogin",user)
-- function(user)
SendMessage("UserLogout",user)
-- function(user)
SendMessage("UserPetCommand")
-- function(args)
-- example: this:SendMessage("UserPetCommand",{["cmd"] = mCmd, ["target"] = targ, ["forceAccept"]= true})
SendMessage("UseSkillAbility",abilityName)
-- function(abilityName)
-- function HandleEvaluateCommand(cmdName)
-- function HandleTameCommand(cmdName)
-- function StartAmbienceEffect(abilityName)
-- function TryAdrenalineRush(abilityName)
-- function TryManaGathering(abilityName)
-- function TryRegenFocus(abilityName)
-- function TryRestore(abilityName)
-- function TryShadowRun(abilityName)
SendMessage("VictimKilled",victim)
-- function (victim)
-- function CheckKillTitleAchivements(victim)
-- function HandleVictimKilled(victim)
SendMessage("WakeUp")
-- function()
SendMessage("WalloffireSpellTargetResult",targetLoc)
-- function(targetLoc)
SendMessage("WasEquipped")
-- function(...) -- parameters unused
SendMessage("WasRevealed",mobileObj)
-- function(mobileObj)
SendMessage("WriteNote",contents)
-- function(contents)