Lua functions

AddQuestPrereqFaction

Registered in this checkout as EQ2Emu_lua_AddQuestPrereqFaction; implementation found at WorldServer/Lua/LuaFunctions.cpp:4474.

Historical signature: AddQuestPrereqFaction(quest, faction_id, min, max)

Parameter and behavior details in the historical explanation are under review against the current implementation.

Function: AddQuestPrereqFaction(quest, faction_id, min, max)

Description: CanReceiveQuest will fail if the Player does not have the faction_id within the min or max values.

Parameters:

  • quest (Quest) - Quest object representing quest.
  • faction_id (uint32) - Integer value faction_id.
  • min (int32) - Integer value min.
  • max (int32) - Integer value max.

Returns: None.

Checked example

No checked example is published for this function yet. No active script call with the current C++ argument count was found.

Current registration: WorldServer/Lua/LuaInterface.cpp. Historical explanation: EQ2Emu Lua documentation.