Call of Duty 4: Scripting Reference - AI::Melee
From COD Modding & Mapping Wiki
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:
- <direction> direction to attack, if not specified, uses direction to current enemy.
Notes:
- none