• 🏆 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!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Creating an image

Status
Not open for further replies.
Level 2
Joined
Dec 23, 2007
Messages
23
Is there any way for me to create an image on top of the ground using an icon or somthing? I'm having trouble.
 
Level 6
Joined
Dec 5, 2007
Messages
184
yes, there is one

search for 'Create' in the action list, my world editor is german, but it inglish it's something like 'Image - Create an image using <your icon's path> of size 256.00 at (Center of (Playable map area)) with Z offset 0.00 using image type Indicator'
 
Level 2
Joined
Dec 23, 2007
Messages
23
  • Untitled Trigger 001
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Image - Create an image using ReplaceableTextures\CommandButtons\BTNAttack.blp of size 256.00 at (Center of (Playable map area)) with Z offset 0.00 using image type Indicator
      • Wait 2.00 seconds
      • Image - Show (Last created image)
 

Rui

Rui

Level 41
Joined
Jan 7, 2005
Messages
7,550
That trigger leaks a point by the way. Create a Point variable.
[TRIGGER=Fix it this way]
Set YourTempPointVariable = Center of (Playable map area)
Image - Create an image using ReplaceableTextures\CommandButtons\BTNAttack.blp of size 256.00 at YourTempPointVariable with Z offset 0.00 using image type Indicator
Custom script: call RemoveLocation(udg_YourTempPointVariable)
[/TRIGGER]

The custom script must have capitals typed carefully, and udg_VariableName inside the parenthesis.
 
Status
Not open for further replies.
Top