Lua functions

AddQuestPrereqModelType

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

Historical signature: AddQuestPrereqModelType(quest, model_type)

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

Function: AddQuestPrereqModelType(quest, model_type)

Description: CanReceiveQuest checks if the Player is the model_type defined.

Parameters:

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

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.