• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

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