18 lines
294 B
Markdown
18 lines
294 B
Markdown
### Function: Attack(NPC, Target)
|
|
|
|
**Description:**
|
|
NPC will attack its target (NPC/Player/Bot).
|
|
|
|
**Parameters:**
|
|
- `NPC`: Spawn - The spawn or entity involved.
|
|
- `Target`: Spawn - The spawn or entity involved.
|
|
|
|
**Returns:** None.
|
|
|
|
**Example:**
|
|
|
|
```lua
|
|
-- Example usage
|
|
Attack(NPC, Target)
|
|
```
|