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

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


SetFriendlyChain(<node>)

Module: AI
SP Only

Summary:

Sets the friendly chain for the player.


Call this on: <player>

Example:

 level.player setfriendlychain (getnode ("trench_chain","targetname"));

Required arguments:

  1. <node> a node on a friendly chain


Optional arguments:

none


Notes:

none