SetLineTexture

From Eternity Wiki
Revision as of 14:20, 5 May 2026 by Printz (talk | contribs) (Created page with "{{ACSFunction|description=Changes textures of tagged lines. |usage=''void'' '''SetLineTexture'''(''int tag'', ''int side'', ''int pos'', ''str texture'') |parameters= *''tag'': tag of lines to affect *''side'': which side of tagged lines to affect. Can be '''SIDE_FRONT''' (0) or '''SIDE_BACK''' (1) *''pos'': which part of sides to affect. Can be '''TEXTURE_TOP''' (0), '''TEXTURE_MIDDLE''' (1) or '''TEXTURE_BOTTOM''' (2) *''texture'': name of texture to apply |id=ACS inte...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Changes textures of tagged lines.

Usage[edit]

void SetLineTexture(int tag, int side, int pos, str texture)

Parameters[edit]

  • tag: tag of lines to affect
  • side: which side of tagged lines to affect. Can be SIDE_FRONT (0) or SIDE_BACK (1)
  • pos: which part of sides to affect. Can be TEXTURE_TOP (0), TEXTURE_MIDDLE (1) or TEXTURE_BOTTOM (2)
  • texture: name of texture to apply

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

No particular notes.

This function's identification in zspecial.acs is: ACS internal.

See also[edit]