Call of Duty 4: Scripting Reference - AI::UseCoverNode

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


UseCoverNode( <path node> )

Module: AI
SP Only

Summary:

Tells this actor to use the given cover node. This is invalid if the actor's keepclaimednode flag is set. Returns true or false depending on whether the actor can claim the node.


Call this on: <actor> An actor

Example:

 guy UseCoverNode( covernode );

Required arguments:

  1. <path node> The path node to use as cover


Optional arguments:

none


Notes:

none