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

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


Melee()

Module: AI
SP Only

Summary:

Makes this actor melee attack. Returns the entity hit, if any.


Call this on: <actor> An actor

Example:

 guy Melee();

Required arguments:

none


Optional arguments:

  1. <direction> direction to attack, if not specified, uses direction to current enemy.


Notes:

none