• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

CreateImage

Status
Not open for further replies.
Level 8
Joined
Sep 7, 2008
Messages
320
JASS:
function CreateImageEx takes string S, real SizeX, real SizeY, real PosX, real PosY, real PosZ, boolean Show returns image
  local image i = CreateImage(S, SizeX, SizeY, 0, PosX - (SizeX / 2), PosY - (SizeY / 2), PosZ, 0, 0, 0, 2) // image type indicator
  call SetImageRenderAlways(i, true)
  call ShowImage(i, Show)
  return i
endfunction

Im using this function to create image but it crate ugly border too :eekani: Any1 can help me to fix this :goblin_sleep: THx

attachment.php
 

Attachments

  • Untitled.jpg
    Untitled.jpg
    128.1 KB · Views: 366
Status
Not open for further replies.
Top