ScriptEvent:allocBeam

From Mod Wiki

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.