> For the complete documentation index, see [llms.txt](https://fehdead.gitbook.io/npc-kit/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/showw.md).

# npc.showw

```lua
npc.showw()
```

|                         |                                 |
| ----------------------- | ------------------------------- |
| id                      | `0x0034`                        |
| arguments               | 0                               |
| in NPC Kit              | yes                             |
| measured from a kit NPC | returns                         |
| vanilla scripts         | 338 calls in 77 of 1114 scripts |

## What it does

Shows the NPC's main-hand weapon model, for a model that holds one. It is drawn only while the body is shown.

## Timing

Returns at once.

## In NPC Kit

Only for models bound with a weapon (party and battle models); a town NPC has none.

## Used with

* [hidew](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/hidew.md), [shows](https://fehdead.gitbook.io/npc-kit/vm-reference/calls/shows.md).

## Example

A guard bound to a battle model draws its weapon when the talk starts, and puts it away after.

```lua
local halt = [[
Halt! State your business here in the city now.
Nobody passes this gate without a good reason.
]]

init = function()
    placeNpc(0x00630001, 29.36, -9.0, 68.65, 1.676);   -- a party model: it has a weapon
    npc.hidew();
end,

talk = function()
    npc.showw();
    talkOpen();
    npc.lua(function(handle) say(handle, halt) end);
    talkClose();
    npc.hidew();
end,
```
