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

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Revision as of 23:55, 30 July 2009 by CoDEmanX (talk | contribs) (New page: {{Function |Version=4 |Name=Melee() |Module=AI |Available=SP Only |Summary=Makes this actor melee attack. Returns the entity hit, if any. |Call_on=<actor> An actor |Example=<pre> guy...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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