• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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