AnimActionCloseRandomDoor()

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 an 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

categories: Animation Functions


 author: Charles Feduke