e2 docs hologram - wiremod/wire GitHub Wiki
Hologram
= holoCreate(
Index,
Position,
Scale,
Ang,
Color,
Model)
Index, Position, Scale, Angle, Color (RGB), Model Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang,
Color,
Model)
Index, Position, Scale, Angle, Color (RGBA), Model Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang,
Color)
Index, Position, Scale, Angle, Color (RGB) Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang,
Color)
Index, Position, Scale, Angle, Color (RGBA) Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale,
Ang)
Index, Position, Scale, Angle Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position,
Scale)
Index, Position, Scale Creates a new hologram entity (30 ops)
= holoCreate(
Index,
Position)
Index, Position Creates a new hologram entity (30 ops)
= holoCreate(
Index)
Index Creates a new hologram entity (30 ops)
Index)
holoDelete(Removes a hologram (20 ops)
holoDeleteAll()
Removes all holograms made by this E2 (20 ops)
All)
holoDeleteAll((20 ops)
Index,
Model,
Scale,
Color,
Material)
holoReset(Similar to holoCreate, but reusing the old entity (20 ops)
= holoCanCreate()
Returns 1 when holoCreate() will successfully create a new hologram until the Max limit is reached Replaces holoRemainingSpawns() (2 ops)
= holoRemainingSpawns()
Returns how many holograms can be created this execution (2 ops)
= holoAmount()
(2 ops)
= holoMaxAmount()
(2 ops)
Index,
Scale)
holoScale(Sets the scale of the given hologram, as a multiplier (15 ops)
= holoScale(
Index)
Returns the scale of the given hologram (15 ops)
Index,
Size)
holoScaleUnits(Sets the scale of the given hologram, in source units (15 ops)
= holoScaleUnits(
Index)
Returns the scale of the given hologram in source units (15 ops)
Index,
Boneindex,
Scale)
holoBoneScale(Sets the scale of the given hologram bone, as a multiplier (15 ops)
Index,
Bone,
Scale)
holoBoneScale(Sets the scale of the given hologram named bone, as a multiplier (15 ops)
= holoBoneScale(
Index,
Boneindex)
Returns the scale of the given hologram bone (15 ops)
= holoBoneScale(
Index,
Bone)
Returns the scale of the given hologram named bone (15 ops)
= holoClipsAvailable()
Returns the maximum number of clipping planes allowed per hologram (1 ops)
Index,
Enabled)
holoClipEnabled(Enables / disables clipping for a hologram with specified index (15 ops)
Index,
Clipidx,
Enabled)
holoClipEnabled(Enables / disables clipping for a hologram with specified index. Clip index is for use with multiple clipping planes (15 ops)
Index,
Origin,
Normal,
Isglobal)
holoClip(Defines a plane used to clip a hologram specified by it's position, direction and number 1/0 whether the position should be global or local to the hologram (15 ops)
Index,
Clipidx,
Origin,
Normal,
Isglobal)
holoClip(Defines a plane used to clip a hologram specified by it's index, position, direction and number 1/0 whether the position should be global or local to the hologram (15 ops)
Index,
Origin,
Normal,
Localent)
holoClip(Defines a plane used to clip a hologram specified by it's position, and direction local to the given entity (15 ops)
Index,
Clipidx,
Origin,
Normal,
Localent)
holoClip(Defines a plane used to clip a hologram specified by it's index, position, and direction local to the given entity (15 ops)
Index,
Position)
holoPos(Sets the position of the hologram (15 ops)
Index,
Ang)
holoAng(Sets the angle of the hologram (15 ops)
Index,
Color)
holoColor(Sets the color of the hologram (15 ops)
Index,
Color)
holoColor(Sets the color and alpha of the hologram (15 ops)
Index,
Color,
Alpha)
holoColor(Sets the color and alpha of the hologram (15 ops)
Index,
Alpha)
holoAlpha(Sets the transparency (0-255) of the hologram (15 ops)
Index,
Has_shadow)
holoShadow(Enables the hologram's shadow (10 ops)
Index,
Disable)
holoDisableShading(If 1, supresses engine lighting when drawing this hologram (10 ops)
= holoModelList()
Returns the list of valid models See holoModelAny() (10 ops)
= holoModelAny()
Returns 1 if models outside of holoModelList can be used. Reads convar 'wire_holograms_modelany' (1 ops)
Index,
Model)
holoModel(Sets the model. Must be from holoModelList unless wire_holograms_modelany is 1 (see holoModelAny()) (10 ops)
Index,
Model,
Skin)
holoModel(Sets the model and skin. Must be from holoModelList unless wire_holograms_modelany is 1 (see holoModelAny()) (10 ops)
Index,
Skin)
holoSkin(Changes the skin of a hologram (10 ops)
Index,
Material)
holoMaterial(Sets the overlay material of the hologram (10 ops)
Index,
Color)
holoPlayerColor(Sets the sub-color of a hologram with player model such as clothes or physgun (10 ops)
Index,
Effect)
holoRenderFX(Changes the RenderFX for a hologram (10 ops)
Index,
Bgrp_id,
Bgrp_subid)
holoBodygroup(Index, Group ID, Group SubID Sets the bodygroups of the given hologram (10 ops)
= holoBodygroups(
Index,
Bgrp_id)
Index, Group ID Returns the number of bodygroups in the Group ID of the given hologram (10 ops)
Index,
Ply,
Visible)
holoVisible(If 0, prevents a specific player from seeing the hologram (10 ops)
Index,
Players,
Visible)
holoVisible(If 0, prevents an array of players from seeing the hologram (10 ops)
Index,
Otherindex)
holoParent(Parents the hologram to another hologram (40 ops)
Index,
Ent)
holoParent(Parents the hologram to an entity (40 ops)
Index,
Ent,
Attachmentname)
holoParentAttachment(Parents the hologram to an entity's bone by its attachment name (40 ops)
Index)
holoUnparent(Un-parents the hologram (40 ops)
= holoEntity(
Index)
Returns the entity corresponding to the hologram given by the specified index (2 ops)
= holoIndex(
Ent)
Returns the index of the given hologram entity (30 ops)