1
0
EQ2Emu/docs/lua_functions/RemovePrimaryEntityCommand.md
2025-05-19 13:13:42 -04:00

496 B
Raw Blame History

Function: RemovePrimaryEntityCommand(Spawn, CommandString)

Description: Removes a previously added primary entity command from the specified spawn entirely. Players will no longer see that option when interacting with the spawn.

Parameters:

Spawn: Spawn  The entity from which to remove the command.

CommandString: String  The name of the command to remove.

Returns: None.

Example:

-- Example usage (Remove hail from command list) RemovePrimaryEntityCommand(QuestNPC, "hail")