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

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


SetNodePriorityBias(<bias>)

Module: AI
SP Only

Summary:

Set the bias that is applied to priority nodes.


Call this on:

Example:

setnodeprioritybias(0.3);

Required arguments:

  1. <bias> (float) A value between 0 and 1. This value is the bias applied to priority nodes.


Optional arguments:

none


Notes:

none