Call of Duty 4: Scripting Reference - Client::ClonePlayer

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


ClonePlayer( <deathAnimationDuration> )

Module: Client
MP Only

Summary:

clone the player's model for death animations.


Call this on: A Client

Example:

body = self ClonePlayer(deathAnimDuration);

Required arguments:

  1. <death animation duration> the duration of the death animation


Optional arguments:

none


Notes:

none