1
0
EQ2Emu/docs/lua_functions/RemovePrimaryEntityCommand.md

17 lines
525 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

### 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:**
```lua
-- Example usage (Remove hail from command list)
RemovePrimaryEntityCommand(QuestNPC, "hail")
```