Difference between revisions of "ScriptEvent:allocBeam"

From Mod Wiki
 
(No difference)

Latest revision as of 10:55, 5 November 2007

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.