ScriptEvent:allocBeam

From Mod Wiki
Revision as of 10:55, 5 November 2007 by Wizz (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Parameters

string material -- Name of the material to use.

Result

integer

Supported By

idEntity

Comments

  • Beam handles are only valid for the entity they were created using.
  • Use updateBeam to position the beam, and freeBeam to remove it.

Functionality

Allocates a beam model using the specified material and returns a handle to it.