Lua functions

AddQuestPrereqRace

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

Historical signature: AddQuestPrereqRace(quest, race)

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

Function: AddQuestPrereqRace(quest, race)

Description: CanReceiveQuest requires the Player to be of a specific race ID.

Parameters:

  • quest (Quest) - Quest object representing quest.
  • race (int32) - Integer value race.

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.