AnimActionCloseRandomDoor

From NWN Lexicon
Jump to navigationJump to search

Causes an NPC to close a nearby open door.

int AnimActionCloseRandomDoor();

Description

If there's an open door nearby, the NPC will walk over to it, close it, then return to their previous spot. Returns TRUE on success, FALSE on failure.

Requirements

#include "x0_i0_anims"

Version

1.61

See Also



 author: Charles Feduke